Skip to content

[openable] how should we support find in page? #1162

@lukewarlow

Description

@lukewarlow

Currently the openable explainer plans to use hidden=until-found attribute value pair with some special handling such that openables can be searchable.

Is this the correct choice?

The proposed UA styles were potentially naive based on how complex the hidden=until-found styling is in chrome.

  1. Hidden attribute isn't implemented purely in UA stylesheet, as such the styles have a higher specificity than if they were, this means that my proposed styles won't actually work. In my prototype I had to use !important which is undesirable.

  2. I used revert but that probably isn't the correct value for a UA style.

Given this complexity is it better off being a different mechanism such as openable=searchable? Would this have essentially the same issues given we'd probably share code between the two mechanisms?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions