diff options
author | Gaming4JC <g4jc@hyperbola.info> | 2020-01-07 08:22:36 -0500 |
---|---|---|
committer | Gaming4JC <g4jc@hyperbola.info> | 2020-01-07 18:33:22 -0500 |
commit | 2e3b937f4ee13e70584c881e0c65200e439ff7fa (patch) | |
tree | ca4e3f45a92f969f49ee6d4bcfd4243cff370569 /layout/style/res | |
parent | c0326517787e12bb5904d8f55386499628806b42 (diff) | |
download | UXP-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/res')
-rw-r--r-- | layout/style/res/html.css | 21 |
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; |