Re: [fxtf-drafts] [motion-1] The definition of "containing box" for ray() function (#369)

Okay, I've made some Editorial Decisions here.

* The element being referenced by coord-box is the element establishing the containing block for the transformed element. We can't rely on parent element, as if the parent is, say, an inline, it doesn't have a reasonable box to look at. And when the transformed element is abspos, this'll be the abspos containing block, which is definitely what we want for the common ray() case.
* When used in an SVG context, I just treat all instances of coord-box as being `view-box`. SVG doesn't have a useful notion of "parent" or "containing block" here; "nearest viewport" is the closest thing that makes sense, and the `view-box` keyword does the job there without requiring me to invent anything new.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/369#issuecomment-1457239856 using your GitHub account


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

Received on Tuesday, 7 March 2023 00:01:52 UTC