Search and Top Navigation
#4351 closed bug (fixed)
Opened March 16, 2009 08:10PM UTC
Closed July 21, 2009 03:15AM UTC
CSS units for zero
Reported by: | ramaboo | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | 1.8 |
Component: | ui.css-framework | Version: | 1.7 |
Keywords: | zero left | Cc: | |
Blocked by: | Blocking: |
Description
In the file jquery-ui-1.7.custom.css there are several cases where you have 0px shoulden't it just be 0? Isn't zero always just zero in CSS?
Lines 285 to 290ish.
Attachments (0)
Change History (4)
Changed March 16, 2009 11:02PM UTC by comment:1
milestone: | 1.7.1 → 1.8 |
---|
Changed March 17, 2009 10:24AM UTC by comment:2
I agree, 0 does not need a unit, but it may be due to how the CSS is generated.
Changed June 19, 2009 08:41AM UTC by comment:3
From http://www.w3.org/TR/CSS2/syndata.html
"The format of a length value (denoted by <length> in this specification) is a <number> (with or without a decimal point) immediately followed by a unit identifier (e.g., px, em, etc.). After a zero length, the unit identifier is optional. "
Changed July 21, 2009 03:15AM UTC by comment:4
resolution: | → fixed |
---|---|
status: | new → closed |
I believe this was only in the resizable functional CSS. Fixed in r2951.