Skip to content
  • mrobinson@webkit.org's avatar
    1e57745b
    [CSS Grid Layout] Rename grid-{rows|columns} to grid-definition-{rows|columns} · 1e57745b
    mrobinson@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=103336
    
    Reviewed by Tony Chang.
    
    Source/WebCore:
    
    Rename -webkit-grid-{rows|columns} to -webkit-grid-definition-{rows|columns}.
    The latest version of the spec has renamed these properties.
    
    * css/CSSComputedStyleDeclaration.cpp:
    (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Handle the new names.
    * css/CSSParser.cpp:
    (WebCore::CSSParser::parseValue): Ditto.
    * css/CSSProperty.cpp:
    (WebCore::CSSProperty::isInheritedProperty): Ditto.
    * css/CSSPropertyNames.in: Add support for the new names.
    * css/StyleResolver.cpp:
    (WebCore::StyleResolver::applyProperty): Handle the new names.
    
    LayoutTests:
    
    Update tests to reflect the rename of -webkit-grid-{rows|columns} to
    -webkit-grid-definition-{rows|columns}.
    
    * fast/css-grid-layout: Mass search and replace for the new name.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    1e57745b
    [CSS Grid Layout] Rename grid-{rows|columns} to grid-definition-{rows|columns}
    mrobinson@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=103336
    
    Reviewed by Tony Chang.
    
    Source/WebCore:
    
    Rename -webkit-grid-{rows|columns} to -webkit-grid-definition-{rows|columns}.
    The latest version of the spec has renamed these properties.
    
    * css/CSSComputedStyleDeclaration.cpp:
    (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): Handle the new names.
    * css/CSSParser.cpp:
    (WebCore::CSSParser::parseValue): Ditto.
    * css/CSSProperty.cpp:
    (WebCore::CSSProperty::isInheritedProperty): Ditto.
    * css/CSSPropertyNames.in: Add support for the new names.
    * css/StyleResolver.cpp:
    (WebCore::StyleResolver::applyProperty): Handle the new names.
    
    LayoutTests:
    
    Update tests to reflect the rename of -webkit-grid-{rows|columns} to
    -webkit-grid-definition-{rows|columns}.
    
    * fast/css-grid-layout: Mass search and replace for the new name.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@152479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Loading