Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

90 views
Skip to first unread message

Ku(顧思捷)CJ

unread,
Feb 7, 2017, 3:03:50 AM2/7/17
to dev-pl...@lists.mozilla.org
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 not supported yet.
Safari: Behind webkit prefix(-webkit-clip-path), support geometry-box.
Edge: not support yet.

Related Bugs:
META: https://bugzilla.mozilla.org/show_bug.cgi?id=1324179
Blockers: https://bugzilla.mozilla.org/show_bug.cgi?id=1247229

Spec:
https://drafts.fxtf.org/css-masking-1/#the-clip-path
https://drafts.csswg.org/css-shapes-1/#supported-basic-shapes

Dev tool bug
https://bugzilla.mozilla.org/show_bug.cgi?id=1242029

Target release:
Firefox 54 (current Nightly).

Boris Zbarsky

unread,
Feb 7, 2017, 4:00:09 AM2/7/17
to
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 them
be at a _slightly_ higher maturity level than "whatever the editors
wrote today" [1]

-Boris

[1] Literally; one of them was last modified today.

Xidorn Quan

unread,
Feb 7, 2017, 5:10:08 AM2/7/17
to dev-pl...@lists.mozilla.org
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
> while I realize that's not a requirement, it would be good to have them
> be at a _slightly_ higher maturity level than "whatever the editors
> wrote today" [1]

For CSS Shapes, the property shape-outside (which also uses
<basic-shape>) has been independently implemented and shipped in both
Blink and WebKit since more than 2 years ago, so I'd expect that part to
be pretty stable.

I'm not very familiar with clip-path, but from the data in caniuse.com,
it seems Blink has been shipping majority of the functionality for a
while, so it should be stable enough.

- Xidorn

fantasai

unread,
Apr 7, 2017, 2:33:23 PM4/7/17
to Boris Zbarsky
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's not a requirement, it would be
> good to have them be at a _slightly_ higher maturity level than "whatever the editors wrote today" [1]

https://www.w3.org/TR/css-shapes-1/ is in CR as of March 2014
https://www.w3.org/TR/css-masking-1/ is in CR as of August 2014
* though David Baron raised a number of significant issues about mask types

~fantasai
0 new messages