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

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

Issue 2527303002: CSS Motion Path: offset-anchor should default to auto (Closed)
Patch Set: comments Created 4 years 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-anchor.html
diff --git a/third_party/WebKit/LayoutTests/css3/motion-path/offset-anchor.html b/third_party/WebKit/LayoutTests/css3/motion-path/offset-anchor.html
index 44b4480149b3ae3b4126e78338354af75bc8e4b3..9eea08cd33de976848523731c95428db87a0bd5d 100644
--- a/third_party/WebKit/LayoutTests/css3/motion-path/offset-anchor.html
+++ b/third_party/WebKit/LayoutTests/css3/motion-path/offset-anchor.html
@@ -22,8 +22,8 @@ body {
test(function() {
var element = document.createElement('div');
document.body.appendChild(element);
- assert_equals(getComputedStyle(element, null).offsetAnchor, '50% 50%');
-}, 'offset-anchor default is 50% 50%');
+ assert_equals(getComputedStyle(element, null).offsetAnchor, 'auto');
+}, 'offset-anchor default is auto');
test(function() {
assert_equals(getComputedStyle(container, null).offsetAnchor, '30% 40%');
@@ -34,7 +34,7 @@ test(function() {
}, 'offset-anchor can explicitly inherited');
test(function() {
- assert_equals(getComputedStyle(child2, null).offsetAnchor, '50% 50%');
+ assert_equals(getComputedStyle(child2, null).offsetAnchor, 'auto');
}, 'offset-anchor is not inherited by default');
function computed(specified) {

Powered by Google App Engine
This is Rietveld 408576698