diff --git a/layout/style/res/html.css b/layout/style/res/html.css
index 38814a8354..fcca8cf2ff 100644
--- a/layout/style/res/html.css
+++ b/layout/style/res/html.css
@@ -720,12 +720,12 @@ canvas {
/* hidden elements */
base, basefont, datalist, head, meta, script, style, title,
noembed, param, template {
- display: none;
+ display: none !important;
}
area {
/* Don't give it frames other than its imageframe */
- display: none ! important;
+ display: none !important;
}
iframe:fullscreen {