Index: third_party/WebKit/LayoutTests/css3/motion-path/property-use-count-offset-rotation.html |
diff --git a/third_party/WebKit/LayoutTests/css3/motion-path/property-use-count-offset-rotation.html b/third_party/WebKit/LayoutTests/css3/motion-path/property-use-count-offset-rotation.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7deb34d7ba246b036046cbe2d9039f68d3303d52 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/css3/motion-path/property-use-count-offset-rotation.html |
@@ -0,0 +1,21 @@ |
+<!DOCTYPE html> |
+<head> |
+<script src="../../resources/testharness.js"></script> |
+<script src="../../resources/testharnessreport.js"></script> |
+</head> |
+ |
+<div id="target" class="p"></div> |
+<script> |
+test(function() { |
+ assert_false(internals.isCSSPropertyUseCounted(document, "offset-rotation")); |
+ |
+ var styleElement = document.createElement('style'); |
+ styleElement.textContent = ".p { offset-rotation: 0deg; }"; |
+ document.head.appendChild(styleElement); |
+ getComputedStyle(target); |
+ |
+ assert_true(internals.isCSSPropertyUseCounted(document, "offset-rotation")); |
+ assert_false(internals.isCSSPropertyUseCounted(document, "motion-rotation")); |
+ assert_false(internals.isCSSPropertyUseCounted(document, "offset-rotate")); |
+}); |
+</script> |