[CSS Grid Layout] Support default grid items sizing
https://bugs.webkit.org/show_bug.cgi?id=103333

Reviewed by Tony Chang.

Source/WebCore:

Tests: fast/css-grid-layout/grid-auto-columns-rows-auto-flow-resolution.html
       fast/css-grid-layout/grid-auto-columns-rows-resolution.html
       fast/css-grid-layout/grid-auto-columns-rows-update.html

* rendering/RenderGrid.cpp:
(WebCore::RenderGrid::gridTrackSize):
Core of the change: return the grid-auto-{rows|columns} instead of a pre-defined value.

(WebCore::RenderGrid::computedUsedBreadthOfGridTracks):
Fixed a latent bug: we need to iterate over the internal grid representation instead of the
style's rows / columns as the latter doesn't account for implicit rows / columns.

LayoutTests:

* fast/css-grid-layout/grid-auto-columns-rows-resolution-expected.txt: Added.
* fast/css-grid-layout/grid-auto-columns-rows-resolution.html: Added.
This test covers the simple implicit column / row case.

* fast/css-grid-layout/grid-auto-columns-rows-update-expected.txt: Added.
* fast/css-grid-layout/grid-auto-columns-rows-update.html: Added.
This test covers that modifying grid-auto-{rows|columns} updates the grid items' sizes.

* fast/css-grid-layout/grid-auto-columns-rows-auto-flow-resolution-expected.txt: Added.
* fast/css-grid-layout/grid-auto-columns-rows-auto-flow-resolution.html: Added.
This test covers the implicit rows / columns generated by the auto placement. We are failing
2 sub-tests due to a bug involving percentage grid items in grid rows.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146467 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/ThirdParty/leveldb/db/builder.cc does not build on systems without <endian.h>
https://bugs.webkit.org/show_bug.cgi?id=111817

Patch by Martin Robinson <mrobinson@igalia.com> on 2013-03-21
Reviewed by Gustavo Noronha Silva.

.:

Improve processing of the autoconf host variable.  Setup up the wiring to detect
whether or not we are compiling for Darwin.

* Source/autotools/CheckSystemAndBasicDependencies.m4: Improve host detection.
* Source/autotools/SetupAutomake.m4: Tell automake if we are compiling for Darwin or not.

Source/WebCore:

* GNUmakefile.am: Add the appropriate flags to the LevelDB build if we are on FreeBSD
or OS X.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146468 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[skia] feConvolveMatrix should use accelerated path
https://bugs.webkit.org/show_bug.cgi?id=112828

Reviewed by James Robinson.

Source/WebCore:

Covered by layout tests css3/filters/effect-reference*.html.

* WebCore.gypi:
Add FEConvolveMatrixSkia.cpp to the build.
* platform/graphics/filters/FEConvolveMatrix.h:
Enable the skia accelerated path for feConvolveMatrix.
* platform/graphics/filters/skia/FEConvolveMatrixSkia.cpp:
(WebCore::FEConvolveMatrix::createImageFilter):
Implement building/conversion from FEConvolveMatrix to
SkMatrixConvolutionImageFilter.

LayoutTests:

* css3/filters/effect-reference-hw.html:
* css3/filters/effect-reference.html:
Add new test case for feConvolveMatrix as a reference filter.
* platform/chromium/TestExpectations:
Suppress failures until the test can be rebaselined.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146469 268f45cc-cd09-0410-ab3c-d52691b4dbfc