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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/invalidation-after-opacity-change-subtree.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 <style> 2 <style>
3 #container { 3 #container {
4 opacity: 0; 4 opacity: 0;
5 font: 10px/1 Ahem; 5 font: 10px/1 Ahem;
6 } 6 }
7 7
8 #absolute { 8 #absolute {
9 position: absolute; 9 position: absolute;
10 top: 2000px; 10 top: 2000px;
11 font: 50px/1 Sherif; 11 font: 50px/1 Sherif;
12 } 12 }
13 </style> 13 </style>
14 <div id="container"> 14 <div id="container">
15 <div id="absolute"> 15 <div id="absolute">
16 <p>This test checks that switching opacity invalidates the full subtree. </p> 16 <p>This test checks that switching opacity invalidates the full subtree. </p>
17 <p>This text should be visible in the output.</p> 17 <p>This text should be visible in the output.</p>
18 </div> 18 </div>
19 </div> 19 </div>
20 <script src="resources/text-based-repaint.js"></script> 20 <script src="resources/text-based-repaint.js"></script>
21 <script> 21 <script>
22 22
23 function repaintTest() { 23 function repaintTest() {
24 window.scrollTo(0, 2000); 24 window.scrollTo(0, 2000);
25 container.style.opacity = "1"; 25 container.style.opacity = "1";
26 }; 26 };
27 runRepaintAndPixelTest(); 27 runRepaintAndPixelTest();
28 </script> 28 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698