Layout Test css3/filters/custom/custom-filter-shader-cache.html is failing
https://bugs.webkit.org/show_bug.cgi?id=84813

Unreviewed.  Add this failing test to the mac Skipped file.

* platform/mac/Skipped:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123127 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Crash in WebCore::StyleResolver::collectMatchingRulesForList
https://bugs.webkit.org/show_bug.cgi?id=90803

Patch by Douglas Stockwell <dstockwell@google.com> on 2012-07-19
Reviewed by Andreas Kling.

Source/WebCore:

When a ProcessingInstruction was removed from the document the owner
was removed, but the style resolver was not guaranteed to be updated.
It was then possible for an inconsistent version of the stylesheet to
remain visible in the DOM. Fixed by removing an invalid condition and
mirroring the logic from StyleElement.

Test: fast/css/xml-stylesheet-removed.xhtml

* dom/ProcessingInstruction.cpp:
(WebCore::ProcessingInstruction::removedFrom): Mirror the logic from
StyleElement -- always update the style resolver.

LayoutTests:

* fast/css/xml-stylesheet-removed-expected.txt: Added.
* fast/css/xml-stylesheet-removed.xhtml: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123128 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Allow nested suspend/resume screen & backingstore calls.
https://bugs.webkit.org/show_bug.cgi?id=91644
RIM PR 174365

Reviewed by Adam Treat and Antonio Gomes.

We expose suspendScreenAndBackingStoreUpdates() to the
outside API, but also use it internally when reacting
to a number of happenings, i.e. zooming, viewport resize,
resetting view state on Committed state or when restoring
it from previous pages, etc.

These two can clash. For instance, if we get a suspend
call from outside that suspends us for app inactivity,
or we are told to suspend because the main target surface
is not available at the time, and while being suspended
we try to rotate, finish loading a page, the we'll end up
resuming operations even though we shouldn't.

This patch changes the suspend flag to be a counter
instead, allowing nested suspend/resume calls and making
suspend/resume more robust this way. It also changes
several call sites to make sure suspend/resume calls are
paired up correctly.

* Api/BackingStore.cpp:
(BlackBerry::WebKit::BackingStorePrivate::BackingStorePrivate):
(BlackBerry::WebKit::BackingStorePrivate::suspendScreenAndBackingStoreUpdates):
(BlackBerry::WebKit::BackingStorePrivate::resumeScreenAndBackingStoreUpdates):
* Api/BackingStore_p.h:
(BackingStorePrivate):
* Api/WebPage.cpp:
(BlackBerry::WebKit::WebPagePrivate::shouldZoomAboutPoint):
(BlackBerry::WebKit::WebPagePrivate::zoomAboutPointTimerFired):
(BlackBerry::WebKit::WebPagePrivate::blockZoomRectForNode):
* WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
(WebCore::FrameLoaderClientBlackBerry::restoreViewState):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123129 268f45cc-cd09-0410-ab3c-d52691b4dbfc
CSS 2.1 failure: text-indent-intrinsic-003 fails
https://bugs.webkit.org/show_bug.cgi?id=80576

Reviewed by Eric Seidel.

Source/WebCore:

Negative values of text-indent should be distributed across inline children until used up.
This fixes text-indent-intrinsic-003 and text-indent-intrinsic-004.

Tests: css2.1/20110323/text-indent-intrinsic-001.htm
       css2.1/20110323/text-indent-intrinsic-002.htm
       css2.1/20110323/text-indent-intrinsic-003.htm
       css2.1/20110323/text-indent-intrinsic-004.htm

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::computeInlinePreferredLogicalWidths): If text-indent is negative, keep
 applying it to inline children in the first formatted line until it's reduced to zero. This isn't
 a consideration when text-indent is a positive value.

LayoutTests:

* css2.1/20110323/text-indent-intrinsic-001-expected.html: Added.
* css2.1/20110323/text-indent-intrinsic-001.htm: Added.
* css2.1/20110323/text-indent-intrinsic-002-expected.html: Added.
* css2.1/20110323/text-indent-intrinsic-002.htm: Added.
* css2.1/20110323/text-indent-intrinsic-003-expected.html: Added.
* css2.1/20110323/text-indent-intrinsic-003.htm: Added.
* css2.1/20110323/text-indent-intrinsic-004-expected.html: Added.
* css2.1/20110323/text-indent-intrinsic-004.htm: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123130 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Limit maximum delay of DelayNode.
https://bugs.webkit.org/show_bug.cgi?id=91675

Patch by Raymond Toy <rtoy@google.com> on 2012-07-19
Reviewed by Kenneth Russell.

