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

Side by Side Diff: LayoutTests/fast/regions/auto-size/autoheight-maxheight-region.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; font-family: Ahem; line-height: 2; c olor: green; }
6 #article { -webkit-flow-into: flow; padding-top: 25px; }
7
8 .regionSize { width: 250px; max-height: 100px; }
9 #region { -webkit-flow-from: flow; overflow: hidden; position: absol ute; top: 100px; }
10
11 .expectedRegionSize { width: 250px; height: 50px; }
12 #red { position: absolute; top: 150px; background-color:red; }
13 </style>
14 </head>
15 <body>
16 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=91097"> Aut o height is not working for regions</a>.</p>
17 <p>The region is a block element in normal flow, having max-height speci fied.</p>
18 <p>On success, you should see 1 green line.</p>
19 <div id="red" class="expectedRegionSize"></div>
20 <div id="article" class="flowContent">
21 <span style="background-color: green">
22 a a a a a a a a a
23 </span>
24 </div>
25 <div id="region" class="regionSize"></div>
26 </body>
27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698