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

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

Issue 2825343003: Clean compositing inputs for location APIs for sticky-affected elements. (Closed)
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/style/StyleRareInheritedData.h
diff --git a/third_party/WebKit/Source/core/style/StyleRareInheritedData.h b/third_party/WebKit/Source/core/style/StyleRareInheritedData.h
index aa4972d288e564ce290159b82459c26b5d70048f..e70c68140796fe6e285c427f06f04ba34444ff44 100644
--- a/third_party/WebKit/Source/core/style/StyleRareInheritedData.h
+++ b/third_party/WebKit/Source/core/style/StyleRareInheritedData.h
@@ -221,6 +221,10 @@ class CORE_EXPORT StyleRareInheritedData
unsigned respect_image_orientation_ : 1;
+ // Though position: sticky is not itself an inherited property, being a
+ // descendent of a sticky element changes some document lifecycle logic.
+ unsigned subtree_is_sticky_ : 1;
+
AtomicString hyphenation_string_;
short hyphenation_limit_before_;
short hyphenation_limit_after_;
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | third_party/WebKit/Source/core/style/StyleRareInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698