css.selectors.highlight - < ::highlight() partially unavailable on MacOS safari version 18.4 >
What type of issue is this?
Incorrect support data (example:Safari says "17" but partially unsupported in "18")
What information was incorrect, unhelpful, or incomplete?
on MacOS Safari 18.4,::highlight is ignored when combined with display:-webkit-box
What browsers does this problem apply to, if applicable?
in MacOS Safari 18.4
What did you expect to see?
::highlight can apply to all characters
Did you test this? If so, how?
yes, ::highlight works differently in Safari version 16 and version 18
Can you link to any release notes, bugs, pull requests, or MDN pages related to this?
No response
Do you have anything more you want to share?
No response
MDN URL
https://developer.mozilla.org/en-US/docs/Web/CSS/::highlight
MDN metadata
MDN page report details
- Query:
css.selectors.highlight - Report started: 2025-07-18T10:37:34.354Z
Thanks for filing this issue.
@Chloehxxx Can you please (1) provide a minimal example to reproduce this behavior, and (2) file a WebKit issue? 🙏
Note: Given that display: -webkit-box is not part of a standard track, this very likely doesn't justify marking Safari's ::highlight() implementation as partial, but once reproduced, we can add a note pointing this out, and linking to the WebKit bug.