Skip to content

Support for :scope and :has selectors #2

@kraih

Description

@kraih

These two CSS 4 selectors are supported by Mojo::DOM and still missing in @mojojs/dom.

Pattern Represents
E:scope an E element being a designated reference element
E:has(rs1, rs2, …) an E element, if either of the relative selectors rs1 or rs2, when evaluated with E as the :scope elements, match an element

Scope handling already partially exists in the code, but is not used for anything yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions