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

Unified Diff: Source/core/style/ComputedStyleConstants.h

Issue 1212893005: Add position: sticky as supported position value when CSSStickyPosition is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Merge, convert pixel to ref tests, and address comments. Created 5 years, 5 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
« no previous file with comments | « Source/core/style/ComputedStyle.h ('k') | Source/core/testing/InternalSettings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/ComputedStyleConstants.h
diff --git a/Source/core/style/ComputedStyleConstants.h b/Source/core/style/ComputedStyleConstants.h
index edadd4146063d0e2f1952bd6f133178b6d0b0963..189aecbfcbe4cc5c1bd966cb331082d6b2e6cf9a 100644
--- a/Source/core/style/ComputedStyleConstants.h
+++ b/Source/core/style/ComputedStyleConstants.h
@@ -85,8 +85,8 @@ enum EPosition {
StaticPosition = 0,
RelativePosition = 1,
AbsolutePosition = 2,
+ StickyPosition = 3,
// This value is required to pack our bits efficiently in LayoutObject.
- // FIXME: Is this still true now that we've remove position: sticky.
FixedPosition = 6
};
« no previous file with comments | « Source/core/style/ComputedStyle.h ('k') | Source/core/testing/InternalSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698