Re: [csswg-drafts] [css-scroll-anchoring-1] Can anchor node be an inline-block? (#4247)

An inline-block has a "layout box" in Blink.  Like a block, it occupies a rectangular space, so its coordinates are simple to reason about.

Blink skips inlines because we didn't want to worry about elements that are split across lines.  I suppose we could have taken an enclosing rect around the line boxes similar to what we do for text nodes, but we didn't find cases where this seemed important.

We do anchor to <img> elements.

-- 
GitHub Notification of comment by skobes
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4247#issuecomment-527493660 using your GitHub account

Received on Tuesday, 3 September 2019 14:51:15 UTC