Re: [csswg-drafts] [css-contain-2] Proposal: content-visibility: hidden-matchable (#5595)

> It is an optimization, the browser is still allowed to do layout and styling if it desires to. Basically, the comment was that browsers should maybe be free to have <100% precision as long as it keeps 100% recall (i.e. false positives are allowed, but false negatives are not, or should be pretty rare).

This allows Find to be less expensive. It does not deal with:
* hidden-matching adds a new level of ambiguity about what content is "visible"
* why Find gets special treatment, given the other ways content is exposed by UAs
* Reader detection can't use the same level of more efficient but less precise content traversal without making it appear buggy to users.

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


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

Received on Tuesday, 9 February 2021 18:39:39 UTC