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

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: Address reviewer comments 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/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 6863ea0a02620fcd52a12382f03c2b315e829185..9e7f2dd3c71e806afffbfd8858491eae077f8af3 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 is_in_sticky_subtree_ : 1;
+
AtomicString hyphenation_string;
short hyphenation_limit_before;
short hyphenation_limit_after;

Powered by Google App Engine
This is Rietveld 408576698