Closed
Bug 256653
Opened 20 years ago
Closed 20 years ago
When doctype is implicitly specified, a button in a form can't get underline style
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 219516
People
(Reporter: koko, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040803 If <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> is specified in the beginning of the html document and if you try to assign underline style to a button in a form, the text do not appears underlined: <input type="button" style="text-decoration: underline;" name="alabala" value=""> did not work, neiter "! important" to the style. If the doctype declaration is ommited, everything goes fine. Reproducible: Always Steps to Reproduce: 1.Make a new html document, beginning with <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2.Put a form in it. 3.Put a button in the form. 4.Attach a stile to it: text-decoration: underline; Actual Results: The button text did not appears underlined. Expected Results: The button text should be underlined
Comment 1•20 years ago
|
||
*** This bug has been marked as a duplicate of 219516 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•