[Webkit-unassigned] [Bug 70026] Make CSS webkit-transform parser accept unit-less value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 8 12:56:35 PST 2011


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





--- Comment #1 from Raul Hudea <rhudea at adobe.com>  2011-12-08 12:56:35 PST ---
Created an attachment (id=118455)
 --> (https://bugs.webkit.org/attachment.cgi?id=118455&action=review)
Initial patch to gather some feedback

This initial patch allows the CSS parser to handle SVG transform syntax, which is different from the CSS ones. Here are some differences:
- SVG uses unit-less values defaulting to certain units: translate(10, 10)
- arguments can be separated by space: translate(10 10)
- functions can be separated by comma:  rotate(10), translate(10, 10)
- function name can be separated by white-spaces from the open parenthesis: translate (10 10)
- rotate can have 3 arguments

Also, CSS implementation uses doubles to keep the values (SVG uses floats), leading to one SVG test failing due to rounding: (difference for calculating the bounding box for scaling at 0.01 a 100px rect)

-- 
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