[Bug 26588] New: transform-origin: value definition and description is inconsistent

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26588

            Bug ID: 26588
           Summary: transform-origin: value definition and description is
                    inconsistent
           Product: CSS
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Transforms
          Assignee: smfr@me.com
          Reporter: alexander.zolotov@jetbrains.com
        QA Contact: public-css-bugzilla@w3.org
                CC: ayg@aryeh.name, cmarrin@apple.com, dino@apple.com,
                    dschulze@adobe.com, eoconnor@apple.com, smfr@me.com

There is third part of value definition:
 [ center | [ left | right ] ] && [ center | [ top | bottom ] ] <length>?

According to Css Values and Unit Module
(http://dev.w3.org/csswg/css-values/#component-combinators) it should be
interpreted as

 [ center | [ left | right ] ] && [ [ center | [ top | bottom ] ] <length>? ]

Because 'Juxtaposition is stronger than the double ampersand'. It means that
value 'left top 20cm' is valid. Since '&&' is re-orderable combinator the 'top
20cm left' value is valid too.

But the description tells us that 'a third value always represents the Z
position (or offset) and must be of type <length>' so 'top 20cm left' can't be
valid.

Please fix the description or add extra brackets in value definition like in
following example:

 [ [ center | [ left | right ] ] && [ [ center | [ top | bottom ] ] ] <length>? 

Also it seems that brackets in '[left | right]' and '[top | bottom]' groups are
redundant.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 15 August 2014 15:25:45 UTC