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

Side by Side Diff: LayoutTests/fast/repaint/region-painting-in-composited-view-expected.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 <head>
3 <title>Test for https://bugs.webkit.org/show_bug.cgi?id=102826</title>
4 <style type="text/css">
5 #region1, #region2 {
6 position: absolute;
7 top: 0px;
8 left: 0px;
9 width: 100px;
10 height: 50px;
11 }
12
13 #region1 {
14 left: 120px;
15 background-color: red;
16 /* We need a composited layer, to make the output
17 exactly the same as the test file. */
18 -webkit-transform: translate3d(0,0,0);
19 }
20
21 #region2 {
22 background-color: green;
23 }
24
25 </style>
26 <script src="resources/repaint.js" type="text/javascript"></script>
27 <script>
28 function repaintTest()
29 {
30 // Using the same repaint behavior, so that we get the same repaint area.
31 document.getElementById('region1').style.backgroundColor = 'green';
32 }
33 </script>
34 </head>
35 <body onload="runRepaintTest();">
36 <div id="region1"></div>
37 <div id="region2"></div>
38 </body>
39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698