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

Side by Side Diff: LayoutTests/fast/regions/dialog-autosize.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 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 #content {
6 font-family: Ahem;
7 font-size: 20px;
8 line-height: 1em;
9 color: green;
10 -webkit-font-smoothing: none;
11 }
12
13 #region1 {
14 float: left;
15 min-height: 120px;
16 min-width: 60px;
17 -webkit-flow-from: f;
18 }
19
20 #region2 {
21 float: left;
22 margin-left: 8px;
23 -webkit-flow-from: f;
24 }
25
26 #dialog {
27 position: static;
28 display: block;
29 border: none;
30 padding: 0px;
31 margin: 0px;
32 -webkit-flow-into: f;
33 }
34
35 #p1 {
36 -webkit-region-break-after: always;
37 }
38
39 .red {
40 width: 100%;
41 height: 100%;
42 background-color: red;
43 }
44 </style>
45 </head>
46 <body>
47 <p>
48 Test whether dialog elements with auto width/height are flowed corre ctly
49 inside a named flow. You should see two green rectangles.<br>
50 Test fails if you can see any red.
51 </p>
52 <ol>
53 </ol>
54 <dialog id="dialog">
55 <div id="content">
56 <p id="p1">
57 xxxxx<br>
58 xxxxx<br>
59 xxxxx<br>
60 </p>
61 <p id="p2">
62 xxxxx<br>
63 xxxxx<br>
64 xxxxx
65 </p>
66 </div>
67 </dialog>
68 <div id="region1">
69 <div class="red"></div>
70 </div>
71 <div id="region2">
72 <div class="red"></div>
73 </div>
74 </body>
75 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/regions/dialog-autoheight-expected.html ('k') | LayoutTests/fast/regions/dialog-autosize-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698