diff options
author | Moonchild <moonchild@palemoon.org> | 2020-01-09 13:07:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-09 13:07:56 +0000 |
commit | 29bf28ca34cb3061d2a6c38f60b01f2d7ca1e1e2 (patch) | |
tree | 3542eb0e53d20ba44a96a0b6a801d8a77ea8fb8f /layout | |
parent | d79cc5fb49131cba4ed1aa86bb13de468a718565 (diff) | |
parent | 52bda2a828364a9a2b3847a005587fa0ea952b30 (diff) | |
download | UXP-29bf28ca34cb3061d2a6c38f60b01f2d7ca1e1e2.tar UXP-29bf28ca34cb3061d2a6c38f60b01f2d7ca1e1e2.tar.gz UXP-29bf28ca34cb3061d2a6c38f60b01f2d7ca1e1e2.tar.lz UXP-29bf28ca34cb3061d2a6c38f60b01f2d7ca1e1e2.tar.xz UXP-29bf28ca34cb3061d2a6c38f60b01f2d7ca1e1e2.zip |
Merge pull request #1347 from g4jc/html5_dialog
Implement HMTL5 <dialog>
Diffstat (limited to 'layout')
-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; |