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

Side by Side Diff: LayoutTests/fast/repaint/region-painting-invalidation.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=78787</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 }
12
13 #target { height: 100px; background-color: red }
14
15 #region1, #region2 {
16 -webkit-flow-from: flow1;
17 }
18
19 #region1 {
20 width: 300px;
21 height: 150px;
22 border:1px solid black;
23 background-color:red;
24 }
25
26 #region2 {
27 width: 300px;
28 height: 200px;
29 border:1px solid black;
30 background-color:red;
31 }
32
33 </style>
34 <script src="resources/repaint.js" type="text/javascript"></script>
35 <script>
36 function repaintTest()
37 {
38 document.getElementById('target').style.height = '350px';
39 document.getElementById('target').style.backgroundColor = 'green';
40 }
41 </script>
42 </head>
43 <body onload="runRepaintTest();">
44 <div id="content">
45 <div id="target"></div>
46 </div>
47
48 <div id="region1"></div><br/>
49 <div id="region2"></div>
50 </body>
51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698