[csswg-drafts] [css-masking?] "object bounding box" needs to be better defined for CSS boxes (#5786)

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

== [css-masking?] "object bounding box" needs to be better defined for CSS boxes ==
CSS masking <https://drafts.fxtf.org/css-masking-1/#valdef-clip-path-fill-box> references the "object bounding box" which is used when computing the geometry of a clip-path to apply to a CSS box.

SVG <https://svgwg.org/svg2-draft/coords.html#TermObjectBoundingBox>  defines the bounding box as " the tightest fitting rectangle aligned with the axes of that element's user coordinate system that entirely encloses it and its descendants." but for CSS this needs a tighter definition; it needs to specify whether than includes ink overflow (e.g. box-shadow), outlines, and how it interacts with overflow:hidden on the element.

There is a lack of browser interop here: https://codepen.io/smfr/pen/jOMyVLO


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


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

Received on Saturday, 12 December 2020 22:39:02 UTC