Skip to content

[css-pseudo] [css-highlight-api] event handling #7119

@adam-lynch

Description

@adam-lynch

should custom highlights have a dedicated event handling mechanism, or should that be added to pseudo-elements in general?

- 6. Event Handling

I'm not sure exactly what this is referring to. I was initially disappointed when I saw that these highlights would be pseudo-elements, assuming they'd be non-interactive. However, if events are being considered, I'd personally like to know when highlights are clicked if that's possible. Also, I'd like to know if a highlight is removed (e.g. because the highlight is removed / the range is no longer valid).

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