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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/option-opacity-inherit-crash.html

Issue 2043273002: Defer compositor keyframe snapshots until the next style resolve (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 5 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 | third_party/WebKit/LayoutTests/animations/universal-selector-opacity-inherit-crash.html » ('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 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <object>
5 <a>
6 <option id="objectAOption"></option>
7 </a>
8 </object>
9
10 <canvas>
11 <div>
12 <option id="canvasDivOption"></option>
13 </div>
14 </canvas>
15
16 <script>
17 var objectAOptionTest = async_test("Don't crash when animating opacity with inhe rit on an <option> in an <a> in an <object>.");
18 objectAOptionTest.step(function() {
19 objectAOption.animate([{"opacity":"inherit"},{"opacity":"inherit"}], 1000);
20 });
21
22 var canvasDivOptionTest = async_test("Don't crash when animating opacity with in herit on an <option> in a <div> in a <canvas>.");
23 canvasDivOptionTest.step(function() {
24 canvasDivOption.animate([{"opacity":"inherit"},{"opacity":"inherit"}], 1000);
25 });
26
27 requestAnimationFrame(_ => {
28 requestAnimationFrame(_ => {
29 objectAOptionTest.done();
30 canvasDivOptionTest.done();
31 });
32 });
33 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/universal-selector-opacity-inherit-crash.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698