| 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
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..42a735f52465291c6f9aaf5ce143650b6af162b6
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/transform.html
|
| @@ -0,0 +1,19 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +
|
| +<div id="testElement"></div>
|
| +
|
| +<script>
|
| +
|
| +test(function() {
|
| + var transform = new TransformValue([new CSSRotation(20)]);
|
| +
|
| + 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.");
|
| +
|
| +
|
| +</script>
|
|
|