Source/WebCore:

Clip the maximum delay of a DelayNode to a reasonable maximum.

Test: webaudio/delaynode-maxdelaylimit.html

* Modules/webaudio/DelayNode.cpp:
(WebCore): Add maximumAllowedDelayTime.
(WebCore::DelayNode::DelayNode): Clip max delay.

LayoutTests:

Test that a DelayNode limits the specified max delay to the
expected maximum allowed delay.

* webaudio/delaynode-maxdelaylimit-expected.txt: Added.
* webaudio/delaynode-maxdelaylimit.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123131 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] WebKit test runner ignores all system environment variables
https://bugs.webkit.org/show_bug.cgi?id=90284

Patch by Xabier Rodriguez Calvar <calvaris@igalia.com> on 2012-07-19
Reviewed by Dirk Pranke.

Added support in unit test framework to pass a custom environment
variable to the tests by using the --additional-env-var parameter.

* Scripts/webkitpy/layout_tests/port/base.py:
(Port.to.setup_environ_for_server): Adding environment variables
that come through the additional_env_var option.
* Scripts/webkitpy/layout_tests/port/base_unittest.py:
(PortTest.test_additional_env_var): Added unit test for the
additional_env_var option
* Scripts/webkitpy/layout_tests/run_webkit_tests.py:
(parse_args): Added the --additional-env-var parameter.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123132 268f45cc-cd09-0410-ab3c-d52691b4dbfc
config_standalone.py is crashing on apple win's cygwin port
https://bugs.webkit.org/show_bug.cgi?id=91682

Reviewed by Adam Roben.

Work around a weird interaction of ctypes and cygwin that
is causing unit tests to crash for me locally.

* Scripts/webkitpy/common/system/executive.py:
(Executive._win32_check_running_pid):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123133 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] [Part 4] platform/qt/css1 tests needs update after rebaseline and new testfonts
https://bugs.webkit.org/show_bug.cgi?id=91134

Batch of expected result files reviewed. It comprises
/LayoutTests/platform/qt/css1/[font_properties, formatting_model] directories

Patch by Luciano Wolf <luciano.wolf@openbossa.org> on 2012-07-19
Reviewed by Simon Hausmann.

* platform/qt-5.0-wk1/Skipped:
* platform/qt-5.0-wk2/Skipped:
* platform/qt/css1/font_properties/font-expected.png:
* platform/qt/css1/font_properties/font-expected.txt:
* platform/qt/css1/font_properties/font_family-expected.png:
* platform/qt/css1/font_properties/font_family-expected.txt:
* platform/qt/css1/font_properties/font_size-expected.png:
* platform/qt/css1/font_properties/font_size-expected.txt:
* platform/qt/css1/font_properties/font_style-expected.png:
* platform/qt/css1/font_properties/font_style-expected.txt:
* platform/qt/css1/font_properties/font_variant-expected.png:
* platform/qt/css1/font_properties/font_variant-expected.txt:
* platform/qt/css1/font_properties/font_weight-expected.png:
* platform/qt/css1/font_properties/font_weight-expected.txt:
* platform/qt/css1/formatting_model/canvas-expected.png:
* platform/qt/css1/formatting_model/canvas-expected.txt:
* platform/qt/css1/formatting_model/height_of_lines-expected.png:
* platform/qt/css1/formatting_model/height_of_lines-expected.txt:
* platform/qt/css1/formatting_model/horizontal_formatting-expected.png:
* platform/qt/css1/formatting_model/horizontal_formatting-expected.txt:
* platform/qt/css1/formatting_model/inline_elements-expected.png:
* platform/qt/css1/formatting_model/inline_elements-expected.txt:
* platform/qt/css1/formatting_model/replaced_elements-expected.png:
* platform/qt/css1/formatting_model/replaced_elements-expected.txt:
* platform/qt/css1/formatting_model/vertical_formatting-expected.png:
* platform/qt/css1/formatting_model/vertical_formatting-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@123134 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSS Exclusions] - Code cleanup: make shape parsing use isComma() instead of manual checks
https://bugs.webkit.org/show_bug.cgi?id=91760

Patch by Bem Jones-Bey <bjonesbe@adobe.com> on 2012-07-19
Reviewed by Eric Seidel.

Remove code duplication by making the rectangle, circle, and ellipse
methods use isComma() to detect a comma.

No new tests needed: no new functionality added.

* css/CSSParser.cpp:
(WebCore::CSSParser::parseExclusionShapeRectangle):
(WebCore::CSSParser::parseExclusionShapeCircle):
(WebCore::CSSParser::parseExclusionShapeEllipse):

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