[GTK] Unreviewed GTK gardening.

Rebaseline after 175259.

Patch by Lorenzo Tilve <ltilve@igalia.com> on 2014-10-29

* platform/gtk/css1/basic/containment-expected.txt:
* platform/gtk/css1/basic/contextual_selectors-expected.txt:
* platform/gtk/css1/basic/grouping-expected.txt:
* platform/gtk/css1/basic/id_as_selector-expected.txt:
* platform/gtk/css1/basic/inheritance-expected.txt:
* platform/gtk/css1/box_properties/border-expected.txt:
* platform/gtk/css1/box_properties/border_bottom_inline-expected.txt:
* platform/gtk/css1/box_properties/border_bottom_width-expected.txt:
* platform/gtk/css1/box_properties/border_bottom_width_inline-expected.txt:
* platform/gtk/css1/box_properties/border_color-expected.txt:
* platform/gtk/css1/box_properties/border_color_inline-expected.txt:
* platform/gtk/css1/box_properties/border_inline-expected.txt:
* platform/gtk/css1/box_properties/border_left-expected.txt:
* platform/gtk/css1/box_properties/border_left_inline-expected.txt:
* platform/gtk/css1/box_properties/border_left_width-expected.txt:
* platform/gtk/css1/box_properties/border_left_width_inline-expected.txt:
* platform/gtk/css1/box_properties/border_right-expected.txt:
* platform/gtk/css1/box_properties/border_right_inline-expected.txt:
* platform/gtk/css1/box_properties/border_right_width-expected.txt:
* platform/gtk/css1/box_properties/border_right_width_inline-expected.txt:
* platform/gtk/css1/box_properties/border_style-expected.txt:
* platform/gtk/css1/box_properties/border_style_inline-expected.txt:
* platform/gtk/css1/box_properties/border_top_inline-expected.txt:
* platform/gtk/css1/box_properties/border_top_width-expected.txt:
* platform/gtk/css1/box_properties/border_top_width_inline-expected.txt:
* platform/gtk/css1/box_properties/border_width-expected.txt:
* platform/gtk/css1/box_properties/border_width_inline-expected.txt:
* platform/gtk/css1/box_properties/clear-expected.txt:
* platform/gtk/css1/box_properties/clear_float-expected.txt:
* platform/gtk/css1/box_properties/float-expected.txt:
* platform/gtk/css1/box_properties/float_elements_in_series-expected.txt:
* platform/gtk/css1/box_properties/float_margin-expected.txt:
* platform/gtk/css1/box_properties/height-expected.txt:
* platform/gtk/css1/box_properties/margin-expected.txt:
* platform/gtk/css1/box_properties/margin_bottom-expected.txt:
* platform/gtk/css1/box_properties/margin_bottom_inline-expected.txt:
* platform/gtk/css1/box_properties/margin_inline-expected.txt:
* platform/gtk/css1/box_properties/margin_left-expected.txt:
* platform/gtk/css1/box_properties/margin_left_inline-expected.txt:
* platform/gtk/css1/box_properties/margin_right-expected.txt:
* platform/gtk/css1/box_properties/margin_right_inline-expected.txt:
* platform/gtk/css1/box_properties/margin_top-expected.txt:
* platform/gtk/css1/box_properties/margin_top_inline-expected.txt:
* platform/gtk/css1/box_properties/padding-expected.txt:
* platform/gtk/css1/box_properties/padding_bottom-expected.txt:
* platform/gtk/css1/box_properties/padding_bottom_inline-expected.txt:
* platform/gtk/css1/box_properties/padding_inline-expected.txt:
* platform/gtk/css1/box_properties/padding_left-expected.txt:
* platform/gtk/css1/box_properties/padding_left_inline-expected.txt:
* platform/gtk/css1/box_properties/padding_right-expected.txt:
* platform/gtk/css1/box_properties/padding_right_inline-expected.txt:
* platform/gtk/css1/box_properties/padding_top-expected.txt:
* platform/gtk/css1/box_properties/padding_top_inline-expected.txt:
* platform/gtk/css1/box_properties/width-expected.txt:
* platform/gtk/css1/cascade/cascade_order-expected.txt:
* platform/gtk/css1/cascade/important-expected.txt:
* platform/gtk/css1/classification/display-expected.txt:
* platform/gtk/css1/classification/list_style-expected.txt:
* platform/gtk/css1/classification/list_style_image-expected.txt:
* platform/gtk/css1/classification/list_style_position-expected.txt:
* platform/gtk/css1/classification/list_style_type-expected.txt:
* platform/gtk/css1/classification/white_space-expected.txt:
* platform/gtk/css1/color_and_background/background-expected.txt:
* platform/gtk/css1/color_and_background/background_attachment-expected.txt:
* platform/gtk/css1/color_and_background/background_color-expected.txt:
* platform/gtk/css1/color_and_background/background_image-expected.txt:
* platform/gtk/css1/color_and_background/background_position-expected.txt:
* platform/gtk/css1/color_and_background/background_repeat-expected.txt:
* platform/gtk/css1/color_and_background/color-expected.txt:
* platform/gtk/css1/conformance/forward_compatible_parsing-expected.txt:
* platform/gtk/css1/font_properties/font-expected.txt:
* platform/gtk/css1/font_properties/font_family-expected.txt:
* platform/gtk/css1/font_properties/font_size-expected.txt:
* platform/gtk/css1/font_properties/font_style-expected.txt:
* platform/gtk/css1/font_properties/font_variant-expected.txt:
* platform/gtk/css1/font_properties/font_weight-expected.txt:
* platform/gtk/css1/formatting_model/canvas-expected.txt:
* platform/gtk/css1/formatting_model/floating_elements-expected.txt:
* platform/gtk/css1/formatting_model/height_of_lines-expected.txt:
* platform/gtk/css1/formatting_model/replaced_elements-expected.txt:
* platform/gtk/css1/formatting_model/vertical_formatting-expected.txt:
* platform/gtk/css1/pseudo/anchor-expected.txt:
* platform/gtk/css1/pseudo/firstletter-expected.txt:
* platform/gtk/css1/pseudo/firstline-expected.txt:
* platform/gtk/css1/pseudo/multiple_pseudo_elements-expected.txt:
* platform/gtk/css1/text_properties/letter_spacing-expected.txt:
* platform/gtk/css1/text_properties/line_height-expected.txt:
* platform/gtk/css1/text_properties/text_align-expected.txt:
* platform/gtk/css1/text_properties/text_decoration-expected.txt:
* platform/gtk/css1/text_properties/text_indent-expected.txt:
* platform/gtk/css1/text_properties/text_transform-expected.txt:
* platform/gtk/css1/text_properties/vertical_align-expected.txt:
* platform/gtk/css1/text_properties/word_spacing-expected.txt:
* platform/gtk/css1/units/color_units-expected.txt:
* platform/gtk/css1/units/length_units-expected.txt:
* platform/gtk/css1/units/percentage_units-expected.txt:
* platform/gtk/css1/units/urls-expected.txt:
* platform/gtk/css2.1/t100801-c548-ln-ht-00-c-a-expected.txt:
* platform/gtk/css2.1/t1606-c562-white-sp-00-b-ag-expected.txt:
* platform/gtk/fast/css/empty-pseudo-class-expected.txt:
* platform/gtk/fast/css/first-child-pseudo-class-expected.txt:
* platform/gtk/fast/css/last-child-pseudo-class-expected.txt:
* platform/gtk/fast/css/only-child-pseudo-class-expected.txt:
* platform/gtk/fast/forms/targeted-frame-submission-expected.txt:
* platform/gtk/fast/frames/onlyCommentInIFrame-expected.txt:
* platform/gtk/fast/html/listing-expected.txt:
* platform/gtk/fast/invalid/junk-data-expected.txt:
* platform/gtk/fast/invalid/missing-end-tag-expected.txt:
* platform/gtk/fast/loader/text-document-wrapping-expected.txt:
* platform/gtk/fast/overflow/clip-rects-fixed-ancestor-expected.txt:
* platform/gtk/fast/parser/xhtml-alternate-entities-expected.txt:
* platform/gtk/fast/table/border-collapsing/004-expected.txt:
* platform/gtk/fast/text/whitespace/001-expected.txt: Added.
* platform/gtk/fast/text/whitespace/013-expected.txt:
* platform/gtk/fast/text/whitespace/014-expected.txt:
* platform/gtk/fast/text/whitespace/022-expected.txt: Added.
* platform/gtk/fast/text/whitespace/024-expected.txt:
* platform/gtk/fast/text/whitespace/030-expected.txt:
* platform/gtk/fast/xsl/xslt-extra-content-at-end-expected.txt:
* platform/gtk/fast/xsl/xslt-missing-namespace-in-xslt-expected.txt:
* platform/gtk/svg/custom/junk-data-expected.txt:
* platform/gtk/svg/custom/missing-xlink-expected.txt:
* platform/gtk/svg/custom/use-font-face-crash-expected.txt:
* platform/gtk/svg/hixie/error/012-expected.txt:
* platform/gtk/tables/mozilla/bugs/45621-expected.txt:
* platform/gtk/tables/mozilla/bugs/bug139524-2-expected.txt:
* platform/gtk/tables/mozilla_expected_failures/bugs/bug21518-expected.txt:
* platform/gtk/tables/mozilla_expected_failures/bugs/bug22122-expected.txt:
* platform/gtk/tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt:
* platform/gtk/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@175346 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Notify Settings object when its Page object goes away.
https://bugs.webkit.org/show_bug.cgi?id=138183
rdar://problem/18786900

