https://bugs.webkit.org/show_bug.cgi?id=128774
Reviewed by Simon Fraser.
Rollout of r128663
No new tests are necessary because there is no behavior change.
* css/CSSParser.cpp:
(WebCore::CSSParserContext::CSSParserContext):
(WebCore::operator==):
(WebCore::isValidKeywordPropertyAndValue):
* css/CSSParserMode.h:
* dom/Document.cpp:
* dom/Document.h:
* page/Settings.cpp:
(WebCore::Settings::Settings):
* page/Settings.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@164084
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-02-13 Myles C. Maxfield <mmaxfield@apple.com>
+
+ Remove position:sticky runtime flag
+ https://bugs.webkit.org/show_bug.cgi?id=128774
+
+ Reviewed by Simon Fraser.
+
+ Rollout of r128663
+
+ No new tests are necessary because there is no behavior change.
+
+ * css/CSSParser.cpp:
+ (WebCore::CSSParserContext::CSSParserContext):
+ (WebCore::operator==):
+ (WebCore::isValidKeywordPropertyAndValue):
+ * css/CSSParserMode.h:
+ * dom/Document.cpp:
+ * dom/Document.h:
+ * page/Settings.cpp:
+ (WebCore::Settings::Settings):
+ * page/Settings.h:
+
2014-02-04 Gustavo Noronha Silva <gns@gnome.org>
[GTK][CMake] Generate GObject DOM bindings .symbols files
: baseURL(baseURL)
, mode(mode)
, isHTMLDocument(false)
- , isCSSStickyPositionEnabled(false)
, isCSSRegionsEnabled(false)
, isCSSCompositingEnabled(false)
, isCSSGridLayoutEnabled(false)
, charset(charset)
, mode(document.inQuirksMode() ? CSSQuirksMode : CSSStrictMode)
, isHTMLDocument(document.isHTMLDocument())
- , isCSSStickyPositionEnabled(document.cssStickyPositionEnabled())
, isCSSRegionsEnabled(document.cssRegionsEnabled())
, isCSSCompositingEnabled(document.cssCompositingEnabled())
, isCSSGridLayoutEnabled(document.cssGridLayoutEnabled())
&& a.charset == b.charset
&& a.mode == b.mode
&& a.isHTMLDocument == b.isHTMLDocument
- && a.isCSSStickyPositionEnabled == b.isCSSStickyPositionEnabled
&& a.isCSSRegionsEnabled == b.isCSSRegionsEnabled
&& a.isCSSCompositingEnabled == b.isCSSCompositingEnabled
&& a.isCSSGridLayoutEnabled == b.isCSSGridLayoutEnabled
case CSSPropertyPosition: // static | relative | absolute | fixed | sticky | inherit
if (valueID == CSSValueStatic || valueID == CSSValueRelative || valueID == CSSValueAbsolute || valueID == CSSValueFixed
#if ENABLE(CSS_STICKY_POSITION)
- || (parserContext.isCSSStickyPositionEnabled && valueID == CSSValueWebkitSticky)
+ || valueID == CSSValueWebkitSticky
#endif
)
return true;
String charset;
CSSParserMode mode;
bool isHTMLDocument;
- bool isCSSStickyPositionEnabled;
bool isCSSRegionsEnabled;
bool isCSSCompositingEnabled;
bool isCSSGridLayoutEnabled;
return settings() && settings()->regionBasedColumnsEnabled();
}
-bool Document::cssStickyPositionEnabled() const
-{
- return settings() && settings()->cssStickyPositionEnabled();
-}
-
bool Document::cssRegionsEnabled() const
{
return RuntimeEnabledFeatures::sharedFeatures().cssRegionsEnabled();
PassRefPtr<Element> createElementNS(const String& namespaceURI, const String& qualifiedName, ExceptionCode&);
PassRefPtr<Element> createElement(const QualifiedName&, bool createdByParser);
- bool cssStickyPositionEnabled() const;
bool cssRegionsEnabled() const;
bool cssCompositingEnabled() const;
#if ENABLE(CSS_REGIONS)
, m_shouldDispatchJavaScriptWindowOnErrorEvents(false)
, m_alwaysUseBaselineOfPrimaryFont(false)
, m_alwaysUseAcceleratedOverflowScroll(false)
-#endif
-#if ENABLE(CSS_STICKY_POSITION)
- , m_cssStickyPositionEnabled(true)
#endif
, m_showTiledScrollingIndicator(false)
, m_tiledBackingStoreEnabled(false)
void setFontRenderingMode(FontRenderingMode mode);
FontRenderingMode fontRenderingMode() const;
-#if ENABLE(CSS_STICKY_POSITION)
- void setCSSStickyPositionEnabled(bool enabled) { m_cssStickyPositionEnabled = enabled; }
- bool cssStickyPositionEnabled() const { return m_cssStickyPositionEnabled; }
-#else
- void setCSSStickyPositionEnabled(bool) { }
- bool cssStickyPositionEnabled() const { return false; }
-#endif
-
void setShowTiledScrollingIndicator(bool);
bool showTiledScrollingIndicator() const { return m_showTiledScrollingIndicator; }
bool m_alwaysUseBaselineOfPrimaryFont : 1;
bool m_allowMultiElementImplicitFormSubmission : 1;
bool m_alwaysUseAcceleratedOverflowScroll : 1;
-#endif
-#if ENABLE(CSS_STICKY_POSITION)
- bool m_cssStickyPositionEnabled : 1;
#endif
bool m_showTiledScrollingIndicator : 1;
bool m_tiledBackingStoreEnabled : 1;