diff --git a/mozilla/layout/html/document/src/ua.css b/mozilla/layout/html/document/src/ua.css
index 8b03c32e886..e54159cfab6 100644
--- a/mozilla/layout/html/document/src/ua.css
+++ b/mozilla/layout/html/document/src/ua.css
@@ -454,3 +454,12 @@ STYLE {
TITLE {
display: none;
}
+NOEMBED {
+ display: none;
+}
+NOSCRIPT {
+ display: none;
+}
+NOFRAMES {
+ display: none;
+}
diff --git a/mozilla/layout/style/ua.css b/mozilla/layout/style/ua.css
index 8b03c32e886..e54159cfab6 100644
--- a/mozilla/layout/style/ua.css
+++ b/mozilla/layout/style/ua.css
@@ -454,3 +454,12 @@ STYLE {
TITLE {
display: none;
}
+NOEMBED {
+ display: none;
+}
+NOSCRIPT {
+ display: none;
+}
+NOFRAMES {
+ display: none;
+}