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

Side by Side Diff: LayoutTests/fast/regions/minmax-content-height-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 <html>
3 <head>
4 <title>Regions with min-content or max-content height</title>
5 <style type="text/css">
6 .content {
7 font-family: Ahem;
8 font-size: 20px;
9 line-height: 1em;
10 color: green;
11 background-color: green;
12 }
13
14 #minContent {
15 -webkit-flow-into: minFlow;
16 }
17
18 #maxContent {
19 -webkit-flow-into: maxFlow;
20 }
21
22 .region {
23 overflow: hidden;
24 position: absolute;
25 }
26
27 #minRegion {
28 -webkit-flow-from: minFlow;
29 height: -webkit-min-content;
30 }
31
32 #maxRegion {
33 -webkit-flow-from: maxFlow;
34 height: -webkit-max-content;
35 left: 100px;
36 }
37
38 .red {
39 height: 20px;
40 width: 80px;
41 position: absolute;
42 background-color: red;
43 }
44
45 #maxRed {
46 left: 100px;
47 }
48 </style>
49 </head>
50 <body>
51 <ul>
52 <li>Test passes if you see two green stripes on the same horizon tal line.</li>
53 <li>You shouldn't see any red.</li>
54 </ul>
55 <span id="minContent" class="content">XXXX</span>
56 <span id="maxContent" class="content">XXXX</span>
57
58 <div class="red"></div>
59 <div id="maxRed" class="red"></div>
60 <div id="minRegion" class="region"></div>
61 <div id="maxRegion" class="region"></div>
62 </body>
63 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698