Skip to content

[css-pseudo] Should ::before / ::after really be part-like? #10846

@emilio

Description

@emilio

When @tabatkins introduced part-like pseudos in the spec (0f41712), it was added that:

Both ::before and ::after are part-like pseudo-elements; there is no restriction on what properties apply to them.

While it is true that there are no property restrictions on these pseudos, I'm not sure they should be part-like pseudo-elements.

part-like pseudo-elements should have other properties (like supporting further pseudos, or a bunch of pseudo-classes that ::before and ::after do not support).

So I'm not convinced ::before and ::after should be marked as such?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Friday afternoon

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions