Skip to content

Relation between HighlightRange#priority and other highlight pseudo elements #13

Description

@Reinmar

As I understand, HighlightRange#priority is needed to control which highlight is rendered above which. Since we have other highlight pseudo-elements like ::selection or :spelling-error, could we prioritise our highlight range above those?

In other words – do the UA's highlight pseud-elements have defined priorities?

Crazy idea – couldn't z-index be used for that instead of priorities?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions