Skip to content
  • mihnea@adobe.com's avatar
    CSS Exclusions: parse the wrap-margin and wrap-padding properties · 25e58b47
    mihnea@adobe.com authored
    https://bugs.webkit.org/show_bug.cgi?id=71900
    
    Reviewed by Dean Jackson.
    
    Source/WebCore:
    
    Tests: fast/exclusions/wrap-margin-parsing.html
           fast/exclusions/wrap-padding-parsing.html
    
    * css/CSSComputedStyleDeclaration.cpp:
    (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
    * css/CSSParser.cpp:
    (WebCore::isSimpleLengthPropertyID):
    (WebCore::CSSParser::parseValue):
    * css/CSSProperty.cpp:
    (WebCore::CSSProperty::isInheritedProperty):
    * css/CSSPropertyNames.in:
    * css/CSSStyleApplyProperty.cpp:
    (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
    * css/CSSStyleSelector.cpp:
    (WebCore::CSSStyleSelector::applyProperty):
    * rendering/style/RenderStyle.cpp:
    (WebCore::RenderStyle::diff):
    * rendering/style/RenderStyle.h:
    (WebCore::InheritedFlags::wrapPadding):
    (WebCore::InheritedFlags::setWrapPadding):
    (WebCore::InheritedFlags::initialWrapPadding):
    (WebCore::InheritedFlags::wrapMargin):
    (WebCore::InheritedFlags::setWrapMargin):
    (WebCore::InheritedFlags::initialWrapMargin):
    * rendering/style/StyleRareNonInheritedData.cpp:
    (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
    (WebCore::StyleRareNonInheritedData::operator==):
    * rendering/style/StyleRareNonInheritedData.h:
    
    LayoutTests:
    
    * fast/css/getComputedStyle/computed-style-expected.txt:
    * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
    * fast/exclusions/script-tests/wrap-margin-parsing.js: Added.
    * fast/exclusions/script-tests/wrap-padding-parsing.js: Added.
    * fast/exclusions/wrap-margin-parsing-expected.txt: Added.
    * fast/exclusions/wrap-margin-parsing.html: Added.
    * fast/exclusions/wrap-padding-parsing-expected.txt: Added.
    * fast/exclusions/wrap-padding-parsing.html: Added.
    * platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt:
    * platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
    * platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt:
    * svg/css/getComputedStyle-basic-expected.txt:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100604 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    25e58b47