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

Side by Side Diff: third_party/WebKit/LayoutTests/animations/animations-csstext.html

Issue 1778743003: Make <custom-ident> not insert quotes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win_chromium_rel_ng Created 4 years, 9 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
1 <!doctype html> 1 <!doctype html>
2 <script src="../resources/testharness.js"></script> 2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script> 3 <script src="../resources/testharnessreport.js"></script>
4 <script> 4 <script>
5 test(function(){ 5 test(function(){
6 var div = document.createElement('div'); 6 var div = document.createElement('div');
7 div.style.animationName = 'anim'; 7 div.style.animationName = 'anim';
8 assert_equals(div.style.cssText, 'animation-name: anim;'); 8 assert_equals(div.style.cssText, 'animation-name: anim;');
9 div.style.animationName = "\\ ";
10 assert_equals(div.style.cssText, 'animation-name: \\ ;');
9 div.style.animation = 'hello 2s'; 11 div.style.animation = 'hello 2s';
10 assert_equals(div.style.cssText, 'animation: hello 2s;'); 12 assert_equals(div.style.cssText, 'animation: hello 2s;');
11 }, 'cssText serializes animation properties sanely'); 13 }, 'cssText serializes animation properties sanely');
12 </script> 14 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698