Skip to content

Flattened element tree and pseudo-elements #3126

@annevk

Description

@annevk

In whatwg/html#3805 a concern was raised by @bzbarsky (perhaps on behalf of @MatsPalmgren) that expressing details through shadow trees results in a placement of ::before and ::after that's not desirable.

So the question is whether ::before and ::after on a host element should perhaps be shadow tree aware and end up "assigned" to a slot. This would perhaps be somewhat more natural given that element children end up being assigned.

cc @zcorpan @emilio @hayatoito @rniwa

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