summaryrefslogtreecommitdiffstats
path: root/layout/style/res/noframes.css
diff options
context:
space:
mode:
Diffstat (limited to 'layout/style/res/noframes.css')
-rw-r--r--layout/style/res/noframes.css13
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/style/res/noframes.css b/layout/style/res/noframes.css
new file mode 100644
index 000000000..4d1adfdc1
--- /dev/null
+++ b/layout/style/res/noframes.css
@@ -0,0 +1,13 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+/* This sheet is added to the style set for documents with frames disabled */
+
+noframes {
+ display: block;
+}
+
+frame, frameset, iframe {
+ display: none !important;
+}