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

eqrion has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-scroll-anchoring-1] `display: flex` can't be selected as an anchor node ==
The [anchor selection algorithm](https://drafts.csswg.org/css-scroll-anchoring-1/#anchor-node-selection) is specified to only select a non anonymous [block box](https://drafts.csswg.org/css-display-3/#block-box) or text node. This means that `display: flex` element can't be an anchor node.

It appears that Chrome allows `display: flex` to be anchors in this [test case](https://eqrion.github.io/web-tests/scrolling/scroll-anchor-test-3.html).

The specification should probably be updated to allow this, unless this is a bug in Chrome.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3478 using your GitHub account

Received on Thursday, 3 January 2019 01:49:18 UTC