<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>28385</bug_id>
          
          <creation_ts>2015-03-31 17:40:16 +0000</creation_ts>
          <short_desc>Follow current SVG behavior for transforms interaction with object bounding box units</short_desc>
          <delta_ts>2017-01-13 18:15:27 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>Transforms</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Amelia Bellamy-Royds">amelia.bellamy.royds</reporter>
          <assigned_to name="Simon Fraser">smfr</assigned_to>
          <cc>ayg</cc>
    
    <cc>cmarrin</cc>
    
    <cc>dino</cc>
    
    <cc>dschulze</cc>
    
    <cc>eoconnor</cc>
    
    <cc>smfr</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>119158</commentid>
    <comment_count>0</comment_count>
    <who name="Amelia Bellamy-Royds">amelia.bellamy.royds</who>
    <bug_when>2015-03-31 17:40:16 +0000</bug_when>
    <thetext>In the CSS transforms module, the section &quot;User Coordinate space&quot; has the following statement:

&gt; In particular the patternUnits, gradientUnits and maskUnits 
&gt; attributes don’t affect the user coordinate system used for
&gt; transformations [SVG11].

Links:
- last published working draft http://www.w3.org/TR/2013/WD-css-transforms-1-20131126/#svg-user-coordinate-space
- current editor&apos;s draft http://dev.w3.org/csswg/css-transforms-1/#svg-user-coordinate-space

Although the draft spec references SVG 1.1, this would be a *breaking change* from current SVG behavior.  The SVG definition used for gradientTransform and patternTransform is as follows:

&gt; This additional transformation matrix is post-multiplied to 
&gt; (i.e., inserted to the right of) any previously defined 
&gt; transformations, including the implicit transformation necessary 
&gt; to convert from object bounding box units to user space.

Links:
- http://www.w3.org/TR/SVG11/pservers.html#LinearGradientElementGradientTransformAttribute
- http://www.w3.org/TR/SVG11/pservers.html#PatternElementPatternTransformAttribute

Unless there is an overwhelming reason to change this, I would recommend that the CSS transforms text be updated to state the transformation applies in the user coordinate system in effect for the element&apos;s contents, including any implicit transformations created by patternUnits, gradientUnits, or maskUnits.

( This text is a duplicate of a note sent to the email list: https://lists.w3.org/Archives/Public/public-fx/2015JanMar/0136.html )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128386</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser">smfr</who>
    <bug_when>2017-01-13 18:15:27 +0000</bug_when>
    <thetext>https://github.com/w3c/csswg-drafts/issues/922</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>