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

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

Issue 2527303002: CSS Motion Path: offset-anchor should default to auto (Closed)
Patch Set: Created 4 years, 1 month 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 14cc888aeb622d8f99b86ca5243f4f686ef8a2f4..28de57cdbfdaa69cf89b1c67bbe2b90cc550ea43 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -1433,7 +1433,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