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

Side by Side Diff: third_party/WebKit/LayoutTests/compositing/squashing/tricky-element-removal-crash.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, 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 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> 2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
3 <div style="width: 200px; height: 200px; transform: translateZ(0); background-co lor: salmon;"></div> 3 <div style="width: 200px; height: 200px; transform: translateZ(0); background-co lor: salmon;"></div>
4 <div style="position: absolute; z-index: 0; top: 8px; width: 100px; height: 100p x"> 4 <div style="position: absolute; z-index: 0; top: 8px; width: 100px; height: 100p x">
5 <div id="target" style="width: 100px; height: 100px; transform: translateZ(0); background-color: blue"> 5 <div id="target" style="width: 100px; height: 100px; transform: translateZ(0); background-color: blue">
6 </div> 6 </div>
7 <script> 7 <script>
8 function repaintTest() { 8 function repaintTest() {
9 document.querySelector('#target').remove(); 9 document.querySelector('#target').remove();
10 } 10 }
11 11
12 runRepaintTest(); 12 runRepaintAndPixelTest();
13 </script> 13 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698