On 1/15/14, 4:34 PM, "Alan Stearns" <stearns@adobe.com> wrote: > > >On 1/15/14, 3:26 PM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote: >> >>Gosh, actually writing these out the serialization rules in full is >>more complicated than I thought. How about this: 1. Start with the two components from the computed value as (percentage, length), (percentage, length) 2. Replace 0%/50%/100% percentages with their keywords 3. If a length is zero, omit this offset 4. If either component still consists of (percentage, length) convert those components to calc(percentage + length) 5. If either component consists of (top, length) or (left, length) omit top and/or left 6. If one component consists of (center) and the other contains a keyword, omit one (center) component 7. Write out the values that remain as a space-separated listReceived on Thursday, 16 January 2014 01:00:55 UTC
This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:36 UTC