Reviewed by Andreas Kling.

I could not make a test for this issue.

* page/Page.cpp:
(WebCore::Page::~Page):
* page/Settings.cpp:
(WebCore::setImageLoadingSettings):
(WebCore::Settings::Settings):
(WebCore::Settings::setTextAutosizingEnabled):
(WebCore::Settings::setTextAutosizingWindowSizeOverride):
(WebCore::Settings::setTextAutosizingFontScaleFactor):
(WebCore::Settings::setMediaTypeOverride):
(WebCore::Settings::setScriptEnabled):
(WebCore::Settings::setUserStyleSheetLocation):
(WebCore::Settings::setMinDOMTimerInterval):
(WebCore::Settings::minDOMTimerInterval):
(WebCore::Settings::domTimerAlignmentInterval):
(WebCore::Settings::setUsesPageCache):
(WebCore::Settings::setScreenFontSubstitutionEnabled):
(WebCore::Settings::setFontRenderingMode):
(WebCore::Settings::setDNSPrefetchingEnabled):
(WebCore::Settings::setStorageBlockingPolicy):
(WebCore::Settings::setBackgroundShouldExtendBeyondPage):
(WebCore::Settings::setScrollingPerformanceLoggingEnabled):
(WebCore::Settings::setHiddenPageDOMTimerThrottlingEnabled):
(WebCore::Settings::setHiddenPageCSSAnimationSuspensionEnabled):
(WebCore::Settings::setFontFallbackPrefersPictographs):
* page/Settings.h:
(WebCore::Settings::pageDestroyed):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@175347 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Notify Settings object when its Page object goes away.
https://bugs.webkit.org/show_bug.cgi?id=138183
rdar://problem/18786900

