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

Side by Side Diff: LayoutTests/fast/regions/dialog-nested-regions.html

Issue 159933010: Remove everything region-specific from LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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
OLDNEW
(Empty)
1 <html>
2 <head>
3 <style>
4 #content {
5 width: 20px;
6 height: 20px;
7 background-color: green;
8 position: relative;
9 display: block;
10 margin: 10px;
11 -webkit-flow-into: first;
12 }
13 #region1 {
14 height: 80px;
15 background-color: orange;
16 border-style: solid;
17 border-width: thin;
18 -webkit-flow-from: first;
19 -webkit-flow-into: second;
20 }
21 #region2 {
22 width: 100px;
23 height: 100px;
24 background-color: gray;
25 border-style: solid;
26 border-width: thin;
27 -webkit-flow-from: second;
28 }
29 .red {
30 width: 100%;
31 height: 100%;
32 background-color: red;
33 }
34 </style>
35 </head>
36 <body>
37 <p>
38 The green box is a dialog element that is flowed into a nested named flow.
39 </p>
40 <ol>
41 <li>Test passes if you see a green square inside an orange square in side a gray square.</li>
42 <li>You shouldn't see any red.</li>
43 </ol>
44 <dialog id="content"></dialog>
45 <div id="region1">
46 <div class="red"></div>
47 </div>
48 <div id="region2">
49 <div class="red"></div>
50 </div>
51 </body>
52 <script>
53 document.addEventListener("DOMContentLoaded", function() {
54 var dialog = document.getElementsByTagName('dialog')[0];
55 dialog.show();
56 });
57 </script>
58 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698