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

Unified Diff: Source/core/rendering/style/RenderStyle.h

Issue 346603007: Remove position: sticky (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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: Source/core/rendering/style/RenderStyle.h
diff --git a/Source/core/rendering/style/RenderStyle.h b/Source/core/rendering/style/RenderStyle.h
index 543c815d06d3b4f7dcecd875e64d39f0c1409312..2eed7f2f5e125785efa78987a040a37bb5e92978 100644
--- a/Source/core/rendering/style/RenderStyle.h
+++ b/Source/core/rendering/style/RenderStyle.h
@@ -471,8 +471,8 @@ public:
EPosition position() const { return static_cast<EPosition>(noninherited_flags._position); }
bool hasOutOfFlowPosition() const { return position() == AbsolutePosition || position() == FixedPosition; }
- bool hasInFlowPosition() const { return position() == RelativePosition || position() == StickyPosition; }
- bool hasViewportConstrainedPosition() const { return position() == FixedPosition || position() == StickyPosition; }
+ bool hasInFlowPosition() const { return position() == RelativePosition; }
+ bool hasViewportConstrainedPosition() const { return position() == FixedPosition; }
EFloat floating() const { return static_cast<EFloat>(noninherited_flags._floating); }
const Length& width() const { return m_box->width(); }
« no previous file with comments | « Source/core/rendering/compositing/CompositingReasonFinder.cpp ('k') | Source/core/rendering/style/RenderStyleConstants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698