No subject


Sun Dec 8 17:39:16 PST 2013


To serialize the <basic-shape> functions, serialize as per their individual grammars, in the order the grammars are written in, avoiding calc() expressions where possible, avoiding calc() transformations, omitting components when possible without changing the meaning, joining space-separated tokens with a single space, and following each serialized comma with a single space.

The attached tests has 2 examples of inset() serialization:

----------------------------
value:  inset(10px)  
actual: inset(10px 10px 10px 10px)
expected: inset(10px) 
-----------------------------
value: inset(10px round 20px) 
actual: inset(10px 10px 10px 10px round 20px 20px 20px 20px / 20px 20px 20px 20px)
expected: inset(10px round 20px) 
-----------------------------

Note: This uses testharness.js and the relative path in the test assumes the test is run from LayoutTests/fast/shapes/parsing

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