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

Unified Diff: LayoutTests/virtual/stable/animations-unprefixed/transitions-unprefixed.html

Issue 478523003: Fix unprefixed transitions when experimental features flag is off (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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 | « no previous file | Source/core/css/CSSProperty.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/virtual/stable/animations-unprefixed/transitions-unprefixed.html
diff --git a/LayoutTests/virtual/stable/animations-unprefixed/transitions-unprefixed.html b/LayoutTests/virtual/stable/animations-unprefixed/transitions-unprefixed.html
new file mode 100644
index 0000000000000000000000000000000000000000..8573efb12316acb64490bd0005ecdf561f89f26f
--- /dev/null
+++ b/LayoutTests/virtual/stable/animations-unprefixed/transitions-unprefixed.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+
+<style>
+#bg {
+ transition: all 5s;
+ transform: none;
+}
+</style>
+<div id="div"></div>
+
+<script>
+div.offsetTop;
+
+test(function() {
+ div.style.transform = "translateX(100px)";
+ assert_not_equals(getComputedStyle(div).transform, "translateX(100px)");
+}, 'Ensure that unprefixed transitions work.');
+</script>
« no previous file with comments | « no previous file | Source/core/css/CSSProperty.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698