Index: Source/core/style/ComputedStyle.h |
diff --git a/Source/core/style/ComputedStyle.h b/Source/core/style/ComputedStyle.h |
index 40185f5ec6d99f24b0de770c56642a363c26e3db..f7bee554d34d8a90194c5afc0a0be6bf5fc8b4a1 100644 |
--- a/Source/core/style/ComputedStyle.h |
+++ b/Source/core/style/ComputedStyle.h |
@@ -474,7 +474,7 @@ 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; } |
+ bool hasViewportConstrainedPosition() const { return position() == FixedPosition || position() == StickyPosition; } |
EFloat floating() const { return static_cast<EFloat>(noninherited_flags.floating); } |
const Length& width() const { return m_box->width(); } |