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

Side by Side Diff: LayoutTests/fast/regions/dialog-nested-regions-expected.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 }
12 #region1 {
13 height: 80px;
14 background-color: orange;
15 border-style: solid;
16 border-width: thin;
17 }
18 #region2 {
19 width: 100px;
20 height: 100px;
21 background-color: gray;
22 border-style: solid;
23 border-width: thin;
24 }
25 .red {
26 width: 100%;
27 height: 100%;
28 background-color: red;
29 }
30 </style>
31 </head>
32 <body>
33 <p>
34 The green box is a dialog element that is flowed into a nested named flow.
35 </p>
36 <ol>
37 <li>Test passes if you see a green square inside an orange square in side a gray square.</li>
38 <li>You shouldn't see any red.</li>
39 </ol>
40 <div id="region2">
41 <div id="region1">
42 <dialog id="content"></dialog>
43 </div>
44 </div>
45 </body>
46 <script>
47 document.addEventListener("DOMContentLoaded", function() {
48 var dialog = document.getElementsByTagName('dialog')[0];
49 dialog.show();
50 });
51 </script>
52 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/regions/dialog-nested-regions.html ('k') | LayoutTests/fast/regions/drag-scrollbars-of-content.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698