- From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
- Date: Sun, 18 Sep 2022 00:31:50 +0000
- To: public-css-archive@w3.org
Another possibility could be to generally include the off-screen content without computing styles, but skipping subtrees rooted in elements that are hidden by default, to reduce false false positives. Basically, everything that's `display:none` in the UA stylesheet. ```css head, link, meta, script, style, title, base, basefont, datalist, noembed, area, param, rp, noframes, template, input[type="hidden" i], [hidden], audio:not([controls]), dialog:not([open]) ``` Checking against this will have a non-zero cost, but should hopefully be a lot cheaper than performing a full styling. -- GitHub Notification of comment by frivoal Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5857#issuecomment-1250162840 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 18 September 2022 00:31:51 UTC