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

Side by Side Diff: LayoutTests/animations/inline-element-animation-end-hit-test.html

Issue 1058533003: Update descendent layer positions when a DeprecatedPaintLayer is removed. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 8 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
« no previous file with comments | « no previous file | LayoutTests/animations/inline-element-animation-end-hit-test-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3
4 body { margin: 0 }
5 .margin { margin: 100px }
6 .grow { animation: zoom .01s }
7 @keyframes zoom { 0% {transform: scale(0)} 100% {transform: scale(1)} }
8
9 #box {
10 will-change: transform;
11 display: inline-block;
12 background: #9cd;
13 width: 100px;
14 height: 100px;
15 opacity: 0.5;
16 }
17
18 </style>
19 <script src="../resources/js-test.js"></script>
20 <div class="margin">
21 <span class="grow">
22 <div id="box"></div>
23 </span>
24 </div>
25 <p id="description"></p>
26 <div id="console"></div>
27 <script>
28
29 jsTestIsAsync = true;
30
31 description("Tests that when a LayoutObject loses its DeprecatedPaintLayer " +
32 "due to completion of an animation of an inline statically positioned " +
33 "element, we correctly update the locations of descendent layers.");
34
35 var box = document.querySelector("#box");
36 box.parentNode.addEventListener("animationend", function() {
37 shouldBeTrue("document.elementFromPoint(150, 150) === box");
38 finishJSTest();
39 });
40
41 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/animations/inline-element-animation-end-hit-test-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698