summaryrefslogtreecommitdiff
path: root/layout
diff options
context:
space:
mode:
authorFranklinDM <mrmineshafter17@gmail.com>2023-03-18 17:04:55 +0800
committerMoonchild <moonchild@palemoon.org>2023-03-23 12:17:58 +0100
commitfc5d7a94b7670444288b46985c2525e9fbc732d1 (patch)
treecb593c1dbfe1514e6cbb8f4f561cc7d811bcc44a /layout
parent8206716e8d8c93e570c0fdfc12aa30df431081f8 (diff)
downloaduxp-fc5d7a94b7670444288b46985c2525e9fbc732d1.tar.gz
Issue #1592 - Part 1b: Move <slot> UA rule to html.css
Based on https://bugzilla.mozilla.org/show_bug.cgi?id=1468127
Diffstat (limited to 'layout')
-rw-r--r--layout/style/res/html.css6
-rw-r--r--layout/style/res/ua.css6
2 files changed, 6 insertions, 6 deletions
diff --git a/layout/style/res/html.css b/layout/style/res/html.css
index 15de7d12a8..ca4b1b4f4b 100644
--- a/layout/style/res/html.css
+++ b/layout/style/res/html.css
@@ -876,3 +876,9 @@ rtc > rt {
ruby, rb, rt, rtc {
unicode-bidi: isolate;
}
+
+/* Shadow DOM v1
+ * https://drafts.csswg.org/css-scoping/#slots-in-shadow-tree */
+slot {
+ display: contents;
+}
diff --git a/layout/style/res/ua.css b/layout/style/res/ua.css
index a8425d472a..ab51f67c53 100644
--- a/layout/style/res/ua.css
+++ b/layout/style/res/ua.css
@@ -474,9 +474,3 @@ div:-moz-native-anonymous.moz-custom-content-container {
width: 100%;
height: 100%;
}
-
-/* Shadow DOM v1
- * https://drafts.csswg.org/css-scoping/#slots-in-shadow-tree */
-slot {
- display: contents;
-} \ No newline at end of file