-
svillar@igalia.com authored
https://bugs.webkit.org/show_bug.cgi?id=103334 Reviewed by Andreas Kling. Source/WebCore: Based on Blink r151684 by <jchaffraix@chromium.org> Test: fast/css-grid-layout/grid-item-area-get-set.html Added support to specify grid positions using the '-webkit-grid-area' shorthand. Named grid areas are still not allowed, to be done in a follow up patch as it likely requires '-webkit-grid-template' support. * css/CSSComputedStyleDeclaration.cpp: (WebCore::ComputedStyleExtractor::propertyValue): * css/CSSParser.cpp: (WebCore::CSSParser::parseValue): (WebCore::CSSParser::parseGridItemPositionShorthand): * css/CSSPropertyNames.in: * css/StylePropertySet.cpp: (WebCore::StylePropertySet::getPropertyValue): * css/StylePropertyShorthand.cpp: (WebCore::webkitGridAreaShorthand): (WebCore::shorthandForProperty): * css/StylePropertyShorthand.h: * css/StyleResolver.cpp: (WebCore::StyleResolver::applyProperty): LayoutTests: From Blink r151684 by <jchaffraix@chromium.org> * fast/css-grid-layout/grid-item-area-get-set-expected.txt: Added. * fast/css-grid-layout/grid-item-area-get-set.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@156638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
a2871019