From 2e3b937f4ee13e70584c881e0c65200e439ff7fa Mon Sep 17 00:00:00 2001 From: Gaming4JC Date: Tue, 7 Jan 2020 08:22:36 -0500 Subject: Bug 1322938 - Basic implementation of HTMLDialogElement. Tag #1343 --- layout/style/res/html.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'layout') 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 { } } +/* 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 tag */ marquee { inline-size: -moz-available; -- cgit v1.2.3