Intent to ship: support "basic shapes" for the CSS 'clip-path' property

2016-04-20 Thread Jonathan Watt
Summary: Currently clip-path clipping requires a reference to an SVG element which can be cumbersome for authors. We intend to allow clip-path to specify basic shapes (circle, ellipse, polygon) inline, for example: style="clip-path: polygon(20% 50px, 200px 25%, 200px 150px, 20% 75%)"

Intent to ship: support "basic shapes" for the CSS 'clip-path' property

2017-02-07 Thread 顧思捷
After bug 1247229 is landed, we will turn clip-path basic shape clipping on by default on all platforms and releases. It has been developed behind the layout.css.clip-path-shapes.enabled flag from mozilla53. Status in other browsers: http://caniuse.com/#search=clip-path Chrome: geometry-box is

Re: Intent to ship: support "basic shapes" for the CSS 'clip-path' property

2017-04-07 Thread fantasai
On 02/07/2017 04:00 AM, Boris Zbarsky wrote: On 2/7/17 3:03 AM, Ku(顧思捷)CJ wrote: https://drafts.fxtf.org/css-masking-1/#the-clip-path https://drafts.csswg.org/css-shapes-1/#supported-basic-shapes How stable are these specs? They don't seem to be anywhere near CR, and while I realize that

Re: Intent to ship: support "basic shapes" for the CSS 'clip-path' property

2016-04-25 Thread Patrick Brosset
For info, the following devtools bug has received some discussion related to an "in-page" shapes editor: https://bugzilla.mozilla.org/show_bug.cgi?id=1242029 On Thu, Apr 21, 2016 at 3:08 AM, Jonathan Watt wrote: > Summary: > > Currently clip-path clipping requires a reference to an SVG >el

Re: Intent to ship: support "basic shapes" for the CSS 'clip-path' property

2017-02-07 Thread Boris Zbarsky
On 2/7/17 3:03 AM, Ku(顧思捷)CJ wrote: https://drafts.fxtf.org/css-masking-1/#the-clip-path https://drafts.csswg.org/css-shapes-1/#supported-basic-shapes How stable are these specs? They don't seem to be anywhere near CR, and while I realize that's not a requirement, it would be good to have

Re: Intent to ship: support "basic shapes" for the CSS 'clip-path' property

2017-02-07 Thread Xidorn Quan
On Tue, Feb 7, 2017, at 08:00 PM, Boris Zbarsky wrote: > On 2/7/17 3:03 AM, Ku(顧思捷)CJ wrote: > > https://drafts.fxtf.org/css-masking-1/#the-clip-path > > https://drafts.csswg.org/css-shapes-1/#supported-basic-shapes > > How stable are these specs? They don't seem to be anywhere near CR, and