-
hyatt@apple.com authored
2009-07-22 David Hyatt <hyatt@apple.com> Reviewed by Beth Dakin. https://bugs.webkit.org/show_bug.cgi?id=27562 Add the finalized versions of background-clip and background-origin. Remove background-clip from the background shorthand and have it be auto-set based off background-origin's value. Three new tests added in fast/backgrounds/size * css/CSSComputedStyleDeclaration.cpp: (WebCore::): (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): * css/CSSMutableStyleDeclaration.cpp: (WebCore::CSSMutableStyleDeclaration::getPropertyValue): * css/CSSParser.cpp: (WebCore::CSSParser::parseValue): (WebCore::CSSParser::parseFillShorthand): (WebCore::CSSParser::parseFillProperty): * css/CSSPropertyLonghand.cpp: (WebCore::initShorthandMap): * css/CSSPropertyNames.in: * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty): * css/CSSValueKeywords.in: LayoutTests: 2009-07-22 David Hyatt <hyatt@apple.com> Reviewed by Beth Dakin. https://bugs.webkit.org/show_bug.cgi?id=27562 Add some new layout tests that drop the prefix from the background properties and use origin in a shorthand. Update shorthand results and computed style results to account for new properties. * fast/backgrounds/size/backgroundSize20.html: Added. * fast/backgrounds/size/backgroundSize21.html: Added. * fast/backgrounds/size/backgroundSize22.html: Added. * fast/css/background-position-serialize-expected.txt: * fast/css/remove-shorthand-expected.txt: * platform/mac/fast/backgrounds/size/backgroundSize20-expected.checksum: Added. * platform/mac/fast/backgrounds/size/backgroundSize20-expected.png: Added. * platform/mac/fast/backgrounds/size/backgroundSize20-expected.txt: Added. * platform/mac/fast/backgrounds/size/backgroundSize21-expected.checksum: Added. * platform/mac/fast/backgrounds/size/backgroundSize21-expected.png: Added. * platform/mac/fast/backgrounds/size/backgroundSize21-expected.txt: Added. * platform/mac/fast/backgrounds/size/backgroundSize22-expected.checksum: Added. * platform/mac/fast/backgrounds/size/backgroundSize22-expected.png: Added. * platform/mac/fast/backgrounds/size/backgroundSize22-expected.txt: Added. * platform/mac/fast/css/getComputedStyle/computed-style-expected.txt: * platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: * platform/mac/fast/inspector/style-expected.txt: * svg/css/getComputedStyle-basic-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@46240 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ddf151e3