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

Unified Diff: third_party/WebKit/LayoutTests/css3/motion-path/offset.html

Issue 2842933003: CSS Motion Path: delete implementation of offset-rotation property (Closed)
Patch Set: remove offsetRotation from webexposed Created 3 years, 8 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
Index: third_party/WebKit/LayoutTests/css3/motion-path/offset.html
diff --git a/third_party/WebKit/LayoutTests/css3/motion-path/offset.html b/third_party/WebKit/LayoutTests/css3/motion-path/offset.html
index 079bc44ac18bdd6adb88af2cdacdbad80dff31a0..8908d540bba208be7c429887a2e8986bca9cfe0e 100644
--- a/third_party/WebKit/LayoutTests/css3/motion-path/offset.html
+++ b/third_party/WebKit/LayoutTests/css3/motion-path/offset.html
@@ -27,7 +27,7 @@
test(function() {
assert_equals(getComputedStyle(div1, null).offsetPath, 'none');
assert_equals(getComputedStyle(div1, null).offsetDistance, '0px');
- assert_equals(getComputedStyle(div1, null).offsetRotation, 'auto 0deg');
+ assert_equals(getComputedStyle(div1, null).offsetRotate, 'auto 0deg');
assert_equals(getComputedStyle(div1, null).offset, 'none 0px auto 0deg');
assert_equals(getComputedStyle(div1, null).transform, 'none');
}, 'offset default is none 0px auto 0deg');
@@ -35,7 +35,7 @@ test(function() {
test(function() {
assert_equals(getComputedStyle(div2, null).offsetPath, 'none');
assert_equals(getComputedStyle(div2, null).offsetDistance, '50%');
- assert_equals(getComputedStyle(div2, null).offsetRotation, 'auto 360deg');
+ assert_equals(getComputedStyle(div2, null).offsetRotate, 'auto 360deg');
assert_equals(getComputedStyle(div2, null).offset, 'none 50% auto 360deg');
assert_equals(getComputedStyle(div2, null).transform, 'none');
}, 'offset supports various angle units');
@@ -43,7 +43,7 @@ test(function() {
test(function() {
assert_equals(getComputedStyle(div3, null).offsetPath, "path('M 10 20 h 30 v 150')");
assert_equals(getComputedStyle(div3, null).offsetDistance, '70px');
- assert_equals(getComputedStyle(div3, null).offsetRotation, '0deg');
+ assert_equals(getComputedStyle(div3, null).offsetRotate, '0deg');
assert_equals(getComputedStyle(div3, null).offset, "path('M 10 20 h 30 v 150') 70px 0deg");
assert_equals(getComputedStyle(div3, null).transform, 'matrix(1, 0, 0, 1, 0, 0)');
}, 'offset supports SVG path data');
@@ -51,7 +51,7 @@ test(function() {
test(function() {
assert_equals(getComputedStyle(div4, null).offsetPath, 'none');
assert_equals(getComputedStyle(div4, null).offsetDistance, '10px');
- assert_equals(getComputedStyle(div4, null).offsetRotation, 'auto 270deg');
+ assert_equals(getComputedStyle(div4, null).offsetRotate, 'auto 270deg');
assert_equals(getComputedStyle(div4, null).offset, 'none 10px auto 270deg');
assert_equals(getComputedStyle(div4, null).transform, 'none');
}, 'offset property data can be supplied in any order');
@@ -59,7 +59,7 @@ test(function() {
test(function() {
assert_equals(span1.style.offsetPath, "path('M 1 2 V 3')");
assert_equals(span1.style.offsetDistance, '4px');
- assert_equals(span1.style.offsetRotation, '5deg');
+ assert_equals(span1.style.offsetRotate, '5deg');
assert_equals(span1.style.offset, "path('M 1 2 V 3') 4px 5deg");
assert_equals(span1.style.transform, '');
}, 'offset style can be set inline');

Powered by Google App Engine
This is Rietveld 408576698