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

Side by Side Diff: LayoutTests/compositing/squashing/tricky-element-removal-crash.html

Issue 785333002: Delete the Layer Squashing runtime feature. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years 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 <!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 if (window.internals)
9 internals.settings.setLayerSquashingEnabled(true);
10
11 function repaintTest() { 8 function repaintTest() {
12 document.querySelector('#target').remove(); 9 document.querySelector('#target').remove();
13 } 10 }
14 11
15 runRepaintTest(); 12 runRepaintTest();
16 </script> 13 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698