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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/animate-shorthand-var-crash.html

Issue 2966953002: Move animations crash tests to subdirectory (Closed)
Patch Set: Rename crash-tests/ to stability/ Created 3 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
OLDNEW
(Empty)
1 <script src="../resources/testharness.js"></script>
2 <script src="../resources/testharnessreport.js"></script>
3 <style>
4 @keyframes crash {
5 from { border-radius: var(--) }
6 }
7 #target {
8 animation: crash 1s infinite;
9 }
10 </style>
11 <div id="target"></div>
12 <script>
13 test(() => {
14 getComputedStyle(target).borderRadius;
15 }, 'Do not crash when animating a shorthand with var().');
16 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698