Created attachment 38727 [details]
Page showing bug
The CSS spec (http://www.w3.org/TR/CSS21/syndata.html#value-def-length) says "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.)". In WebKit, if the <length> has a decimal point, anything following it before the unit is ignored.
This behaviour is consistent with Internet Explorer but not with Firefox or the CSS spec.
This looks closely related to bug 18978.
*** Bug 18978 has been marked as a duplicate of this bug. ***
As noted in the metadata, the bug is blocked on sub-pixel layout support:
Confirmed in WebKit Nightly r107164.
This has been fixed by subpixel layout and works as expected on ports that enable the SUBPIXEL_LAYOUT flag. Marking as fixed.
Bug 85532 tracks the ports that have turned on the flag.