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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

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/Source/core/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index 225dcbb2fea09328939f16314bf69bca5c2337fd..d588fc6bedd7bee3d89995b66574d7c3c3a62404 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -1420,7 +1420,7 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
// offset-anchor
static LengthPoint initialOffsetAnchor() {
- return LengthPoint(Length(50.0, Percent), Length(50.0, Percent));
+ return LengthPoint(Length(Auto), Length(Auto));
}
const LengthPoint& offsetAnchor() const {
return m_rareNonInheritedData->m_transform->m_motion.m_anchor;

Powered by Google App Engine
This is Rietveld 408576698