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

Side by Side Diff: LayoutTests/fast/regions/auto-size/autoheight-singleregion-multiplebreaks.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
8 #p2, #p3 { -webkit-region-break-before: always; }
9
10 .regionSize { width: 250px; }
11 #region { -webkit-flow-from: flow; -webkit-region-fragment: break; p osition: absolute; top: 100px; }
12
13 .redBox { position: absolute; height: 50px; background-color: red; }
14 #red { top: 150px; }
15 </style>
16 </head>
17 <body>
18 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=91097"> Aut o height is not working for regions</a>.</p>
19 <p>The region is a block element. The flow has multiple forced breaks in side it. The first break sets the region height.</p>
20 <p>On success, you should see 1 green line.</p>
21 <div id="red" class="redBox regionSize"></div>
22
23 <div id="article" class="flowContent">
24 <p id="p1">aaaaa</p>
25 <p id="p2">aaaaa</p>
26 <p id="p3">aaaaa</p>
27 </div>
28
29 <div id="region" class="regionSize"></div>
30 </body>
31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698