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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/add-transform-repaint-descendants.html

Issue 2327223002: Move all remaining fast/repaint tests 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 <script src="../../resources/run-after-layout-and-paint.js"></script> 2 <script src="../../fast/../resources/run-after-layout-and-paint.js"></script>
3 <script> 3 <script>
4 runAfterLayoutAndPaint(function() { 4 runAfterLayoutAndPaint(function() {
5 document.getElementById('target').style.transform = 'translate(0, 0)'; 5 document.getElementById('target').style.transform = 'translate(0, 0)';
6 }, true); 6 }, true);
7 </script> 7 </script>
8 <style> 8 <style>
9 body { margin : 0 } 9 body { margin : 0 }
10 div { width: 100px; height: 100px; } 10 div { width: 100px; height: 100px; }
11 </style> 11 </style>
12 Tests invalidation and painting of descendants of an element adding transform. 12 Tests invalidation and painting of descendants of an element adding transform.
13 <div style="position: absolute; top: 300px; background-color: red"></div> 13 <div style="position: absolute; top: 300px; background-color: red"></div>
14 <div id="target" style="position: absolute; top: 100px; backgorund-color: red"> 14 <div id="target" style="position: absolute; top: 100px; backgorund-color: red">
15 <div id="1" style="background-color: green"></div> 15 <div id="1" style="background-color: green"></div>
16 <div id="2" style="position: relative; top: 100px; background-color: green"></ div> 16 <div id="2" style="position: relative; top: 100px; background-color: green"></ div>
17 </div> 17 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698