[Bug 28000] New: Use UA style instead of prose to handle the exception of transform-origin for SVG

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

            Bug ID: 28000
           Summary: Use UA style instead of prose to handle the exception
                    of transform-origin for SVG
           Product: CSS
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Transforms
          Assignee: smfr@me.com
          Reporter: dschulze@adobe.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

Use UA style instead of prose to handle the exception of transform-origin for
SVG.

Firefox:
/* Set |transform-origin:0% 0%;| for all SVG elements except outer-<svg>,
   noting that 'svg' as a child of 'foreignObject' counts as outer-<svg>.
*/
*:not(svg),
*:not(foreignObject) > svg {
  transform-origin:0 0;
}


WebKit/Blink:
/* CSS transform specification: "transform-origin 0 0 for SVG elements without
associated CSS layout box, 50% 50% for all other elements". */

* {
    -webkit-transform-origin: 0 0;
}

html|* > svg {
    -webkit-transform-origin: 50% 50%;
}

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

Received on Thursday, 12 February 2015 05:30:18 UTC