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

Side by Side Diff: LayoutTests/fast/regions/float-pushed-width-change.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
5 @font-face {
6 font-family: webkit-ahem;
7 font-style: normal;
8 src: url(../../resources/Ahem.ttf);
9 }
10
11 #content {
12 -webkit-flow-into: flow1;
13 padding: 5px;
14 }
15
16 #float1 {
17 float: left;
18 width: 150px;
19 height: 100px;
20 background-color:green
21 }
22
23 #float2 {
24 float:right;
25 width:200px;
26 height:30px;
27 background-color:orange
28 }
29
30 #region1, #region2, #region3 {
31 border: 1px solid black;
32 -webkit-flow-from: flow1;
33 }
34
35 #region1 {
36 width: 180px;
37 height: 90px;
38 }
39
40 #region2 {
41 width: 400px;
42 height: 90px;
43 }
44
45 #region3 {
46 width: 400px;
47 height: 90px;
48 }
49 </style>
50
51 <p>In the example below, the green float should be at the top of the first regio n and on the left. It should spill into region two.
52 The orange float should be on the right at the top of region two.</p>
53
54 <div id="content">
55 <div id="first-box">
56 <div id="second-box">
57 <p><img id="float1"><img id="float2">
58 <p>This line of text should not get out of the region. This line of text should not get out of the region.</p>
59 <p>This line of text should not get out of the region. This line of text should not get out of the region.</p>
60 <p>This line of text should not get out of the region.</p>
61
62 </div>
63 </div>
64 </div>
65
66 <div id="container">
67 <div id="region1"></div>
68 <div id="region2"></div>
69 <div id="region3"></div>
70 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698