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

Side by Side Diff: LayoutTests/fast/regions/text-region-split-vertical.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 html { -webkit-writing-mode: vertical-lr; }
5
6 #content { -webkit-flow-into: flow; }
7 .region { -webkit-flow-from: flow; }
8 .finished #content, .finished .region { display: none; }
9
10 #region1 { height: 70px; width: 60px; }
11 #region2 { height: 200px; width: 150px; }
12 #region3 { height: 110px; width: 120px; }
13 #region4 { height: 220px; width: 100px; }
14 #region5 { height: 110px; width: 200px; }
15 #region6 { height: 300px; width: 120px; }
16 </style>
17
18 <div id="content">
19 <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>
20
21 <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>
22
23 <p>
24 <!-- Using the paragraph element to test nested blocks region-breaks. -- >
25 <div><span class="check region4">Simple line in region 4.</span></div>
26 <div style="-webkit-margin-before:50px;"><b class="check region5">First line in region 5.</b> This paragraph displays in region 5 because it has a margi n-top, which is too high to fit in the previous region.</div>
27 <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>
28 </p>
29 </div>
30
31 <div id="region1" class="region"></div>
32 <div id="region2" class="region"></div>
33 <div id="region3" class="region"></div>
34 <div id="region4" class="region"></div>
35 <div id="region5" class="region"></div>
36 <div id="region6" class="region"></div>
37
38 <script src="resources/helper.js"></script>
39 <script>
40 if (window.testRunner)
41 testRunner.dumpAsText();
42 if (testContentToRegionsMapping())
43 document.body.className = "finished";
44 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698