Closed
Bug 332124
Opened 18 years ago
Closed 10 years ago
text-decoration: underline doesn't in form buttons display unless form button is floated
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: sgarrity, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
1.13 KB,
text/html
|
Details |
Using Firefox 1.5.0.1, it seems that the style "text-decoration: underline;" is only respected on a form input if that form input is also floated. Other styles work fine (font style/size, color, etc.). Here's a test case (I'll attached it as well) http://actsofvolition.com/images/screenshots/firefox/testcase1.html The underline *does* display regardless of float status if there is no DOCTYPE speficied.
Reporter | ||
Comment 1•18 years ago
|
||
Comment 2•18 years ago
|
||
See bug 219516
There's code somewhere (search for the string PaintTextDecoration as a substring of the function name) that makes distinctions between blocks and inlines for how text-decoration is handled. That's probably what the issue here is, since floats are blocks.
Assignee: dbaron → nobody
QA Contact: ian → style-system
Flags: blocking1.9? → blocking1.9-
I agree this does look basically like https://bugzilla.mozilla.org/show_bug.cgi?id=219516 There is a old discussion there wether it is really a bug as per the CSS2 specifications. https://bugzilla.mozilla.org/show_bug.cgi?id=444795 was trying to escape that discussion for the <button> element only. It's not a duplicate, it's a particularisation. *-pike
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•