[HTMLTemplateElement] processTemplateEndTag() needs to check for template in html scope
https://bugs.webkit.org/show_bug.cgi?id=111880

Reviewed by Eric Seidel.

Source/WebCore:

Currently, </template> handling exits with an error if there is not a template tag "in scope"
which will be true if there is a table (for instance) below a template. This makes it so that
the search (correctly) examines the entire element stack.

Tests added to html5lib testing library.

* html/parser/HTMLTreeBuilder.cpp:
(WebCore::HTMLTreeBuilder::processTemplateEndTag):

LayoutTests:

* html5lib/resources/template.dat:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145293 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Cleanup: Remove dead code.
https://bugs.webkit.org/show_bug.cgi?id=111900

Reviewed by Dirk Pranke.

Treemap overrides a global function that used to be in
dashboard_base, but was removed months ago in
https://bugs.webkit.org/show_bug.cgi?id=99246, so this code has
no caller.

* TestResultServer/static-dashboards/treemap.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145294 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Don't snapshot Java plugins
https://bugs.webkit.org/show_bug.cgi?id=111899

Reviewed by Tim Horton.

Top-level:

Export MIMETypeRegistry::isJavaAppletMIMEType symbol.

* Source/autotools/symbols.filter:

Source/WebCore:

Export MIMETypeRegistry::isJavaAppletMIMEType symbol.

* WebCore.exp.in:

Source/WebKit2:

If the plugin is Java, return true from shouldAlwaysAutoStart.

* WebProcess/Plugins/PluginView.cpp:
(WebKit::PluginView::shouldAlwaysAutoStart): Check the mimetype for Java.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145295 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r142015.
http://trac.webkit.org/changeset/142015
https://bugs.webkit.org/show_bug.cgi?id=111904

The change caused 2 major regressions (bug 111091 and bug
111595) and Pravin doesn't have time to investigate them
(Requested by jchaffraix on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-03-08

Source/WebCore:

* dom/Node.cpp:
(WebCore::Node::diff):
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::childBecameNonInline):
(WebCore):
* rendering/RenderBlock.h:
(RenderBlock):
* rendering/RenderBoxModelObject.h:
(WebCore::RenderBoxModelObject::childBecameNonInline):
(RenderBoxModelObject):
* rendering/RenderInline.cpp:
(WebCore::RenderInline::childBecameNonInline):
(WebCore):
* rendering/RenderInline.h:
(RenderInline):
* rendering/RenderObject.cpp:
(WebCore):
(WebCore::RenderObject::handleDynamicFloatPositionChange):
(WebCore::RenderObject::styleWillChange):
(WebCore::RenderObject::styleDidChange):
* rendering/RenderObject.h:
(RenderObject):

LayoutTests:

* fast/css/first-letter-removed-added-expected.txt:
* fast/dynamic/absolute-positioned-to-static-positioned-expected.txt: Removed.
* fast/dynamic/absolute-positioned-to-static-positioned.html: Removed.
* fast/dynamic/floating-to-non-floating-expected.txt: Removed.
* fast/dynamic/floating-to-non-floating.html: Removed.
* fast/dynamic/non-floating-to-floating-expected.txt: Removed.
* fast/dynamic/non-floating-to-floating.html: Removed.
* fast/dynamic/resources/helper-bug91665.js: Removed.
* fast/dynamic/resources/style-bug91665.css: Removed.
* fast/dynamic/static-positioned-to-absolute-positioned-expected.txt: Removed.
* fast/dynamic/static-positioned-to-absolute-positioned.html: Removed.
* fullscreen/full-screen-fixed-pos-parent-expected.txt:
* platform/chromium-mac/fast/repaint/absolute-position-change-containing-block-expected.png:
* platform/chromium-mac/fast/repaint/fixed-to-relative-position-with-absolute-child-expected.png:
* platform/chromium-win/fast/dynamic/002-expected.txt:
* platform/chromium/fast/dynamic/002-expected.txt:
* platform/chromium/fast/repaint/absolute-position-change-containing-block-expected.png: Removed.
* platform/chromium/fast/repaint/fixed-to-relative-position-with-absolute-child-expected.png: Removed.
* platform/mac/fast/dynamic/002-expected.txt:
* platform/mac/fast/repaint/absolute-position-change-containing-block-expected.png: Removed.
* platform/mac/fast/repaint/fixed-to-relative-position-with-absolute-child-expected.png: Removed.

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