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

Side by Side Diff: LayoutTests/compositing/change-from-paints-into-ancestor-to-paints-into-own-backing-for-intrinsic-reason.html

Issue 708213002: Remove the HasOwnBackingButPaintsIntoAncestor compositing state. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed more tests. Created 6 years, 1 month 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
(Empty)
1 <!DOCTYPE html>
2 <style>
3 .spinner {
4 backface-visibility: hidden;
5 background-color: blue;
6 height: 100px;
7 width: 100px;
8 }
9 .transparent {
10 opacity: 0;
11 }
12 #container {
13 -webkit-perspective: 1px;
14 background-color: red;
15 overflow: hidden;
16 }
17 </style>
18 <script src="../fast/repaint/resources/text-based-repaint.js"></script>
19 <div id="container">
20 <div class="spinner"></div>
21 </div>
22 <script>
23 // Tests that transitioning the container div from "composited but paints into ancestor" into "composited into own backing"
24 // for intrinsic reasons (in this case due to opacity change) correctly invalida tes the old paint invalidation backing (document)
25 // before the change.
26 function repaintTest() {
27 document.getElementById('container').classList.add('transparent');
28 }
29 if (window.testRunner)
30 runRepaintTest();
31 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698