[csswg-drafts] [css-masking] "object bounding box" in SVG is the content-box, but UAs use the border box on CSS boxes (#6796)

smfr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-masking] "object bounding box" in SVG is the content-box, but UAs use the border box on CSS boxes ==
For [transform-box](https://www.w3.org/TR/css-transforms-1/#transform-box) and the [geometry box](https://drafts.fxtf.org/css-masking-1/#typedef-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`.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6796 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 4 November 2021 17:46:29 UTC