- From: Stephen Chenney via GitHub <noreply@w3.org>
- Date: Wed, 28 Jan 2026 21:30:00 +0000
- To: public-css-archive@w3.org
I can't see any reason why declarative DOM ranges can't define the highlights in theory, but two implementation questions: - Is this reflected in JS in any way? Could a page remove the markers from the original document and add more in JS? - What would hold on to the declarative marker information? The document object? Elements? Something else? I'm somewhat concerned about keeping track of which ranges come from where, because in the chromium implementation at least we are assuming the highlight registry persists all the information needed to reconstruct the highlights (on a change to the highlight set we remove all the highlights and reconstruct from scratch, and doing otherwise is unexpectedly tricky). -- GitHub Notification of comment by schenney-chromium Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13381#issuecomment-3814031634 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 28 January 2026 21:30:01 UTC