<?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>16448</bug_id>
          
          <creation_ts>2012-03-20 15:26:37 +0000</creation_ts>
          <short_desc>Should we revisit the decision to not allow SVG path syntax in the shape-inside, shape-outside properties</short_desc>
          <delta_ts>2015-08-27 09:35:37 +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>Shapes</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Vincent Hardy">vhardy</reporter>
          <assigned_to name="Alan Stearns">stearns</assigned_to>
          <cc>dschulze</cc>
    
    <cc>eoconnor</cc>
    
    <cc>ratan</cc>
    
    <cc>stearns</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65838</commentid>
    <comment_count>0</comment_count>
    <who name="Vincent Hardy">vhardy</who>
    <bug_when>2012-03-20 15:26:37 +0000</bug_when>
    <thetext>Support for the SVG path syntax was recently added to the Canvas API:

http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#path-objects

Having a path construct as short-hand would be consistent technically because the properties already allow other shapes. The argument that was made in the past is that while it is quite expected people would hand-code basic shapes in their CSS, and it made sense to provide a syntax for that (instead of also requiring pointing to an SVG element), people do not expect most people to hand code SVG path data. So the idea is that SVG path data would anyway be authored by a tool. The other argument is that most SVG shapes are significantly longer and more verbose than the basic shapes and that justifies a different treatment.

The new data point we have compared to when we had the discussion is that the HTML5 canvas, when faced with a similar dilemma, decided to support the path syntax right there, and that is not consistent with the decision we made on a similar issue.

The proposal is to add a new primitive such as:

shape-inside: path(d);

where d would follow the SVG path syntax.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>87812</commentid>
    <comment_count>1</comment_count>
    <who name="Alan Stearns">stearns</who>
    <bug_when>2013-05-17 17:20:09 +0000</bug_when>
    <thetext>This could be added in a later CSS Shapes module level. I&apos;ve added it to the list of future features here:

http://wiki.csswg.org/spec/css-shapes</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>122789</commentid>
    <comment_count>2</comment_count>
    <who name="Alan Stearns">stearns</who>
    <bug_when>2015-08-27 09:35:37 +0000</bug_when>
    <thetext>added to level 2 diff spec https://hg.csswg.org/drafts/rev/b766fa9c039f</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>