Closed Bug 125303 Opened 23 years ago Closed 23 years ago

"font-size: 20 px" doesn't work (whitespace before unit)

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: rbs, Assigned: dbaron)

References

Details

Attachments

(1 file)

217 bytes, text/html
Details
Did a quick search in bugzilla and the CSS spec, but couldn't figure out a 
definitive answer. Currently Mozilla doesn't support numeric values in which 
whitespace preceds the unit. Is it the expected/recommended behavior? Please 
mark the bug invalid if so.
Attached file testcase
IE6: passed
Opera5: failed
Invalid.  Not many web pages depend on this (and I think IE for Windows may be
the only browser that accepts it) and it's a good bit more complicated to parse,
especially with shorthands that can take variable numbers of values and perhaps
keywords as well, and also with properties that can take unitless numbers.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
It is invalid per CSS, look at the grammar appendix.
Status: RESOLVED → VERIFIED
*** Bug 342667 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: