Issue #2045 - Temporarily force hidden elements to be actually hidden.

For the time being, because we don't have `revert` yet, we should force
normally hidden elements to be hidden, so they aren't revealed by sites
using the bad practice of `*{ }` style blanking rules but then using
`revert` to re-hide them.
This commit is contained in:
Moonchild 2024-07-06 17:47:06 +02:00 • committed by roytam1
commit f86664f131

View file

@ -720,12 +720,12 @@ canvas {
/* hidden elements */ /* hidden elements */
base, basefont, datalist, head, meta, script, style, title, base, basefont, datalist, head, meta, script, style, title,
noembed, param, template { noembed, param, template {
display: none; display: none !important;
} }
area { area {
/* Don't give it frames other than its imageframe */ /* Don't give it frames other than its imageframe */
display: none ! important; display: none !important;
} }
iframe:fullscreen { iframe:fullscreen {