w3c / fxtf-drafts

Mirror of https://hg.fxtf.org/drafts
https://drafts.fxtf.org/
Other
68 stars 49 forks source link

[motion-1] offset for <coord-box> #519

Closed o-t-w closed 1 year ago

o-t-w commented 1 year ago

coord-box and inset are both pretty similar in that they follow the outline of a html element. I like coord-box because it follows the border-radius and inset doesn't. I like inset because I can specify for the path to be inset or offset from the edge of the HTML element (a bit like the way outline-offset works. It's a shame that there is not a way to follow the border radius but also specify an offset. coord-box can only be specified as content-box, padding-box, border-box etc without an option to add an offset.