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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/dont-invalidate-root-layer-when-composited-layer-becomes-visible.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t> 4 <script src="resources/text-based-repaint.js" type="text/javascript"></scrip t>
5 <script type="text/javascript"> 5 <script type="text/javascript">
6 window.onload = function() { 6 window.onload = function() {
7 runRepaintTest(); 7 runRepaintTest();
8 }; 8 };
9 9
10 function repaintTest() { 10 function repaintTest() {
11 document.getElementById('target').style.visibility = 'visible'; 11 document.getElementById('target').style.visibility = 'visible';
12 } 12 }
13 </script> 13 </script>
14 </head> 14 </head>
15 <body> 15 <body>
16 <div id="target" 16 <div id="target"
17 style="will-change: transform; 17 style="will-change: transform;
18 visibility:hidden; 18 visibility:hidden;
19 position: absolute; 19 position: absolute;
20 top: 200px; left: 200px; 20 top: 200px; left: 200px;
21 width: 200px; height: 200px; 21 width: 200px; height: 200px;
22 background-color: redl "></div> 22 background-color: redl "></div>
23 </body> 23 </body>
24 </html> 24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698