Re: [csswg-drafts] [css-pseudo-4] Add highlight pseudo for in-page search (#3812)

> Presumably this is telling the page information about what the user has typed into the find-in-page box which may be a privacy concern, but hopefully we can use the same justification that I used for hidden=until-found and auto-expanding `<details>`: https://github.com/WICG/display-locking/blob/main/privacy-assessments/auto-expanding-details-privacy.md#2-what-privacy-attacks-have-been-deemed-out-of-scope-and-why
> 
> Edit: it sounds like this feature might actually not reveal anything about find-in-page, in which case this is no problem - I'd have to mess around with an implementation to find out.

This feature would behave the same as ::spelling-error, ::grammer-error and other styling that may reveal user's dictionaries or other private information. A page can see how a search result _would_ be styled if it were a search result, but has no way of knowing whether an element is currently rendered using the style.

-- 
GitHub Notification of comment by schenney-chromium
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3812#issuecomment-2163210976 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 12 June 2024 14:44:15 UTC