We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Browser bug (a bug with a feature that may impact site compatibility)
Safari's Custom Highlighting API is incompatible with user-select: none
user-select: none
Safari
Elements with user-select: none should still allow custom highlighting. This is what I see in Chrome and Firefox nightly.
Yes: https://developer.mozilla.org/en-US/play?id=eZGsm6RpJZXXrR114ydA1PUgxhs3BvS1xeQ%2FPB5hT969sbZc%2Bod8Vb9ZUZcE%2FnR7t%2BksjFyUMr87t0Yd
This is the MDN Custom Highlighting API example, with the only modification being:
article { user-select: none; -webkit-user-select: none; }
https://bugs.webkit.org/show_bug.cgi?id=278455
No response
https://developer.mozilla.org/en-US/docs/Web/API/CSS_Custom_Highlight_API
css.selectors.highlight
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What type of issue is this?
Browser bug (a bug with a feature that may impact site compatibility)
What information was incorrect, unhelpful, or incomplete?
Safari's Custom Highlighting API is incompatible with
user-select: none
What browsers does this problem apply to, if applicable?
Safari
What did you expect to see?
Elements with
user-select: none
should still allow custom highlighting. This is what I see in Chrome and Firefox nightly.Did you test this? If so, how?
Yes: https://developer.mozilla.org/en-US/play?id=eZGsm6RpJZXXrR114ydA1PUgxhs3BvS1xeQ%2FPB5hT969sbZc%2Bod8Vb9ZUZcE%2FnR7t%2BksjFyUMr87t0Yd
This is the MDN Custom Highlighting API example, with the only modification being:
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
https://bugs.webkit.org/show_bug.cgi?id=278455
Do you have anything more you want to share?
No response
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/CSS_Custom_Highlight_API
MDN metadata
MDN page report details
css.selectors.highlight
The text was updated successfully, but these errors were encountered: