Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Mask-*, Clip-* #53

Open
Martin-Pitt opened this issue Mar 13, 2018 · 3 comments
Open

Mask-*, Clip-* #53

Martin-Pitt opened this issue Mar 13, 2018 · 3 comments

Comments

@Martin-Pitt
Copy link

The mask-* and clip-path properties seem to be missing from the list.

@cWillow
Copy link

cWillow commented Dec 12, 2018

Any plans to add these in the near future? I came looking for mask :D

@Jab2870
Copy link

Jab2870 commented Apr 30, 2019

This would be useful. Does anybody know if clip path cause paint or layout? I would be surprised if it causes layout but does it cause paint? The old Clip property did so should I assume this does?

@Martin-Pitt
Copy link
Author

Martin-Pitt commented May 1, 2019

It does cause repaints, tested clip-path with two values of two rectangular shapes in a polygon(…) in Chrome Canary with CSS Transition & and also CSS Animation.

I tested with transition/animation to see if a faster rendering path / off-thread / hardware acceleration would kick in, like it does for filter: blur(…).

(Yep, blurring is hardware accelerated / performant ikel transform, blurring is basically a lot more performant than animating clip-path)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants