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

Side by Side Diff: LayoutTests/fast/regions/percentage-margins-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 <html>
3 <head>
4 <style>
5 p {
6 margin-top: 16px;
7 margin-bottom: 16px;
8 }
9
10 .content {
11 text-align: justify;
12 padding: 5px;
13 font-size: 10px;
14 font-family: Ahem;
15 }
16
17 .first-box {
18 border: 1px solid blue;
19 margin:0 10%;
20 }
21
22 .second-box {
23 margin:10px;
24 border: 1px solid green;
25 }
26
27 #region1, #region2, #region3 {
28 border: 1px solid black;
29 }
30
31 #region1 {
32 width: 200px;
33 height: 100px;
34 overflow: hidden;
35 }
36
37 #region2 {
38 width: 300px;
39 height: 180px;
40 overflow: hidden;
41 }
42
43 #region3 {
44 width: 120px;
45 height: 120px;
46 }
47 </style>
48 </head>
49 <body>
50 <p>The text lines should not overflow the regions. The fragment boxes should res pect the margin values for their regions.</p>
51 <div id="container">
52 <div id="region1">
53 <div class="content">
54 <div class="first-box">
55 <div class="second-box">
56 <p>This line of text should not get out of the region. This line of text <span style="line-height: 100px;">XXXXXXX</span></p>
57 </div>
58 </div>
59 </div>
60 </div>
61 <div id="region2">
62 <div class="content" style="margin-top: -33px;">
63 <div class="first-box">
64 <div class="second-box">
65 <p>should not get out of the region. This line of text shoul d not get out of the region. This line of text should not get out of the region. </p>
66 <p>This line of text should not get out of the region. This line of text should not get out of the region. This line of text should not get out of the region. This line of text <span style="line-height: 100px;">XXXXXX</s pan></p>
67 </div>
68 </div>
69 </div>
70 </div>
71 <div id="region3">
72 <div class="content" style="overflow: hidden;">
73 <div class="first-box" style="margin-top: -33px;">
74 <div class="second-box">
75 <p>should not get out of the region.</p>
76 <p>This line of text should not get out of the region.</p>
77 </div>
78 </div>
79 </div>
80 </div>
81 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698