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-masking] "object bounding box" in SVG is the content-box, but UAs use the border box on CSS boxes #6796

Open
smfr opened this issue Nov 4, 2021 · 0 comments

Comments

@smfr
Copy link
Contributor

smfr commented Nov 4, 2021

For transform-box and the geometry box argument to clip-path, fill-box maps to object bounding box for SVG elements. For CSS boxes, fill-box maps to the content box, which makes me think that "object bounding box" should map to the content box. However, browsers seem to map to the border box.

So we have ambiguity about whether "object bounding box" for CSS boxes in general should be the 'fill-box or content-box.

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

No branches or pull requests

2 participants