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

Side by Side Diff: LayoutTests/fast/regions/auto-size/autoheight-mixed-parallel-regions.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 <html>
2 <head>
3 <style>
4 .content {
5 font-family: Ahem;
6 font-size: 10px;
7 }
8
9 #content1 {
10 -webkit-flow-into: flow1;
11 }
12
13 #content2 {
14 -webkit-flow-into: flow2;
15 }
16
17 #c1, #c2 {
18 border: thin solid black;
19 position: relative;
20 }
21
22 .region1 {
23 border: thick solid blue;
24 -webkit-flow-from: flow1;
25 width: 200px;
26 }
27
28 .region2 {
29 border: thick solid red;
30 -webkit-flow-from: flow2;
31 width: 200px;
32 }
33
34 #region1 {
35 position: fixed;
36 bottom: 200px;
37 right: 100px;
38 max-height: 100px;
39 }
40
41 #region2 {
42 }
43
44 #region3 {
45 height: 100%;
46 top: 0px;
47 left: 220px;
48 position: absolute;
49 }
50
51 #region4 {
52 max-height: 200px;
53 }
54
55 #region5 {
56 top: 0px;
57 left: 220px;
58 height: 100%;
59 position: absolute;
60 }
61
62 #region6 {
63 max-height: 300px;
64 }
65 </style>
66 <script src="../../../resources/check-layout.js"></script>
67 </head>
68 <body>
69 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=111969">[CSS Re gions] Nested auto-height regions don't layout correctly</a>.</p>
70 <div class="content" id="content1">Lorem ipsum dolor sit amet, consectetur a dipiscing elit. Aenean urna orci, consequat sed lobortis in, convallis et velit. Ut elementum lacus ac dui vestibulum eu condimentum mi luctus. Fusce pharetra t urpis id erat congue nec aliquam leo venenatis. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Class aptent taciti socios qu ad litora torquent per conubia nostra, per inceptos himenaeos. Sed egestas ul trices mauris sed tempor. Maecenas vitae libero ut nisl gravida eleifend blandit non risus. Fusce gravida venenatis dolor eu imperdiet.
71 </div>
72 <div class="content" id="content2">Ut at tortor ligula. Cras tempor sem sed tellus convallis tincidunt eget eget dolor. In facilisis ante at turpis semper s emper. Fusce dui dolor, rhoncus et cursus in, malesuada in justo. Curabitur vulp utate aliquet tincidunt. Quisque sit amet massa justo, in bibendum leo. Aliquam lacinia pharetra justo. Suspendisse rhoncus justo nec diam cursus ullamcorper. N am porttitor porttitor libero, convallis sollicitudin nunc euismod at. Proin tem pus auctor turpis ut congue. Nullam ornare interdum eros sed suscipit. Ut at tor tor ligula. Cras tempor sem sed tellus convallis tincidunt eget eget dolor. In f acilisis ante at turpis semper semper. Fusce dui dolor, rhoncus et cursus in, ma lesuada in justo. Curabitur vulputate aliquet tincidunt. Quisque sit amet massa justo, in bibendum leo. Aliquam lacinia pharetra justo. Suspendisse rhoncus just o nec diam cursus ullamcorper. Nam porttitor porttitor libero, convallis sollici tudin nunc euismod at. Proin tempus auctor turpis ut congue. Nullam ornare inter dum eros sed suscipit.
73 </div>
74 <div class="region1" id="region1"></div>
75 <div id="c1">
76 <div class="region1" id="region2"></div>
77 <div class="region2" id="region3"></div>
78 </div>
79 <div id="c2" data-expected-height=522>
80 <div class="region2" id="region4"></div>
81 <div class="region2" id="region5"></div>
82 <div class="region2" id="region6"></div>
83 </div>
84 <script type="text/javascript">
85 checkLayout("#c2");
86
87 var newDiv = document.createElement("div");
88 newDiv.className = "content";
89 var newContent = document.createTextNode("When resizing the window the regio ns should not change.");
90 newDiv.appendChild(newContent);
91 containerDiv = document.getElementById("c2");
92 containerDiv.appendChild(newDiv);
93 containerDiv.setAttribute("data-expected-height", 532);
94
95 checkLayout("#c2");
96 </script>
97 </body>
98 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698