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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>118625</bug_id>
          
          <creation_ts>2013-07-12 16:32:18 -0700</creation_ts>
          <short_desc>[CSS Shapes] zero-dimension shapes should be valid</short_desc>
          <delta_ts>2014-02-24 11:11:50 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>98664</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alan Stearns">stearns</reporter>
          <assigned_to name="Bear Travis">betravis</assigned_to>
          <cc>bjonesbe</cc>
    
    <cc>dino</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zoltan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>908094</commentid>
    <comment_count>0</comment_count>
    <who name="Alan Stearns">stearns</who>
    <bug_when>2013-07-12 16:32:18 -0700</bug_when>
    <thetext>Currently, it appears that zero-dimension shapes used in shape-outside and clip-path are deemed invalid and not used. Try a rectangle(0,0,0px,0px) as either a shape-outside or clip-path to see that the float area and clip area remain unchanged.

The spec says that negative lengths are invalid, which means that zero should be OK. It should be useful to be able to use a zero-extent clip area in an irising transition.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>974374</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2014-01-31 11:07:09 -0800</bug_when>
    <thetext>&lt;rdar://problem/15958620&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>983957</commentid>
    <comment_count>2</comment_count>
    <who name="Bem Jones-Bey">bjonesbe</who>
    <bug_when>2014-02-24 11:11:50 -0800</bug_when>
    <thetext>As far as I can tell, this has already been fixed. rectangle() is slated for removal, but your example works just fine in the latest nightly. I also tried: circle(0), ellipse(0), and polygon(0 0), all of which properly gave a zero extent shape.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>