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

Unified Diff: LayoutTests/fast/css/transition-shorthand-cssText-expected.txt

Issue 617493002: Only default to transition shorthand if all 4 values are set (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Also add check for animation Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/fast/css/transition-shorthand-cssText.html ('k') | Source/core/css/StylePropertySerializer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/css/transition-shorthand-cssText-expected.txt
diff --git a/LayoutTests/fast/css/transition-shorthand-cssText-expected.txt b/LayoutTests/fast/css/transition-shorthand-cssText-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..d284c549e5fafcf2565538714f653ce29e5e2a26
--- /dev/null
+++ b/LayoutTests/fast/css/transition-shorthand-cssText-expected.txt
@@ -0,0 +1,13 @@
+Test for Bug 310403: CssStyleDeclaration improperly sets transition shorthand when transition-duration is set.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS rule.cssText is '#target { transition-duration: 1s; -webkit-transition-duration: 1s; }'
+PASS rule.cssText is '#target { transition-duration: 1s; -webkit-transition-duration: 1s; transition-delay: 0s; -webkit-transition-delay: 0s; }'
+PASS rule.cssText is '#target { transition-duration: 1s; -webkit-transition-duration: 1s; transition-delay: 0s; -webkit-transition-delay: 0s; transition-property: all; -webkit-transition-property: all; }'
+PASS rule.cssText is '#target { transition: all 1s ease 0s; -webkit-transition: all 1s ease 0s; }'
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/css/transition-shorthand-cssText.html ('k') | Source/core/css/StylePropertySerializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698