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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/transform.html

Issue 2546343002: [CSS Typed OM] Add additional test capability for string->CSSStyleValue in property-suite (Closed)
Patch Set: fix location of quotes Created 4 years 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/typedcssom/inlinestyle/transform.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/transform.html b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/transform.html
deleted file mode 100644
index 49ed32c02d0a2603d1054aa49febc8573465a593..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/transform.html
+++ /dev/null
@@ -1,30 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-
-<div id="testElement"></div>
-
-<script>
-
-test(function() {
- var transform = new CSSTransformValue([new CSSRotation(new CSSAngleValue(20, 'deg'))]);
-
- assert_equals(testElement.styleMap.get('transform'), null);
-
- testElement.styleMap.set('transform', transform);
- assert_equals(testElement.style.transform, 'rotate(20deg)');
-}, "Setting transform works on a regular element.");
-
-test(function() {
- var transform = new CSSTransformValue([new CSSRotation(new CSSAngleValue(30, 'deg'))]);
-
- testElement.styleMap.set('transform', transform);
- assert_equals(testElement.styleMap.get('transform').cssText, 'rotate(30deg)');
-}, "Getting transform works on a regular element.");
-
-test(function() {
- testElement.style.transform = 'translateY(50px)';
- testElement.styleMap.entries();
-}, "Unhandled case doesn't crash.");
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698