Patch by Alexey Proskuryakov <ap@apple.com> on 2014-10-29
Reviewed by Andreas Kling.

I could not make a test for this issue.

* page/Page.cpp:
(WebCore::Page::~Page):
* page/Settings.cpp:
(WebCore::setImageLoadingSettings):
(WebCore::Settings::Settings):
(WebCore::Settings::setTextAutosizingEnabled):
(WebCore::Settings::setTextAutosizingWindowSizeOverride):
(WebCore::Settings::setTextAutosizingFontScaleFactor):
(WebCore::Settings::setMediaTypeOverride):
(WebCore::Settings::setScriptEnabled):
(WebCore::Settings::setUserStyleSheetLocation):
(WebCore::Settings::setMinDOMTimerInterval):
(WebCore::Settings::minDOMTimerInterval):
(WebCore::Settings::domTimerAlignmentInterval):
(WebCore::Settings::setUsesPageCache):
(WebCore::Settings::setScreenFontSubstitutionEnabled):
(WebCore::Settings::setFontRenderingMode):
(WebCore::Settings::setDNSPrefetchingEnabled):
(WebCore::Settings::setStorageBlockingPolicy):
(WebCore::Settings::setBackgroundShouldExtendBeyondPage):
(WebCore::Settings::setScrollingPerformanceLoggingEnabled):
(WebCore::Settings::setHiddenPageDOMTimerThrottlingEnabled):
(WebCore::Settings::setHiddenPageCSSAnimationSuspensionEnabled):
(WebCore::Settings::setFontFallbackPrefersPictographs):
* page/Settings.h:
(WebCore::Settings::pageDestroyed):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@175348 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Clear ViewSnapshots when back/forward list items are removed from their list
https://bugs.webkit.org/show_bug.cgi?id=138188
<rdar://problem/18817001>

Reviewed by Tim Horton.

Ideally we should remove the WebBackForwardListItem objects as well, but this is a somewhat safer fix.

Change all the "remove item" codepaths to call WebBackForwardList::didRemoveItem and have it clear out the snapshot.

* UIProcess/WebBackForwardList.cpp:
(WebKit::WebBackForwardList::pageClosed):
(WebKit::WebBackForwardList::addItem):
(WebKit::WebBackForwardList::removeAllItems):
(WebKit::WebBackForwardList::clear):
(WebKit::WebBackForwardList::didRemoveItem):
* UIProcess/WebBackForwardList.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@175349 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Implement WKPageSetMuted(bool).
https://bugs.webkit.org/show_bug.cgi?id=138158

Reviewed by Anders Carlsson.

Source/WebCore:

* WebCore.exp.in:
* page/Page.h:

Source/WebKit2:

* UIProcess/API/C/WKPage.cpp:
(WKPageSetMuted):
* UIProcess/API/C/WKPagePrivate.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::setMuted):
* UIProcess/WebPageProxy.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::setMuted):
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@175351 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Generalize dirtying of parent's line boxes when taking a renderer out of tree.
<https://webkit.org/b/138152>

Reviewed by Antti Koivisto.

Instead of calling dirtyLinesFromChangedChild() when certain types of renderers
are about to be destroyed, always do this in RenderElement::willBeRemovedFromTree().

This is part of an effort to make render tree teardown less incomprehensible.

We still don't bother at all if we're in the process of tearing down the entire
render tree, since that would be a waste of time.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::willBeDestroyed):
* rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::willBeDestroyed):
* rendering/RenderElement.cpp:
(WebCore::RenderElement::willBeRemovedFromTree):
* rendering/RenderInline.cpp:
(WebCore::RenderInline::willBeDestroyed):
* rendering/RenderReplaced.cpp:
(WebCore::RenderReplaced::willBeDestroyed): Deleted.
* rendering/RenderReplaced.h:


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