[CSS Grid Layout] Rename grid-{rows|columns} to grid-definition-{rows|columns}
authormrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Jul 2013 03:09:02 +0000 (03:09 +0000)
committermrobinson@webkit.org <mrobinson@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Jul 2013 03:09:02 +0000 (03:09 +0000)
commit246f3202d21c6cb43fa4c0f2fdbfea62b00f3704
treef072cc84921096705b2086dabfa60d008d392b09
parent2594dfb157127d318377a2d7a5b4611ba40d0344
[CSS Grid Layout] Rename grid-{rows|columns} to grid-definition-{rows|columns}
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: https://svn.webkit.org/repository/webkit/trunk@152479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
83 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/css-grid-layout/auto-content-resolution-columns.html
LayoutTests/fast/css-grid-layout/auto-content-resolution-rows.html
LayoutTests/fast/css-grid-layout/breadth-size-resolution-grid.html
LayoutTests/fast/css-grid-layout/calc-resolution-grid-item.html
LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-auto-flow-resolution.html
LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-resolution.html
LayoutTests/fast/css-grid-layout/grid-auto-columns-rows-update.html
LayoutTests/fast/css-grid-layout/grid-auto-flow-resolution.html
LayoutTests/fast/css-grid-layout/grid-auto-flow-update.html
LayoutTests/fast/css-grid-layout/grid-columns-rows-get-set-expected.txt
LayoutTests/fast/css-grid-layout/grid-columns-rows-get-set-multiple-expected.txt
LayoutTests/fast/css-grid-layout/grid-columns-rows-get-set-multiple.html
LayoutTests/fast/css-grid-layout/grid-columns-rows-get-set.html
LayoutTests/fast/css-grid-layout/grid-dynamic-updates-relayout.html
LayoutTests/fast/css-grid-layout/grid-element-border-grid-item.html
LayoutTests/fast/css-grid-layout/grid-element-border-padding-grid-item.html
LayoutTests/fast/css-grid-layout/grid-element-change-columns-repaint-expected.txt
LayoutTests/fast/css-grid-layout/grid-element-change-columns-repaint.html
LayoutTests/fast/css-grid-layout/grid-element-change-rows-repaint-expected.txt
LayoutTests/fast/css-grid-layout/grid-element-change-rows-repaint.html
LayoutTests/fast/css-grid-layout/grid-element-empty-row-column.html
LayoutTests/fast/css-grid-layout/grid-element-min-max-width.html
LayoutTests/fast/css-grid-layout/grid-element-padding-grid-item.html
LayoutTests/fast/css-grid-layout/grid-element-padding-margin.html
LayoutTests/fast/css-grid-layout/grid-item-addition-auto-placement-update.html
LayoutTests/fast/css-grid-layout/grid-item-addition-track-breadth-update.html
LayoutTests/fast/css-grid-layout/grid-item-change-column-repaint.html
LayoutTests/fast/css-grid-layout/grid-item-change-row-repaint.html
LayoutTests/fast/css-grid-layout/grid-item-multiple-minmax-content-resolution.html
LayoutTests/fast/css-grid-layout/grid-item-removal-auto-placement-update.html
LayoutTests/fast/css-grid-layout/grid-item-removal-track-breadth-update.html
LayoutTests/fast/css-grid-layout/grid-item-spanning-resolution.html
LayoutTests/fast/css-grid-layout/grid-item-with-percent-height-in-auto-height-grid-resolution.html
LayoutTests/fast/css-grid-layout/grid-preferred-logical-widths.html
LayoutTests/fast/css-grid-layout/implicit-columns-auto-resolution.html
LayoutTests/fast/css-grid-layout/implicit-position-dynamic-change.html
LayoutTests/fast/css-grid-layout/implicit-rows-auto-resolution.html
LayoutTests/fast/css-grid-layout/minmax-fixed-logical-height-only.html
LayoutTests/fast/css-grid-layout/minmax-fixed-logical-width-only.html
LayoutTests/fast/css-grid-layout/minmax-max-content-resolution-columns.html
LayoutTests/fast/css-grid-layout/minmax-max-content-resolution-rows.html
LayoutTests/fast/css-grid-layout/minmax-min-content-column-resolution-columns.html
LayoutTests/fast/css-grid-layout/minmax-min-content-column-resolution-rows.html
LayoutTests/fast/css-grid-layout/minmax-spanning-resolution-columns.html
LayoutTests/fast/css-grid-layout/minmax-spanning-resolution-rows.html
LayoutTests/fast/css-grid-layout/percent-grid-item-in-percent-grid-track-in-percent-grid.html
LayoutTests/fast/css-grid-layout/percent-grid-item-in-percent-grid-track-update.html
LayoutTests/fast/css-grid-layout/percent-grid-item-in-percent-grid-track.html
LayoutTests/fast/css-grid-layout/percent-padding-margin-resolution-grid-item-update.html
LayoutTests/fast/css-grid-layout/percent-padding-margin-resolution-grid-item.html
LayoutTests/fast/css-grid-layout/percent-resolution-grid-item.html
LayoutTests/fast/css-grid-layout/place-cell-by-index.html
LayoutTests/fast/css-grid-layout/resources/grid-columns-rows-get-set-multiple.js
LayoutTests/fast/css-grid-layout/resources/grid-columns-rows-get-set.js
LayoutTests/ietestcenter/css3/grid/display-grid-001-expected.htm
LayoutTests/ietestcenter/css3/grid/display-grid-001.htm
LayoutTests/ietestcenter/css3/grid/display-grid-002-expected.htm
LayoutTests/ietestcenter/css3/grid/display-grid-002.htm
LayoutTests/ietestcenter/css3/grid/grid-column-001-expected.htm
LayoutTests/ietestcenter/css3/grid/grid-column-001.htm
LayoutTests/ietestcenter/css3/grid/grid-column-002-expected.htm
LayoutTests/ietestcenter/css3/grid/grid-column-002.htm
LayoutTests/ietestcenter/css3/grid/grid-column-003-expected.htm
LayoutTests/ietestcenter/css3/grid/grid-column-003.htm
LayoutTests/ietestcenter/css3/grid/grid-columns-001-expected.htm
LayoutTests/ietestcenter/css3/grid/grid-columns-001.htm
LayoutTests/ietestcenter/css3/grid/grid-items-001-expected.htm
LayoutTests/ietestcenter/css3/grid/grid-items-001.htm
LayoutTests/ietestcenter/css3/grid/grid-items-002-expected.htm
LayoutTests/ietestcenter/css3/grid/grid-items-002.htm
LayoutTests/ietestcenter/css3/grid/grid-items-003-expected.htm
LayoutTests/ietestcenter/css3/grid/grid-items-003.htm
LayoutTests/ietestcenter/css3/grid/grid-items-004-expected.htm
LayoutTests/ietestcenter/css3/grid/grid-items-004.htm
LayoutTests/ietestcenter/css3/grid/grid-items-005-expected.htm
LayoutTests/ietestcenter/css3/grid/grid-items-005.htm
Source/WebCore/ChangeLog
Source/WebCore/css/CSSComputedStyleDeclaration.cpp
Source/WebCore/css/CSSParser.cpp
Source/WebCore/css/CSSProperty.cpp
Source/WebCore/css/CSSPropertyNames.in
Source/WebCore/css/StyleResolver.cpp