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

Side by Side Diff: LayoutTests/fast/regions/auto-size/autosize-region-container-resize.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 html {
6 font: 16px/1.25 monospace;
7 }
8
9 #article {
10 -webkit-flow-into: article;
11 }
12
13 #regionContainer {
14 width: 600px;
15 }
16
17 #region {
18 -webkit-flow-from: article;
19 width: auto;
20 height: auto;
21 border: 5px solid green;
22 }
23
24 #region2 {
25 -webkit-flow-from: article;
26 width: 300px;
27 height: 40px;
28 border: 5px solid blue;
29 position: absolute;
30 top: 150px;
31 }
32 </style>
33 </head>
34 <body>
35 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=102221">WebKit Bug 102221</a> [CSS Regions] Auto-sized regions don't recompute their dimensions on window resize</p>
36 <p>On success you should not see any text in the blue border region.</p>
37 <div id="article">
38 Lorem ipsum dolor sin amet Lorem ipsum dolor sin amet
39 </div>
40 <div id="regionContainer">
41 <div id="region"></div>
42 </div>
43 <div id="region2"></div>
44 <script>
45 document.body.offsetTop;
46 document.getElementById("regionContainer").style.width = "310px";
47 </script>
48 </body>
49 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698