Parse the array() function for custom filters
https://bugs.webkit.org/show_bug.cgi?id=94226

Reviewed by Dirk Schulze.

Source/WebCore:

The patch adds the support for the array() function parsing;
according to the specs this function - to be used within custom
filters - accepts number (float) values. This patch parses array()
arguments using comma as separator: the spec will be updated
accordingly shortly.

* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* css/CSSParser.cpp:
(WebCore::CSSParser::parseCustomFilterArrayFunction): New method to
parse the content of array() function.
(WebCore):
(WebCore::CSSParser::parseCustomFilter): parseCustomFilterArrayFunction is
called whenever a "array(" function is encountered.
* css/CSSParser.h:
(WebCore):
* css/CSSValue.cpp:
(WebCore::CSSValue::reportMemoryUsage):
(WebCore::CSSValue::cssText):
(WebCore::CSSValue::destroy):
(WebCore::CSSValue::cloneForCSSOM):
* css/CSSValue.h:
(WebCore::CSSValue::isWebKitCSSArrayFunctionValue):
* css/WebKitCSSArrayFunctionValue.cpp: Added.
(WebCore):
(WebCore::WebKitCSSArrayFunctionValue::WebKitCSSArrayFunctionValue):
(WebCore::WebKitCSSArrayFunctionValue::customCssText):
(WebCore::WebKitCSSArrayFunctionValue::cloneForCSSOM):
(WebCore::WebKitCSSArrayFunctionValue::reportDescendantMemoryUsage):
* css/WebKitCSSArrayFunctionValue.h: Added.
(WebCore):
(WebKitCSSArrayFunctionValue):
(WebCore::WebKitCSSArrayFunctionValue::create):

LayoutTests:

New negative and positive test cases have been added for the array()
function parsing.

Also a new test case has been added to further test multiple 3d-transforms.

* css3/filters/custom/custom-filter-property-parsing-expected.txt:
* css3/filters/custom/custom-filter-property-parsing-invalid-expected.txt:
* css3/filters/script-tests/custom-filter-property-parsing-invalid.js:
* css3/filters/script-tests/custom-filter-property-parsing.js:
* platform/chromium/css3/filters/custom/custom-filter-property-parsing-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Build failure with accelerated compositing disabled
https://bugs.webkit.org/show_bug.cgi?id=95872

Patch by Arnaud Renevier <a.renevier@sisa.samsung.com> on 2012-09-05
Reviewed by James Robinson.

Define DrawingBuffer::markContextChanged even when accelerated
compositing is not used.

No functional change, so no new tests.

* platform/graphics/gpu/DrawingBuffer.h:
(WebCore::DrawingBuffer::markContentsChanged):
(DrawingBuffer):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127683 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r127596.
http://trac.webkit.org/changeset/127596
https://bugs.webkit.org/show_bug.cgi?id=95928

newly added tests are failing (Requested by bashi1 on
#webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-09-05

Source/WebCore:

* rendering/RenderBox.cpp:
(WebCore::RenderBox::computePositionedLogicalWidth):
* rendering/RenderRegion.cpp:
* rendering/RenderRegion.h:
(RenderRegion):

LayoutTests:

* fast/regions/autowidth-abspos-expected.html: Removed.
* fast/regions/autowidth-abspos-regionchain-expected.html: Removed.
* fast/regions/autowidth-abspos-regionchain.html: Removed.
* fast/regions/autowidth-abspos.html: Removed.
* fast/regions/autowidth-float-expected.html: Removed.
* fast/regions/autowidth-float.html: Removed.
* fast/regions/autowidth-inlineblock-expected.html: Removed.
* fast/regions/autowidth-inlineblock.html: Removed.
* fast/regions/autowidth-nonreplaced-abspos-expected.html: Removed.
* fast/regions/autowidth-nonreplaced-abspos.html: Removed.
* fast/regions/autowidth-nonreplacedblock-normalflow-expected.html: Removed.
* fast/regions/autowidth-nonreplacedblock-normalflow.html: Removed.
* fast/regions/autowidth-normalflow-expected.html: Removed.
* fast/regions/autowidth-normalflow-maxwidth-expected.html: Removed.
* fast/regions/autowidth-normalflow-maxwidth.html: Removed.
* fast/regions/autowidth-normalflow-minmaxwidth-expected.html: Removed.
* fast/regions/autowidth-normalflow-minmaxwidth.html: Removed.
* fast/regions/autowidth-normalflow-minwidth-expected.html: Removed.
* fast/regions/autowidth-normalflow-minwidth.html: Removed.
* fast/regions/autowidth-normalflow-vertrl-expected.html: Removed.
* fast/regions/autowidth-normalflow-vertrl.html: Removed.
* fast/regions/autowidth-normalflow.html: Removed.
* fast/regions/bottom-overflow-out-of-first-region.html:
* fast/regions/flows-dependency-dynamic-remove.html:
* fast/regions/flows-dependency-same-flow.html:
* fast/regions/render-region-renderer-expected.html:
* fast/regions/top-overflow-out-of-second-region.html:

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