Bug 1322938 - Basic implementation of HTMLDialogElement.

Tag #1343
This commit is contained in:
Gaming4JC 2020-01-07 08:22:36 -05:00 • committed by Roy Tam
commit 900df90dae
12 changed files with 182 additions and 4 deletions

View file

@ -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;