Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(63)

Side by Side Diff: LayoutTests/dialog/top-layer-stacking-dynamic.html

Issue 24493004: Make dialog::backdrop span the viewport by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 dialog { 5 dialog {
6 height: 150px; 6 height: 150px;
7 width: 150px; 7 width: 150px;
8 } 8 }
9 9
10 ::backdrop {
11 display: none;
12 }
13
10 .red { 14 .red {
11 background-color: red; 15 background-color: red;
12 top: 200px; 16 top: 200px;
13 } 17 }
14 18
15 #bottomDialog { 19 #bottomDialog {
16 background-color: blue; 20 background-color: blue;
17 top: 50px; 21 top: 50px;
18 } 22 }
19 23
(...skipping 18 matching lines...) Expand all
38 var removedDialog = document.getElementById('removedDialog'); 42 var removedDialog = document.getElementById('removedDialog');
39 removedDialog.showModal(); 43 removedDialog.showModal();
40 document.getElementById('bottomDialog').showModal(); 44 document.getElementById('bottomDialog').showModal();
41 document.getElementById('removedDialogChild').showModal(); 45 document.getElementById('removedDialogChild').showModal();
42 removedDialog.parentNode.removeChild(removedDialog); 46 removedDialog.parentNode.removeChild(removedDialog);
43 document.getElementById('topDialog').close(); 47 document.getElementById('topDialog').close();
44 document.getElementById('topDialog').showModal(); 48 document.getElementById('topDialog').showModal();
45 </script> 49 </script>
46 </body> 50 </body>
47 </html> 51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698