feImage fails if referenced node contains radialGradient declaration
https://bugs.webkit.org/show_bug.cgi?id=118735

Reviewed by Darin Adler.

Source/WebCore:

Only call parent's updateRelativeLengthsInformation for graphics elements.

Tests: svg/custom/feImage-pserver-with-percentage-expected.svg
       svg/custom/feImage-pserver-with-percentage.svg

* svg/SVGElement.cpp:
(WebCore::SVGElement::updateRelativeLengthsInformation):

LayoutTests:

Add testcase from bug with small adjustments.

* svg/custom/feImage-pserver-with-percentage-expected.svg: Added.
* svg/custom/feImage-pserver-with-percentage.svg: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154713 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Improve multicol intrinsic width calculation
https://bugs.webkit.org/show_bug.cgi?id=116677

Patch by Morten Stenshorne <mstensho@opera.com> on 2013-08-27
Reviewed by David Hyatt.

Source/WebCore:

Test: fast/css-intrinsic-dimensions/multicol.html

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::computeIntrinsicLogicalWidths):
(WebCore::RenderBlock::adjustIntrinsicLogicalWidthsForColumns):
* rendering/RenderBlock.h:

LayoutTests:

* css3/unicode-bidi-isolate-basic.html: The expectation seems to
be that the columns should be as many as necessary and narrow as
possible, and that the multicol container's width should be that
of one column. The previous CSS didn't really ask for this,
although that's how it happened to be rendered without this fix.
* fast/css-intrinsic-dimensions/multicol-expected.txt: Added.
* fast/css-intrinsic-dimensions/multicol.html: Added.
* fast/multicol/positioned-with-constrained-height-expected.html: Copied from LayoutTests/fast/multicol/positioned-with-constrained-height.html.
* fast/multicol/positioned-with-constrained-height.html: Turn into a reftest.
* platform/efl/fast/multicol/positioned-with-constrained-height-expected.png: Removed.
* platform/efl/fast/multicol/positioned-with-constrained-height-expected.txt: Removed.
* platform/gtk/fast/multicol/positioned-with-constrained-height-expected.png: Removed.
* platform/gtk/fast/multicol/positioned-with-constrained-height-expected.txt: Removed.
* platform/mac/fast/multicol/positioned-with-constrained-height-expected.png: Removed.
* platform/mac/fast/multicol/positioned-with-constrained-height-expected.txt: Removed.
* platform/qt/fast/multicol/positioned-with-constrained-height-expected.png: Removed.
* platform/qt/fast/multicol/positioned-with-constrained-height-expected.txt: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Make it less awkward to check if a Frame is the main Frame.
<https://webkit.org/b/120382>

Reviewed by Anders Carlsson.

Added Page::frameIsMainFrame(const Frame*) so code that wants to find out if a given
Frame is a Page's main frame doesn't have to do a manual pointer compare.

* page/Page.h:
(WebCore::Page::frameIsMainFrame):

    Added. Replaces (frame == &page->mainFrame()) idiom.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
svg/animations/svglengthlist-animation-3.html is flakey on Mac
http://webkit.org/b/120387

Marking this as flakey.

* platform/mac/TestExpectations:

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