Bug 1246764 Comment 24 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

(In reply to Estelle Weyl from comment #23)
> The shape-outside property was not updated:
> https://developer.mozilla.org/en-US/docs/Web/CSS/shape-outside
> Note: path() is not yet supported as a value for shape-outside.

Yes. We don't support this for now. Thanks.

> 
> The offset-path property
> https://developer.mozilla.org/en-US/docs/Web/CSS/offset-path was updated,
> with a move of path() from function to basic shape and the syntax box has
> been changed to reflect that. I do not see a bug for this.
> https://bugzilla.mozilla.org/show_bug.cgi?id=shape-outside is the closest
> thing I could find.

Actually, the syntax of path() in offset-path is a little bit different from the syntax of path() in basic-shapes-2. In other words, |offset-path:path()| doesn't have the <fill-rule>. Maybe the spec will be updated in the future. For now, probably we should not move the path() into basic-shape for offset-path property. (However, it's fine to keep the update if you want because |offset-path:path()| is just a simplified variant of path() in basic-shapes2. Either way is ok to me.)
BTW, after implementing offset-distance, we will see the correct Live Result. :) 

> 
> CSS 'd' property for SVG
> https://codepen.io/estelle/pen/YOvMpN
> works in Chrome but not FF. The d property doesn't seem to be documented
> anywhere on MDN (or anywhere at all?). Another example:
> https://codepen.io/chriscoyier/pen/NRwANp. Is this under consideration?

It seems this is a bug in Firefox because d property is defined in SVG2, and looks like we haven't implemented it, I think.
I didn't update this part, and maybe we should fix this later.

Thanks for updating this. :)
(In reply to Estelle Weyl from comment #23)
> The shape-outside property was not updated:
> https://developer.mozilla.org/en-US/docs/Web/CSS/shape-outside
> Note: path() is not yet supported as a value for shape-outside.

We don't support this for now. Thanks.

> 
> The offset-path property
> https://developer.mozilla.org/en-US/docs/Web/CSS/offset-path was updated,
> with a move of path() from function to basic shape and the syntax box has
> been changed to reflect that. I do not see a bug for this.
> https://bugzilla.mozilla.org/show_bug.cgi?id=shape-outside is the closest
> thing I could find.

Actually, the syntax of path() in offset-path is a little bit different from the syntax of path() in basic-shapes-2. In other words, |offset-path:path()| doesn't have the <fill-rule>. Maybe the spec will be updated in the future. For now, probably we should not move the path() into basic-shape for offset-path property. (However, it's fine to keep the update if you want because |offset-path:path()| is just a simplified variant of path() in basic-shapes2. Either way is ok to me.)
BTW, after implementing offset-distance, we will see the correct Live Result. :) 

> 
> CSS 'd' property for SVG
> https://codepen.io/estelle/pen/YOvMpN
> works in Chrome but not FF. The d property doesn't seem to be documented
> anywhere on MDN (or anywhere at all?). Another example:
> https://codepen.io/chriscoyier/pen/NRwANp. Is this under consideration?

It seems this is a bug in Firefox because d property is defined in SVG2, and looks like we haven't implemented it, I think.
I didn't update this part, and maybe we should fix this later.

Thanks for updating this. :)

Back to Bug 1246764 Comment 24