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

Side by Side Diff: LayoutTests/fast/regions/overflow-in-uniform-regions.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 {
5 line-height: 18px;
6 }
7
8 #content {
9 -webkit-flow-into: flow1;
10 text-align: justify;
11 padding: 5px;
12 }
13
14 #first-box {
15 border: 1px solid blue;
16 padding:5px;
17 }
18
19 #second-box {
20 border: 1px solid green;
21 overflow:hidden;
22 height: 216px; /* 12 * line-height */
23 }
24
25 #region1, #region2, #region3 {
26 border: 1px solid black;
27 -webkit-flow-from: flow1;
28 }
29
30 #region1 {
31 width: 400px;
32 height: 143px;
33 }
34
35 #region2 {
36 width: 400px;
37 height: 150px;
38 }
39
40 #region3 {
41 width: 400px;
42 height: 150px;
43 }
44
45 .float { width:30px; height:50px; background-color: lime }
46 .left { float: left }
47 .right { float: right }
48 </style>
49
50 <body>
51 <p>The first and last lines of text in the regions below should be clipped to th e green box. The overflow
52 section sizes itself and clips differently in each region. The green box should be even with the lime floats at the top of the first region.</p>
53
54 <div id="content">
55 <div id="first-box">
56 <div class="float left"></div> <div class="float right"></div>
57 <div id="second-box">
58 <p>This is a paragraph that spans more than one line but less than t hree lines.</p>
59 <p>1<br>2<br>3<br>4<br>This paragraph spans three lines in region1 a nd then flows into three lines in region2.</p>
60 </div>
61 </div>
62 </div>
63
64 <div id="container">
65 <div id="region1"></div>
66 <div id="region2"></div>
67 <div id="region3"></div>
68 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698