w3c / fxtf-drafts

Mirror of https://hg.fxtf.org/drafts

Home Page:https://drafts.fxtf.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

o-t-w opened this issue · comments

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.