mdn / mdn/browser-compat-data

css.selectors.highlight - < ::highlight() partially unavailable on MacOS safari version 18.4 >

Open
#27,322 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

browser:safari data:css info needed
Dominant language
JSON
Stars
5.8k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
186

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the MDN ::highlight() page and the browser-compat-data entry for the css.selectors.highlight query. Verify the reported MacOS Safari 18.4 behavior, then update the compatibility data so its partial support and display:-webkit-box limitation are accurately represented.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.