[Webkit-unassigned] [Bug 64578] translate values without units don't work

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 18 11:00:07 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=64578





--- Comment #4 from Kulanthaivel Palanichamy <kulanthaivel at codeaurora.org>  2011-08-18 11:00:07 PST ---
The given test fails because of missing unit identifier (px) in '-webkit-transform: translate(100, 100);' property.

FF and Opera have no problem in assuming 'px' in case of missing unit identifier in transform property.

The CSS3 spec http://www.w3.org/TR/css3-2d-transforms/#transform-values says
<translation-value> is defined as a <length> or <percentage> value, and the <angle> type is defined by CSS Values and Units.

and in http://www.w3.org/TR/css3-values/#lengths

The format of a length value (denoted by <length>) is a <number> immediately followed by a unit identifier (e.g., 'px', 'gd'). After the '0' length, the unit identifier is optional. 

There is no default assumption specified in case of missing unit identifier in the spec.

I think WebKit follows the spec correctly but FF and Opera are not.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list