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

Side by Side Diff: LayoutTests/fast/regions/autoheight-singleregion-breakaftermargin.html

Issue 16690004: [CSS Regions] Rename region-overflow to region-fragment (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch Created 7 years, 6 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
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 .flowContent { font-size: 50px; color: green; font-family: Ahem; } 5 .flowContent { font-size: 50px; color: green; font-family: Ahem; }
6 #article { -webkit-flow-into: flow; } 6 #article { -webkit-flow-into: flow; }
7 7
8 #p1 { -webkit-region-break-after: always; margin-top: 75px; margin-b ottom: 75px; } 8 #p1 { -webkit-region-break-after: always; margin-top: 75px; margin-b ottom: 75px; }
9 9
10 .regionSize { width: 250px; } 10 .regionSize { width: 250px; }
11 #region { -webkit-flow-from: flow; -webkit-region-overflow: break; p osition: absolute; top: 150px; border: 15px solid green;} 11 #region { -webkit-flow-from: flow; -webkit-region-fragment: break; p osition: absolute; top: 150px; border: 15px solid green;}
12 12
13 .redContainer { border: 15px solid red; position: absolute; top: 150 px; width: 250px; height: 200px; } 13 .redContainer { border: 15px solid red; position: absolute; top: 150 px; width: 250px; height: 200px; }
14 .redBox { width: 250px; height: 50px; margin-top: 75px; margin-botto m: 75px; background-color: red; } 14 .redBox { width: 250px; height: 50px; margin-top: 75px; margin-botto m: 75px; background-color: red; }
15 </style> 15 </style>
16 </head> 16 </head>
17 <body> 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> 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 a forced break inside it, after an element</p> 19 <p>The region is a block element. The flow has a forced break inside it, after an element</p>
20 <p>On success, you should see 1 green line inside a rectangle with a gre en border.</p> 20 <p>On success, you should see 1 green line inside a rectangle with a gre en border.</p>
21 21
22 <div class="redContainer"> 22 <div class="redContainer">
23 <div class="redBox"></div> 23 <div class="redBox"></div>
24 </div> 24 </div>
25 25
26 <div id="article" class="flowContent"> 26 <div id="article" class="flowContent">
27 <p id="p1">aaaaa</p> 27 <p id="p1">aaaaa</p>
28 <p id="p2">aaaaa</p> 28 <p id="p2">aaaaa</p>
29 <p id="p3">aaaaa</p> 29 <p id="p3">aaaaa</p>
30 </div> 30 </div>
31 31
32 <div id="region"></div> 32 <div id="region"></div>
33 </body> 33 </body>
34 </html> 34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698