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

Side by Side Diff: LayoutTests/fast/repaint/region-painting-via-layout.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 <title>Test for https://bugs.webkit.org/show_bug.cgi?id=69932</title>
4 <script>
5 if (window.testRunner)
6 window.testRunner.overridePreference("WebKitCSSRegionsEnabled", "1");
7 </script>
8 <style type="text/css">
9 #content {
10 -webkit-flow-into: flow1;
11 position:relative;
12 padding-top:1000px;
13 }
14
15 #target { height: 200px; background-color: red }
16
17 #region1, #region2, #region3 {
18 -webkit-flow-from: flow1;
19 }
20
21 #region1 {
22 width: 300px;
23 height: 1000px;
24 background-color:red
25 }
26
27 #region2 {
28 width: 100%;
29 height: 180px;
30 border:1px solid black;
31 background-color:red
32 }
33
34 </style>
35 <script src="resources/repaint.js" type="text/javascript"></script>
36 <script>
37 function repaintTest()
38 {
39 document.getElementById('target').style.fontSize = '36px';
40 document.getElementById('target').style.backgroundColor = 'green';
41 }
42 </script>
43 </head>
44 <body onload="runRepaintTest();">
45 <div id="content"><div><div id="target"></div></div>
46 </div>
47 <div style="position:absolute;width:0;height:0;overflow:hidden">
48 <div id="region1"></div>
49 </div>
50
51 <div id="region2"></div>
52 </body>
53 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698