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

Side by Side Diff: third_party/WebKit/LayoutTests/transforms/transform-focus-ring-repaint.html

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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="../fast/repaint/resources/text-based-repaint.js"></script> 2 <script src="../fast/repaint/resources/text-based-repaint.js"></script>
3 <script> 3 <script>
4 function repaintTest() { 4 function repaintTest() {
5 document.getElementById('target').style.outline = 'red auto thin'; 5 document.getElementById('target').style.outline = 'red auto thin';
6 } 6 }
7 onload = runRepaintTest; 7 onload = runRepaintAndPixelTest;
8 </script> 8 </script>
9 <div style="height: 50px"> 9 <div style="height: 50px">
10 Result repaint rects should cover the whole focus ring. 10 Result repaint rects should cover the whole focus ring.
11 </div> 11 </div>
12 <div id="target" style="position: absolute; backface-visibility: hidden; width: 200px; height: 200px; background-color: yellow"> 12 <div id="target" style="position: absolute; backface-visibility: hidden; width: 200px; height: 200px; background-color: yellow">
13 <div style="transform: rotate(90deg); position: absolute; top: 100px; left: 100px; background-color: blue; width: 300px; height: 300px"> 13 <div style="transform: rotate(90deg); position: absolute; top: 100px; left: 100px; background-color: blue; width: 300px; height: 300px">
14 <div style="position: absolute; top: 100px; left: 40px; background-color : green; width: 400px; height: 100px"></div> 14 <div style="position: absolute; top: 100px; left: 40px; background-color : green; width: 400px; height: 100px"></div>
15 </div> 15 </div>
16 </div> 16 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698