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

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

Issue 2039093003: [Typed OM] Implement CSSValue->CSSRotation conversion (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address review comments Created 4 years, 6 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 | third_party/WebKit/LayoutTests/typedcssom/inlinestyle/transform-rotation.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
index 42a735f52465291c6f9aaf5ce143650b6af162b6..7d40a4bd22115cc11dac2be86d4a7d3cd186585f 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/transform.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/transform.html
@@ -15,5 +15,12 @@ test(function() {
assert_equals(testElement.style.transform, 'rotate(20deg)');
}, "Setting transform works on a regular element.");
+test(function() {
+ var transform = new TransformValue([new CSSRotation(30)]);
+
+ testElement.styleMap.set('transform', transform);
+ assert_equals(testElement.styleMap.get('transform').cssString, 'rotate(30deg)');
+}, "Getting transform works on a regular element.");
+
</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/typedcssom/inlinestyle/transform-rotation.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698