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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/transition-property-names.html

Issue 2667393002: Stop using script-tests in fast/dom/. (Closed)
Patch Set: . Created 3 years, 11 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
Index: third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/transition-property-names.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/transition-property-names.html b/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/transition-property-names.html
index 9c37a2f3dfa43c4fe3968447a75c6a0ee6236f7e..ba6cc5e790e708201cc1184125399cac388e325f 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/transition-property-names.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/transition-property-names.html
@@ -4,6 +4,18 @@
<script src="../../../resources/js-test.js"></script>
</head>
<body>
-<script src="script-tests/transition-property-names.js"></script>
+<script>
+description(
+'This test checks that CSS property names work round trip in the transition property.'
+);
+
+var element = document.createElement('a');
+
+element.style.webkitTransitionProperty = "height";
+shouldBe("element.style.webkitTransitionProperty", "'height'");
+
+element.style.webkitTransitionProperty = "opacity";
+shouldBe("element.style.webkitTransitionProperty", "'opacity'");
+</script>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698