<?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>15506</bug_id>
          
          <creation_ts>2012-01-10 19:17:37 +0000</creation_ts>
          <short_desc>Check that SVG and CSS have the same unit types</short_desc>
          <delta_ts>2012-02-21 04:19:58 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>SVG</product>
          <component>Units</component>
          <version>SVG 1.1 Full</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Recommendation</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dirk Schulze">dschulze</reporter>
          <assigned_to name="Doug Schepers">schepers</assigned_to>
          <cc>ayg</cc>
    
    <cc>cmarrin</cc>
    
    <cc>dino</cc>
    
    <cc>eoconnor</cc>
          
          <qa_contact name="SVG Public List">www-svg</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>62511</commentid>
    <comment_count>0</comment_count>
    <who name="Dirk Schulze">dschulze</who>
    <bug_when>2012-01-10 19:17:37 +0000</bug_when>
    <thetext>It needs to be checked if CSS and SVG share the same unit types for &lt;length&gt; and &lt;angle&gt;. This is important for the transform primitives. 

The units are not necessarily the same at the moment. Just as a comparison for

&lt;angle&gt;:
CSS: ‘deg’, ‘grad’, ‘rad’, ‘turn’
SVG: &apos;deg&apos;, &apos;grad&apos;, &apos;rad&apos;

&lt;length&gt;:
CSS: ‘em’, ‘ex’, ‘ch’, ‘rem’, ‘vw’, ‘vh’, ‘vm’, ‘cm’, ‘mm’, ‘in’, ‘pt’, ‘pc’, ‘px’
SVG: &apos;number&apos;, &apos;%&apos;, &apos;em&apos;, &apos;ex&apos;, &apos;px&apos;, &apos;cm&apos;, &apos;mm&apos;, &apos;in&apos;, &apos;pt&apos;, &apos;pc&apos; (&apos;%&apos; just for presentation attributes)

See also:
http://www.w3.org/TR/css3-values/#lengths
http://www.w3.org/TR/css3-values/#angles
http://www.w3.org/TR/SVG/types.html#syntax</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64346</commentid>
    <comment_count>1</comment_count>
    <who name="Dirk Schulze">dschulze</who>
    <bug_when>2012-02-21 04:19:58 +0000</bug_when>
    <thetext>CSS3 Transforms always relies on &quot;CSS3 Values and Units&quot; with the exception of &lt;number&gt; on SVG elements. SVG Transforms don&apos;t have units anyway.  Therefore it is not an issue that we need to solve in CSS3 Transforms. The SVG WG should take a look at it. Moving the bug to SVG.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>