-
simon.fraser@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=90046 Reviewed by Ojan Vafai. Source/JavaScriptCore: Turn on ENABLE_CSS_STICKY_POSITION. * Configurations/FeatureDefines.xcconfig: Source/WebCore: Turn on ENABLE_CSS_STICKY_POSITION. Add support for parsing the new '-webkit-sticky' value for position, returning it from getComputedStyle(), and storing it in RenderStyle. Test: fast/css/sticky/parsing-position-sticky.html * Configurations/FeatureDefines.xcconfig: * css/CSSComputedStyleDeclaration.cpp: (WebCore::getPositionOffsetValue): * css/CSSParser.cpp: (WebCore::isValidKeywordPropertyAndValue): * css/CSSPrimitiveValueMappings.h: (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): (WebCore::CSSPrimitiveValue::operator EPosition): * css/CSSValueKeywords.in: * rendering/style/RenderStyle.h: * rendering/style/RenderStyleConstants.h: Source/WebKit/chromium: Turn on ENABLE_CSS_STICKY_POSITION. * features.gypi: Source/WebKit/mac: Turn on ENABLE_CSS_STICKY_POSITION. * Configurations/FeatureDefines.xcconfig: Source/WebKit2: Turn on ENABLE_CSS_STICKY_POSITION. * Configurations/FeatureDefines.xcconfig: LayoutTests: Test for parsing and returning fro getComputedStyle() the new -webkit-sticky value for position. * fast/css/sticky/parsing-position-sticky-expected.txt: Added. * fast/css/sticky/parsing-position-sticky.html: Added. * fast/css/sticky/resources/parsing-position-sticky.js: Added. (test): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123379 268f45cc-cd09-0410-ab3c-d52691b4dbfc
8b810603