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

Side by Side Diff: third_party/WebKit/LayoutTests/css3/motion-path/property-use-count-offset-rotate.html

Issue 2842933003: CSS Motion Path: delete implementation of offset-rotation property (Closed)
Patch Set: remove offsetRotation from webexposed Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <head> 2 <head>
3 <script src="../../resources/testharness.js"></script> 3 <script src="../../resources/testharness.js"></script>
4 <script src="../../resources/testharnessreport.js"></script> 4 <script src="../../resources/testharnessreport.js"></script>
5 </head> 5 </head>
6 6
7 <div id="target" class="p"></div> 7 <div id="target" class="p"></div>
8 <script> 8 <script>
9 test(function() { 9 test(function() {
10 assert_false(internals.isCSSPropertyUseCounted(document, "offset-rotate")); 10 assert_false(internals.isCSSPropertyUseCounted(document, "offset-rotate"));
11 11
12 var styleElement = document.createElement('style'); 12 var styleElement = document.createElement('style');
13 styleElement.textContent = ".p { offset-rotate: 0deg; }"; 13 styleElement.textContent = ".p { offset-rotate: 0deg; }";
14 document.head.appendChild(styleElement); 14 document.head.appendChild(styleElement);
15 getComputedStyle(target); 15 getComputedStyle(target);
16 16
17 assert_true(internals.isCSSPropertyUseCounted(document, "offset-rotate")); 17 assert_true(internals.isCSSPropertyUseCounted(document, "offset-rotate"));
18 assert_false(internals.isCSSPropertyUseCounted(document, "offset-rotation"));
19 }); 18 });
20 </script> 19 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698