[css3-flexbox] clarify the syntax ambiguity around unitless zero in 'flex' shorthand

The current draft treats this paragraph as informative note:

  # If not omitted, a zero <'flex-basis'> component must be either
  # specified with a unit or preceded by both flex ratios. Otherwise it
  # will either be interpreted as one of the flex ratios, or will make
  # the declaration invalid.

. The way I read a spec is that I usually ignore these non-normative
statements and therefore the spec looks like it doesn't talk about how
ambiguous syntax like 'flex: 0 1 0;' is resolved. I suggest the spec say
something like

  | The user agent must parse the first unitless zero as a
  | <'flex-grow'>.

Otherwise, you can make that paragraph normative but that paragraph
itself doesn't read very spec-ish to me...


Cheers,
Kenny
-- 
Web Specialist, Oupeng Browser, Beijing
Try Oupeng: http://www.oupeng.com/

Received on Tuesday, 11 September 2012 08:00:25 UTC