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

Side by Side Diff: LayoutTests/fast/regions/overflow-not-moving-below-floats-in-variable-width-regions-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 <link rel="stylesheet" href="resources/region-style.css">
3 <style>
4 body { -webkit-font-smoothing: none; font: 16px/1.25 monospace; }
5
6 .secondBox {
7 width: 75%;
8 margin: auto;
9 }
10
11 #region1, #region2, #region3 {
12 border: 1px solid black;
13 overflow-y: hidden;
14 }
15
16 #region1 {
17 width: 300px;
18 height: 100px;
19 }
20
21 #region2 {
22 width: 404px;
23 height: 180px;
24 }
25
26 #region3 {
27 width: 220px;
28 height: 120px;
29 }
30 </style>
31 </head>
32 <body>
33 <p>The first and last lines of text in the regions below should be clipped to th e green box. The overflow
34 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>
35
36 <div id="container">
37 <div id="region1">
38 <div class="overflowContent">
39 <div class="overflowFirstBox">
40 <div class="overflowBox floatLeft"></div><div class="overflowBox floatRight"></div>
41 <div class="overflowSecondBox secondBox">
42 <div style="width: 500px">Clipped line of text that should n ot be visible.</div>
43 <p>These lines will not spill out of the </p>
44 <br/>
45 </div>
46 </div>
47 </div>
48 </div>
49 <div id="region2">
50 <div class="overflowContent" style="padding-top: 0px;">
51 <div class="overflowFirstBox" style="border-top-width: 0px;">
52 <div class="overflowSecondBox secondBox" style="margin-top: 0px; border-top-width: 0px;">
53 <p style="margin-top: 0px;">regions. These lines will not sp ill out of the regions. These lines will not spill out of the regions. These lin es will not spill out of the regions.</p>
54 <p>These lines will not spill out of the regions. These</p>
55 </div>
56 </div>
57 </div>
58 </div>
59 <div id="region3">
60 <div class="overflowContent" style="padding-top: 0px;">
61 <div class="overflowFirstBox" style="border-top-width: 0px;">
62 <div class="overflowSecondBox secondBox" style="margin-top: 0px; border-top-width: 0px;">
63 <p style="margin-top: 0px;">lines will not spill out of the regions.</p><div style="width:500px">Clipped line of text that should not be vis ible.</div></div>
64 </div>
65 </div>
66 </div>
67 </div>
68 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698