summaryrefslogtreecommitdiffstats
path: root/layout/style
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-01-07 08:22:36 -0500
committerGaming4JC <g4jc@hyperbola.info>2020-01-07 18:33:22 -0500
commit2e3b937f4ee13e70584c881e0c65200e439ff7fa (patch)
treeca4e3f45a92f969f49ee6d4bcfd4243cff370569 /layout/style
parentc0326517787e12bb5904d8f55386499628806b42 (diff)
downloadUXP-2e3b937f4ee13e70584c881e0c65200e439ff7fa.tar
UXP-2e3b937f4ee13e70584c881e0c65200e439ff7fa.tar.gz
UXP-2e3b937f4ee13e70584c881e0c65200e439ff7fa.tar.lz
UXP-2e3b937f4ee13e70584c881e0c65200e439ff7fa.tar.xz
UXP-2e3b937f4ee13e70584c881e0c65200e439ff7fa.zip
Bug 1322938 - Basic implementation of HTMLDialogElement.
Tag #1343
Diffstat (limited to 'layout/style')
-rw-r--r--layout/style/res/html.css21
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/style/res/html.css b/layout/style/res/html.css
index bc3f08210..1f572467f 100644
--- a/layout/style/res/html.css
+++ b/layout/style/res/html.css
@@ -799,6 +799,27 @@ input[type="date"] > xul|datetimebox {
}
}
+/* <dialog> element styles */
+
+dialog {
+ position: absolute;
+ offset-inline-start: 0;
+ offset-inline-end: 0;
+ color: black;
+ margin: auto;
+ border-width: initial;
+ border-style: solid;
+ border-color: initial;
+ border-image: initial;
+ padding: 1em;
+ background: white;
+ width: -moz-fit-content;
+}
+
+dialog:not([open]) {
+ display: none;
+}
+
/* emulation of non-standard HTML <marquee> tag */
marquee {
inline-size: -moz-available;