- From: Stephanie Zhang via GitHub <noreply@w3.org>
- Date: Fri, 15 May 2026 18:58:54 +0000
- To: public-css-archive@w3.org
stephanieyzhang has just submitted a new pull request for https://github.com/w3c/csswg-drafts: == [css-highlight-api-1] Integrate OpaqueRange into Highlight and highlightsFromPoint == <!-- [css-spec-shortname-1] Brief description which should also include the #issuenum-or-URL and/or link to relevant CSSWG minutes. Copy the above line into the Title and replace with the relevant details. Fill in any additional details here. See https://github.com/w3c/csswg-drafts/blob/master/CONTRIBUTING.md for more info.--> Wires `OpaqueRange` into the Custom Highlight API so highlights can cover the value text of `<input>` and `<textarea>`. - `Highlight` accepts `OpaqueRange` alongside `Range` and `StaticRange`. - Defines when an `OpaqueRange` triggers repaints and when they're ignored. - `highlightsFromPoint()` returns `OpaqueRange` hits inside `<input>` and `<textarea>` value text. - Adds an example covering `OpaqueRange` in the main document and inside a shadow tree. Companion to the Chromium implementation: - https://chromium-review.googlesource.com/c/chromium/src/+/7685965 - https://chromium-review.googlesource.com/c/chromium/src/+/7693796 See https://github.com/w3c/csswg-drafts/pull/13929 -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 15 May 2026 18:58:54 UTC