Skip to content
  • hyatt's avatar
    Fix for bug 13802, background colors can't be reset to default · 0beef8a8
    hyatt authored
            color.  Fix the value cssText method to do the right thing for background
            and background-position values.
    
            Reviewed by beth
    
            fast/dom/background-shorthand-csstext.html
    
            * css/CSSInitialValue.h:
            (WebCore::CSSInitialValue:::m_implicit):
            (WebCore::CSSInitialValue::isImplicitInitialValue):
            * css/CSSMutableStyleDeclaration.cpp:
            (WebCore::CSSMutableStyleDeclaration::getPropertyValue):
            (WebCore::CSSMutableStyleDeclaration::getLayeredShorthandValue):
            * css/CSSMutableStyleDeclaration.h:
            * css/CSSValue.h:
            (WebCore::CSSValue::isImplicitInitialValue):
            * css/cssparser.cpp:
            (WebCore::CSSParser::parseValue):
            (WebCore::CSSParser::parseBackgroundShorthand):
            (WebCore::CSSParser::parseShorthand):
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    0beef8a8