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

Side by Side Diff: LayoutTests/fast/regions/text-region-split.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
3 <style>
4 #content { -webkit-flow-into: flow; }
5 .region { -webkit-flow-from: flow; }
6 .finished #content, .finished .region { display: none; }
7
8 #region1 { width: 70px; height: 60px; }
9 #region2 { width: 200px; height: 100px; }
10 #region3 { width: 110px; height: 120px; }
11 #region4 { width: 220px; height: 100px; }
12 #region5 { width: 110px; height: 200px; }
13 #region6 { width: 300px; height: 120px; }
14 </style>
15
16 <div id="content">
17 <p style="-webkit-region-break-after: always"><b class="check region1">Text in region 1.</b> This paragraph has "<i>-webkit-region-break-after: always</i>". <b class="check region2">There should be nothing in this region after this line .</b></p>
18
19 <p><b class="check region3">First element in the region 3.</b> Some text ins ide a flow. Some text inside a flow. Some text inside a flow. <b class="check re gion4">Text in region 4.</b> </p>
20
21 <p>
22 <!-- Using the paragraph element to test nested blocks region-breaks. -- >
23 <div><span class="check region4">Simple line in region 4.</span></div>
24 <div style="margin-top:50px;"><b class="check region5">First line in reg ion 5.</b> This paragraph displays in region 5 because it has a margin-top, whic h is too high to fit in the previous region.</div>
25 <div style="-webkit-region-break-before: always"><b class="check region6 ">First line in region 6.</b> This paragraph uses "<i>-webkit-region-break-befor e: always</i>".</div>
26 </p>
27 </div>
28
29 <div id="region1" class="region"></div>
30 <div id="region2" class="region"></div>
31 <div id="region3" class="region"></div>
32 <div id="region4" class="region"></div>
33 <div id="region5" class="region"></div>
34 <div id="region6" class="region"></div>
35
36 <script src="resources/helper.js"></script>
37 <script>
38 if (window.testRunner)
39 testRunner.dumpAsText();
40 if (testContentToRegionsMapping())
41 document.body.className = "finished";
42 </script>
OLDNEW
« no previous file with comments | « LayoutTests/fast/regions/text-region-breaks-expected.txt ('k') | LayoutTests/fast/regions/text-region-split-after-resize.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698