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

Side by Side Diff: LayoutTests/fast/regions/auto-size/autoheight-middleregion.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 .flowContent { font-size: 50px; color: green; font-family: Ahem; }
6 #article { -webkit-flow-into: flow; }
7 #p2 { -webkit-region-break-after: always; }
8
9 .regionSize { width: 250px; }
10 #region { -webkit-flow-from: flow; height: 100px; position: absolute ; top: 150px; }
11 #region2 { -webkit-flow-from: flow; position: absolute; top: 150px; background-color: green; left: 300px; }
12 #region3 { -webkit-flow-from: flow; height: 100px; position: absolut e; top: 150px; left: 600px; }
13
14 .redBox { position: absolute; height: 150px; background-color: red; }
15 .redBox2 { position: absolute; height: 50px; background-color: red; }
16 #red { top: 200px; }
17 #red1 { top: 200px; left: 600px; }
18 #red2 { top: 150px; left: 300px; }
19 </style>
20 </head>
21 <body>
22 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=91097"> Aut o height is not working for regions</a>.</p>
23 <p>The first region has specified height,the second region is auto-heigh t and the third region has specified height. The height of the second region is determined by the break from the second paragraph.</p>
24 <p>On success, you should see 2 green lines and 1 green rectangle.</p>
25 <div id="red" class="redBox2 regionSize"></div>
26 <div id="red1" class="redBox2 regionSize"></div>
27 <div id="red2" class="redBox regionSize"></div>
28 <div id="article" class="flowContent">
29 <p id="p1">aaaaa</p>
30 <p id="p2">aaaaa</p>
31 <p id="p3">aaaaa</p>
32 </div>
33 <div id="region" class="regionSize"></div>
34 <div id="region2" class="regionSize"></div>
35 <div id="region3" class="regionSize"></div>
36 </body>
37 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698