Intent to Ship: path() support in clip-path CSS property

131 skatījums
Pāriet uz pirmo nelasīto ziņojumu

Noam Rosenthal

nelasīta,
2020. gada 15. okt. 13:40:3415.10.20
uz blin...@chromium.org

Contact emails

noam.j.r...@gmail.com

Explainer


Specification

https://drafts.fxtf.org/css-masking-1/#the-clip-path

Summary

So far clip-path only supported other basic shapes (circle, ellipse, polygon, url). This adds support for path() as a value as specified in https://drafts.csswg.org/css-shapes-1/#funcdef-path, for example: clip-path: path(oddeven, 'M 5 5 h 100 v 100 Z') would clip the element with a triangle.



Blink component

Blink>CSS

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

Already shipped by other browsers, with several web platform tests.



Gecko: Shipped/Shipping

WebKit: Shipped/Shipping

Web developers: No signals


Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

Yes

It's a Blink CSS feature, not platform specific in any way.



Is this feature fully tested by web-platform-tests?

Yes

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=880983

Sample links


https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path

Link to entry on the Chrome Platform Status

https://www.chromestatus.com/feature/5633533638868992

This intent message was generated by Chrome Platform Status.

Chris Harrelson

nelasīta,
2020. gada 15. okt. 13:42:1515.10.20
uz Noam Rosenthal,blink-dev
LGTM1

Agree that no TAG review is necessary, because there is already support in other browsers and the feature has a stable spec.

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGttnEUUtxZfEy5RagEv8ezzd%3DbT1%2BpbW_sS24VcpP%2Bknfgpxw%40mail.gmail.com.

Yoav Weiss

nelasīta,
2020. gada 15. okt. 13:59:3115.10.20
uz Chris Harrelson,Noam Rosenthal,blink-dev

Rick Byers

nelasīta,
2020. gada 15. okt. 14:03:0615.10.20
uz Yoav Weiss,Chris Harrelson,Noam Rosenthal,blink-dev
Atbildēt visiem
Atbildēt autoram
Pārsūtīt
0 jauni ziņojumi