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

[css-viewport] CSS zoom should affect clip-path: path() strings. #10126

Closed
emilio opened this issue Mar 23, 2024 · 2 comments · Fixed by #10301
Closed

[css-viewport] CSS zoom should affect clip-path: path() strings. #10126

emilio opened this issue Mar 23, 2024 · 2 comments · Fixed by #10301

Comments

@emilio
Copy link
Collaborator

emilio commented Mar 23, 2024

Right now per spec it doesn't, but that doesn't match implementations, and it makes sense for it to affect it.

We have tests for this (css/css-masking/clip-path/clip-path-path-with-zoom.html etc), so I think just a tweak to the spec should be enough, wdyt @chrishtr?

@chrishtr
Copy link
Contributor

chrishtr commented May 6, 2024

Would it need to say here that if the used value of a property is a path, then the path values are multiplied by zoom also? I guess you're right that it only says the used value is "multiplied", which implies it is a number only and not a path.

@emilio
Copy link
Collaborator Author

emilio commented May 6, 2024

I think it'd probably be easier to just special-case path strings adding to that paragraph. Path strings are kind of an odd one.

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

Successfully merging a pull request may close this issue.

2 participants