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

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/compositing/compositing-reason-removed.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
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #square {
4 background-color: blue;
5 width: 30px;
6 height: 30px;
7 position: relative;
8 -webkit-backface-visibility: hidden;
9 }
10
11 #testResults {
12 display: none;
13 }
14 </style>
15
16 <script src="../resources/text-based-repaint.js"></script>
17 <script>
18 function repaintTest() {
19 // Remove the div's only compositing reason. This should trigger a repaint.
20 document.getElementById("square").style.webkitBackfaceVisibility = "visible" ;
21 }
22 runRepaintAndPixelTest();
23 </script>
24
25 <div id="square"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698