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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/tricky-element-removal-crash.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 | Annotate | Revision Log
OLDNEW
1 <!-- Based on compositing/squashing/tricky-element-removal-crash.html -->
1 <!DOCTYPE html> 2 <!DOCTYPE html>
2 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> 3 <script src="resources/paint-invalidation-test.js"></script>
3 <div style="width: 200px; height: 200px; transform: translateZ(0); background-co lor: salmon;"></div> 4 <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"> 5 <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"> 6 <div id="target" style="width: 100px; height: 100px; transform: translateZ(0); background-color: blue">
6 </div> 7 </div>
7 <script> 8 <script>
8 function repaintTest() { 9 window.expectedPaintInvalidationObjects = [
10 "LayoutBlockFlow DIV id='target'",
11 ];
12 function paintInvalidationTest() {
9 document.querySelector('#target').remove(); 13 document.querySelector('#target').remove();
10 } 14 }
11 15
12 runRepaintTest(); 16 runPaintInvalidationTest();
13 </script> 17 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698