Skip to content

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

@eqrion

Description

@eqrion

The anchor selection algorithm is specified to only select a non anonymous 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.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions