14 background-color: rgb(
0,
50,
0);
15 z-index:
100; /* z-index has no effect. */
23 background-color: rgb(
0,
90,
0);
31 background-color: rgb(
0,
130,
0);
32 z-index: -
100; /* z-index has no effect. */
40 background-color: rgb(
0,
170,
0);
48 background-color: rgb(
0,
210,
0);
49 z-index:
0; /* z-index has no effect. */
57 background-color: rgb(
0,
255,
0);
58 z-index: -
1000; /* z-index has no effect. */
62 Test for dialog::backdrop stacking order. The test passes if there are
6
63 boxes enclosed in each other, becoming increasingly smaller and brighter
65 <dialog id=
"top"></dialog>
66 <dialog id=
"middle"></dialog>
67 <dialog id=
"bottom"></dialog>
69 var topDialog
= document
.getElementById('top');
70 var middleDialog
= document
.getElementById('middle');
71 var bottomDialog
= document
.getElementById('bottom');
72 topDialog
.showModal();
73 bottomDialog
.showModal();
74 topDialog
.close(); // Just to shuffle the top layer order around a little.
75 middleDialog
.showModal();
76 topDialog
.showModal();