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

Side by Side Diff: LayoutTests/dialog/top-layer-nesting.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 #bottomDialog { 14 #bottomDialog {
11 background-color: yellow; 15 background-color: yellow;
12 top: 100px; 16 top: 100px;
13 z-index: 1000; 17 z-index: 1000;
14 } 18 }
15 19
16 #middleDialog { 20 #middleDialog {
17 background-color: blue; 21 background-color: blue;
18 top: 150px; 22 top: 150px;
19 left: 50px; 23 left: 50px;
(...skipping 30 matching lines...) Expand all
50 <script> 54 <script>
51 document.getElementById('hiddenDialogChild').showModal(); 55 document.getElementById('hiddenDialogChild').showModal();
52 document.getElementById('hiddenDialog').showModal(); 56 document.getElementById('hiddenDialog').showModal();
53 document.getElementById('bottomDialog').showModal(); 57 document.getElementById('bottomDialog').showModal();
54 document.getElementById('middleDialog').showModal(); 58 document.getElementById('middleDialog').showModal();
55 document.getElementById('topDialog').showModal(); 59 document.getElementById('topDialog').showModal();
56 document.getElementById('hiddenDialog').close(); 60 document.getElementById('hiddenDialog').close();
57 </script> 61 </script>
58 </body> 62 </body>
59 </html> 63 </html>
OLDNEW
« no previous file with comments | « LayoutTests/dialog/top-layer-display-none.html ('k') | LayoutTests/dialog/top-layer-stacking.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698