Re: [csswg-drafts] [css-scroll-anchoring-1] `display: flex` can't be selected as an anchor node (#3478)

> It also seems like `display: inline-block` can also be selected as an anchor node in Chrome

One more note on this: @eqrion  found that the web-platform test [start-edge-in-block-layout-direction.html](https://github.com/web-platform-tests/wpt/blob/master/css/css-scroll-anchoring/start-edge-in-block-layout-direction.html) currently relies on the browser selecting an `inline-block` as an anchor node (which goes against what the spec says right now).

He's [landing a small patch](https://phabricator.services.mozilla.com/D16072) (with r=me) to remove that dependency, so that the test is better-justified by the current spec text -- just adding a block-level box inside of the inline-block.  And this new block-level box **is** allowed to be selected as an anchor, per the current spec text.

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

Received on Wednesday, 9 January 2019 21:43:37 UTC