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

Side by Side Diff: LayoutTests/fast/regions/top-overflow-out-of-second-region.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 {
5 -webkit-flow-into: flow1;
6 text-align: justify;
7 padding: 5px;
8 }
9
10 #first-box {
11 border: 1px solid blue;
12 margin-top:100px;
13 }
14
15 #second-box {
16 margin:-100px auto 0 auto;
17 border: 1px solid green;
18 width:75%
19 }
20
21 #region1, #region2, #region3 {
22 border: 1px solid black;
23 -webkit-flow-from: flow1;
24 }
25
26 #region1 {
27 width: 300px;
28 height: 100px;
29 }
30
31 #region2 {
32 width: 400px;
33 height: 200px;
34 }
35
36 #region3 {
37 width: 0px;
38 height: 0px;
39 }
40 </style>
41
42 <body>
43
44 <p>In the test case below, the green block's width should not vary and should us e the second region to determine its width.
45 It is overflowing upwards out of the blue block, and so the portion that overflo ws should continue to use the blue block's
46 containing block width. The blue block does not exist in region one, so using so me hypothetical made-up width is incorrect.
47 The overflow should be spilling out of the top of region two and be painted in r egion one.
48
49 <div id="content">
50 <div id="first-box">
51 <div id="second-box">
52 <p>These lines should all fit to the width of the block in the secon d region and spill out of the top of the second
53 region.</P>
54 <p>These lines should all fit to the width of the block in the seco nd region and spill out of the top of the second
55 region.</P>
56 </div>
57 </div>
58 </div>
59
60 <div id="container">
61 <div id="region1"></div>
62 <div id="region2"></div>
63 <div id="region3"></div>
64 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698