Index: third_party/WebKit/LayoutTests/css3/motion-path/property-use-count-offset-rotate.html |
diff --git a/third_party/WebKit/LayoutTests/css3/motion-path/property-use-count-offset-rotate.html b/third_party/WebKit/LayoutTests/css3/motion-path/property-use-count-offset-rotate.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..34d93fe6c6977fbc6661e8c203fca8ab59f209b1 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/css3/motion-path/property-use-count-offset-rotate.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-rotate")); |
+ |
+ var styleElement = document.createElement('style'); |
+ styleElement.textContent = ".p { offset-rotate: 0deg; }"; |
+ document.head.appendChild(styleElement); |
+ getComputedStyle(target); |
+ |
+ assert_true(internals.isCSSPropertyUseCounted(document, "offset-rotate")); |
+ assert_false(internals.isCSSPropertyUseCounted(document, "motion-rotation")); |
+ assert_false(internals.isCSSPropertyUseCounted(document, "offset-rotation")); |
+}); |
+</script> |