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

Side by Side Diff: LayoutTests/fast/regions/fit-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>Region with fit-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 -webkit-flow-into: flow;
13 }
14
15 #region {
16 height: -webkit-fit-content;
17 width: -webkit-fit-content;
18 -webkit-flow-from: flow;
19 overflow: hidden;
20 position: absolute;
21 }
22
23 #red {
24 height: 20px;
25 width: 80px;
26 position: absolute;
27 background-color: red;
28 }
29 </style>
30 </head>
31 <body>
32 <ul>
33 <li>Test passes if you see a green horizontal stripe.</li>
34 <li>You shouldn't see any red.</li>
35 </ul>
36 <span class="content">XXXX</span>
37 <div id="red"></div>
38 <div id="region"></div>
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698