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

Side by Side Diff: LayoutTests/fast/regions/auto-size/autoheight-break-after-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 <!doctype html>
2 <html>
3 <head>
4 <style>
5 .region {
6 width: 200px;
7 margin: 10px;
8 float: left;
9 overflow: hidden;
10 }
11 .regionAuto {
12 border: thick solid red;
13 }
14 .regionNonAuto {
15 height: 200px;
16 border: thick solid blue;
17 }
18 #break_after {
19 -webkit-region-break-after: always;
20 margin-bottom: 100px;
21 }
22 .region > p {
23 font-family: Ahem;
24 font-size: 10px;
25 }
26 </style>
27 </head>
28 <body>
29 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=112241"> [C SS Regions] Break after doesn't work correctly with auto-height regions</a>.</p>
30 <p>There are three regions: one with auto-height (red), one with a speci fied height (blue) and the last one with auto-height (red). The first region con tains a paragraph with a break after. The last auto-height region should fit the lorem ipsum content fragment.</p>
31 <p>On success, you should not see overflow in the last region.</p>
32 <div class="region regionAuto"><p id="break_after">BreakAfter</p></div>
33 <div class="region regionNonAuto"><p style="margin-bottom: 0px;">Lorem i psum dolor sit amet, consectetur adipiscing elit. Quisque tempor est eu turpis t incidunt at sollicitudin felis fermentum. Nullam sollicitudin eros at elit facil isis condimentum. Ut tempor, nunc at volutpat cursus, sapien mi gravida velit, u t ullamcorper felis nunc ac risus. Suspendisse vel eros</p></div>
34 <div class="region regionAuto"><p style="margin-top: 0px;">tortor, non c ursus metus. Nam hendrerit pharetra sapien, sodales mattis arcu varius a. Curabi tur non arcu id sem hendrerit tincidunt vel a nisi. Phasellus at erat nec nunc c onsectetur posuere. Aliquam consequat tempus pulvinar. Pellentesque ut sapien qu is urna vestibulum dignissim.</p></div>
35 </body>
36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698