Rollout r150602: Restoring text-overflow vs. floating rendering behaviour.
https://bugs.webkit.org/show_bug.cgi?id=117871

Unreviewed. Rolling out r150602.
Undesirable rendering behaviour.

Patch by Zalan Bujtas <zalan@apple.com> on 2013-06-21

Source/WebCore:

* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::checkLinesForTextOverflow):

LayoutTests:

* fast/css/text-overflow-ellipsis-behind-floats-expected.html:
* fast/css/text-overflow-ellipsis-behind-floats.html:
* fast/css/text-overflow-ellipsis-full-truncate-rtl-expected.html:
* fast/css/text-overflow-ellipsis-full-truncate-rtl.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151836 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove Chromium-only TouchDisambiguation
https://bugs.webkit.org/show_bug.cgi?id=117873

Reviewed by Andreas Kling.

* page/TouchDisambiguation.cpp: Removed.
* page/TouchDisambiguation.h: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151837 268f45cc-cd09-0410-ab3c-d52691b4dbfc
HTMLMediaElement should inherit from MediaPlayerClient privately
https://bugs.webkit.org/show_bug.cgi?id=117874

Reviewed by Andreas Kling.

Fixing FIXME: HTMLMediaElement was stuck with public inheritance from
MediaPlayerClient due to the Chromium port.
This can now be fixed to a private inheritance.

* html/HTMLMediaElement.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151838 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Improve the reattaching process while applying the :hover style
https://bugs.webkit.org/show_bug.cgi?id=117590

Patch by Radu Stavila <stavila@adobe.com> on 2013-06-21
Reviewed by Andreas Kling.

Source/WebCore:

Changes made:
    - context is properly propagated to the element's children and to Shadow DOM elements.
    - context is properly set on the lazyReattach method.
    - another hit-testing is triggered when needed.
    - when a hovered element is detached, it's ancestors are also removed from the hovered state.

Tests: fast/css/hover-display-block-inline.html
       fast/css/hover-display-block-none.html

* dom/ContainerNode.cpp:
(WebCore::ContainerNode::attach):
(WebCore::ContainerNode::detach):
* dom/ContainerNode.h:
(WebCore::ContainerNode::attachChildren):
(WebCore::ContainerNode::detachChildrenIfNeeded):
(WebCore::ContainerNode::detachChildren):
* dom/Document.cpp:
(WebCore::Document::recalcStyle):
(WebCore::Document::updateHoverActiveState):
* dom/Element.cpp:
(WebCore::Element::attach):
(WebCore::Element::detach):
* dom/ElementShadow.cpp:
(WebCore::ElementShadow::attach):
(WebCore::ElementShadow::detach):
* dom/ElementShadow.h:
* dom/Node.h:
(WebCore::Node::lazyReattach):

LayoutTests:

Moved hover-display-block-inline.html and hover-display-block-none.html from fast/regions to fast/css.
Updated hover-display-block-none.html and hover-single-flow-into-other.html to ensure the outcome won't be affected by the machine's speed.
Updated input-file-re-render.html to stop it from failing on windows and linux machines (a more detailed description can be found inside the test itself).

* fast/css/hover-display-block-inline-expected.txt: Renamed from LayoutTests/fast/regions/hover-display-block-inline-expected.txt.
* fast/css/hover-display-block-inline.html: Renamed from LayoutTests/fast/regions/hover-display-block-inline.html.
* fast/css/hover-display-block-none-expected.txt: Renamed from LayoutTests/fast/regions/hover-display-block-none-expected.txt.
* fast/css/hover-display-block-none.html: Added.
* fast/css/hover-update-expected.txt:
* fast/css/hover-update.html:
* fast/forms/file/input-file-re-render.html:
* fast/regions/hover-display-block-none.html: Removed.
* fast/regions/hover-single-flow-into-other.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151839 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove unused GesturePinch events
https://bugs.webkit.org/show_bug.cgi?id=117875

Reviewed by Andreas Kling.

The gesturePinch events have not been used for some time, even Chromium
had stop using them before moving out of webkit.

* dom/GestureEvent.cpp:
(WebCore::GestureEvent::create):
* page/EventHandler.cpp:
(WebCore::EventHandler::handleGestureEvent):
* platform/PlatformEvent.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151840 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore: [Windows] AX: Radio buttons with "tab" role should describe themselves as tabs
https://bugs.webkit.org/show_bug.cgi?id=117837

Reviewed by Chris Fleizach.

accessibility/aria-tab-role-on-buttons.html

* accessibility/AccessibilityNodeObject.cpp:
(WebCore::AccessibilityNodeObject::canSetSelectedAttribute): Indicate that certain accessibility
types (such as Tabs) can be selected.
* accessibility/AccessibilityNodeObject.h: Signature for canSelectAttribute override.

Source/WebKit/win: [Windows] AX: Radio buttons with "tab" role should describe themselves as tabs.
https://bugs.webkit.org/show_bug.cgi?id=117837

Reviewed by Chris Fleizach.

* AccessibleBase.cpp:
(MSAARole): Don't expose TabRole as a radio button to satisfy buggy screen readers.

LayoutTests: [Windows] AX: Radio buttons with "tab" role should describe themselves as tabs.
https://bugs.webkit.org/show_bug.cgi?id=117837

Reviewed by Chris Fleizach.

* accessibility/aria-tab-role-on-buttons.html: Added.
* accessibility/aria-tab-role-on-buttons-expected.txt: Added.
* platform/win/aria-tab-role-on-buttons-expected.txt: Added.


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