Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support basic-shape declarations for clip-path #11

Open
weisJ opened this issue Sep 8, 2021 · 0 comments
Open

Support basic-shape declarations for clip-path #11

weisJ opened this issue Sep 8, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@weisJ
Copy link
Owner

weisJ commented Sep 8, 2021

The 'clip-path' attribute allows to define inline shapes using the grammar for <basic-shape>. We should support it:
https://developer.mozilla.org/en-US/docs/Web/CSS/basic-shape

This includes the optional geometryBox argument:

geometry-box:
An extra information to tell how a is applied to an element: fill-box indicates to use the object bounding box; stroke-box indicates to use the object bounding box extended with the stroke; view-box indicates to use the nearest SVG viewport as the reference box.

@weisJ weisJ added the enhancement New feature or request label Sep 8, 2021
@weisJ weisJ added the good first issue Good for newcomers label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant