W3C home > Mailing lists > Public > public-css-bugzilla@w3.org > April 2012

[Bug 16705] New: transform-origin with just one argument 'top' or 'bottom' not well defined

From: <bugzilla@jessica.w3.org>
Date: Thu, 12 Apr 2012 00:53:46 +0000
To: public-css-bugzilla@w3.org
Message-ID: <bug-16705-5148@http.www.w3.org/Bugs/Public/>

           Summary: transform-origin with just one argument 'top' or
                    'bottom' not well defined
           Product: CSS
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Transforms
        AssignedTo: smfr@me.com
        ReportedBy: dschulze@adobe.com
         QAContact: public-css-bugzilla@w3.org
                CC: ayg@aryeh.name, cmarrin@apple.com, eoconnor@apple.com,
                    smfr@me.com, dino@apple.com, dschulze@adobe.com

It is possible to just use one argument for transform-origin that is either
'top' or 'bottom'. But this is partly in conflict with the following wording: 

If only one value is specified, the second value is assumed to be ‘center’. If
one or two values are specified, the third value is assumed to be ‘0px’.

If at least one of the first two values is not a keyword, then the first value
represents the horizontal position (or offset) and the second represents the
vertical position (or offset). The third value always represents the Z position
(or offset).

This implies that 'transform-origin: top' Is as if 'top center' was specified.
Actually all browsers interact as if 'center top' was specified (which makes
more sense). Maybe the second paragraph could clarify it a bit more.

Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 12 April 2012 00:53:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:36:39 UTC