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)

1.8 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: sgarrity, Unassigned)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

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.
Attached file Test Case
Keywords: testcase
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.
This does look basically like bug 219516.
Depends on: 219516
Assignee: dbaron → nobody
QA Contact: ian → style-system
Can you fix it in firefox3?
Flags: blocking1.9?
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
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.

Attachment

General

Created:
Updated:
Size: