OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <style> | 2 <style> |
3 dialog { | 3 dialog { |
4 visibility: hidden; | 4 visibility: hidden; |
5 } | 5 } |
6 | 6 |
7 dialog::backdrop { | 7 dialog::backdrop { |
8 height: 100px; | 8 height: 100px; |
9 width: 50px; | 9 width: 50px; |
10 } | 10 } |
(...skipping 16 matching lines...) Expand all Loading... |
27 Test that position 'static' or 'relative' for ::backdrop computes to 'absolute'. | 27 Test that position 'static' or 'relative' for ::backdrop computes to 'absolute'. |
28 The test passes if there is a single green box. | 28 The test passes if there is a single green box. |
29 <dialog id="left"></dialog> | 29 <dialog id="left"></dialog> |
30 <dialog id="right"></dialog> | 30 <dialog id="right"></dialog> |
31 </div> | 31 </div> |
32 <script> | 32 <script> |
33 document.querySelector('#left').showModal(); | 33 document.querySelector('#left').showModal(); |
34 document.querySelector('#right').showModal(); | 34 document.querySelector('#right').showModal(); |
35 </script> | 35 </script> |
36 </body> | 36 </body> |
OLD | NEW |