- From: Alan Stearns <stearns@adobe.com>
- Date: Wed, 22 Jul 2015 19:58:59 +0000
- To: Tom Potts <karaken12@gmail.com>, CSS WG <www-style@w3.org>
On 7/22/15, 7:08 AM, "Tom Potts" <karaken12@gmail.com> wrote: >I've updated the >example <http://codepen.io/karaken12/pen/gpdwKO?editors=110> to actually >use the shape specification and show the browser's behaviour. On Windows >7 Chrome (v43.0.2357.134) it doesn't do what I would expect it to: it >basically ignores the fill-rule setting. That’s intended. The polygon in Case 3 has an internal void, but the contours still include all of the right edge. Fill-rule doesn’t have any effect on shape-outside. It’s included for shape-inside and clip-path, where internal voids are relevant. I could add a note to the draft mentioning this. Thanks, Alan > > >Thanks, >Tom > > >On 21 July 2015 at 12:00, Tom Potts <karaken12@gmail.com> wrote: > >Reading the spec I couldn't see what the consequence of specifying a >fill-rule would be. For example, what is the expected behaviour of a >left-float with a declaration of > >shape-outside: polygon(0px 150px,100px 150px,100px 50px,50px 50px,50px >100px,100px 100px,100px 0px,0px 0px); > > > >with fill-rules of nonzero or evenodd? (See SVG of this here: >http://codepen.io/karaken12/pen/gpdwKO?editors=100 ><http://codepen.io/karaken12/pen/gpdwKO?editors=100>) > > >I would expect Case 3 to behave the same as Case 1, but I don't think >this is specified. If I've misunderstood and this is already defined then >perhaps it could be called out as an example? > > >Cheers, >Tom > > > > > > >
Received on Wednesday, 22 July 2015 19:59:32 UTC