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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/variables/no-assert-mixing-variables-and-animation.html

Issue 1537523003: Add correct equality testing for ComputedStyle's StyleVariableData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/core.gypi » ('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
5 <style>
6 body {
7 --b: 420px;
8 }
9 #element {
10 --a: var(--b);
11 width: 100px;
12 height: 100px;
13 background-color: red;
14 transition: width 1s;
15 }
16
17 #element.triggered {
18 width: var(--a);
19 }
20 </style>
21
22 <div id='element'></div>
23
24 <script>
25 var test = async_test("this test passes if it doesn't assert");
26
27 requestAnimationFrame(x => {
28 element.classList.add('triggered');
29 requestAnimationFrame(x => {
30 requestAnimationFrame(x => {
31 requestAnimationFrame(x => {
32 requestAnimationFrame(x => {
33 test.done();
34 })
35 })
36 })
37 })
38 });
39 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698