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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/repaint/should-not-repaint-composited-z-index.html

Issue 1972273002: Let repaint tests test pixels by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 #composited-box { 3 #composited-box {
4 backface-visibility: hidden; 4 backface-visibility: hidden;
5 width: 100px; 5 width: 100px;
6 height: 100px; 6 height: 100px;
7 background-color: green; 7 background-color: green;
8 z-index: 1; 8 z-index: 1;
9 } 9 }
10 </style> 10 </style>
11 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> 11 <script src="../../fast/repaint/resources/repaint.js"></script>
12 <script> 12 <script>
13 function repaintTest() { 13 function repaintTest() {
14 document.getElementById('composited-box').style.zIndex = 2; 14 document.getElementById('composited-box').style.zIndex = 2;
15 } 15 }
16 window.onload = runRepaintTest; 16 window.onload = runRepaintTest;
17 </script> 17 </script>
18 <div id="composited-box"></div> 18 <div id="composited-box"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698