Unreviewed TestExpectation gardening.  Clean up some lint warnings.

* platform/qt-mac/TestExpectations: Remove references to removed tests.
* platform/qt/TestExpectations: Ditto.
* platform/win/TestExpectations: Remove 'skip' entries for (1) removed tests, and
(2) tests that have since been rebaselined and now pass.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151274 268f45cc-cd09-0410-ab3c-d52691b4dbfc
AX: iOS ignores ARIA progressbar elements
https://bugs.webkit.org/show_bug.cgi?id=116727

Reviewed by David Kilzer.

Source/WebCore:

Make this an accessible element on iOS.

Test: platform/iphone-simulator/accessibility/progressbar.html

* accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(-[WebAccessibilityObjectWrapper determineIsAccessibilityElement]):
(-[WebAccessibilityObjectWrapper _accessibilityMinValue]):
(-[WebAccessibilityObjectWrapper _accessibilityMaxValue]):

Tools:

* DumpRenderTree/ios/AccessibilityUIElementIOS.mm:
(AccessibilityUIElement::minValue):
(AccessibilityUIElement::maxValue):

LayoutTests:

* platform/iphone-simulator/accessibility/progressbar-expected.txt: Added.
* platform/iphone-simulator/accessibility/progressbar.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151275 268f45cc-cd09-0410-ab3c-d52691b4dbfc
selectionStart/selectionEnd return "obsolete" values when requested during "input" event
https://bugs.webkit.org/show_bug.cgi?id=117287

Reviewed by Darin Adler.

Qt-WK2 test crashes when eventSender.keyDown invocations are nested.

This patch unrolls recursion to avoid crash.

* editing/selection/caret-after-keypress.html:
unroll recursive eventSender.keyDown invocations
* platform/qt-5.0-wk2/TestExpectations: Unskip test.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ResourceLoader::resourceData() should not return a PassRefPtr
https://bugs.webkit.org/show_bug.cgi?id=117288

Reviewed by Darin Adler.

Change ResourceLoader::resourceData() to return a raw pointer
instead of a PassRefPtr since we don't want to transfer the
ownership of the resource data. Also pass a raw pointer to
CachedResource::data() so that the cached resource can decide
whether to take a reference of the data or not, for example,
CachedRawResource only takes a reference when buffering policy is
BufferData.

* html/ImageDocument.cpp:
(WebCore::ImageDocumentParser::appendBytes):
(WebCore::ImageDocumentParser::finish):
* loader/ResourceLoader.cpp:
* loader/ResourceLoader.h:
(WebCore::ResourceLoader::resourceData):
* loader/SubresourceLoader.cpp:
(WebCore::SubresourceLoader::sendDataToResource):
* loader/cache/CachedCSSStyleSheet.cpp:
(WebCore::CachedCSSStyleSheet::data):
* loader/cache/CachedCSSStyleSheet.h:
* loader/cache/CachedFont.cpp:
(WebCore::CachedFont::data):
* loader/cache/CachedFont.h:
* loader/cache/CachedImage.cpp:
(WebCore::CachedImage::data):
* loader/cache/CachedImage.h:
* loader/cache/CachedRawResource.cpp:
(WebCore::CachedRawResource::data):
* loader/cache/CachedRawResource.h:
* loader/cache/CachedResource.cpp:
(WebCore::CachedResource::data):
* loader/cache/CachedResource.h:
* loader/cache/CachedSVGDocument.cpp:
(WebCore::CachedSVGDocument::data):
* loader/cache/CachedSVGDocument.h:
* loader/cache/CachedScript.cpp:
(WebCore::CachedScript::data):
* loader/cache/CachedScript.h:
* loader/cache/CachedShader.cpp:
(WebCore::CachedShader::data):
* loader/cache/CachedShader.h:
* loader/cache/CachedTextTrack.cpp:
(WebCore::CachedTextTrack::data):
* loader/cache/CachedTextTrack.h:
* loader/cache/CachedXSLStyleSheet.cpp:
(WebCore::CachedXSLStyleSheet::data):
* loader/cache/CachedXSLStyleSheet.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Unreviewed gardening. Removing accidentally added png files for ref tests.

* platform/qt-5.0-wk2/compositing/patterns/direct-pattern-compositing-contain-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/patterns/direct-pattern-compositing-contain-no-repeat-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/patterns/direct-pattern-compositing-cover-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/patterns/direct-pattern-compositing-position-expected.png: Removed.
* platform/qt-5.0-wk2/compositing/patterns/direct-pattern-compositing-size-expected.png: Removed.
* platform/qt-5.0-wk2/css2.1/20110323/margin-collapse-clear-016-expected.png: Removed.
* platform/qt-5.0-wk2/css3/filters/custom/custom-filter-clamp-css-color-matrix-expected.png: Removed.
* platform/qt-5.0-wk2/css3/filters/custom/custom-filter-nonseparable-blend-mode-luminosity-expected.png: Removed.
* platform/qt-5.0-wk2/fast/css/sticky/sticky-left-expected.png: Removed.
* platform/qt-5.0-wk2/fast/css/sticky/sticky-side-margins-expected.png: Removed.
* platform/qt-5.0-wk2/fast/css/sticky/sticky-top-expected.png: Removed.
* platform/qt-5.0-wk2/fast/css/sticky/sticky-top-margins-expected.png: Removed.
* platform/qt-5.0-wk2/fast/css/sticky/sticky-writing-mode-horizontal-bt-expected.png: Removed.
* platform/qt-5.0-wk2/fast/forms/textarea-placeholder-set-attribute-expected.png: Removed.
* platform/qt-5.0-wk2/fast/regions/autosize-region-window-resize-expected.png: Removed.
* platform/qt-5.0-wk2/fast/regions/overflow-size-change-with-stacking-context-rtl-expected.png: Removed.
* platform/qt-5.0-wk2/fast/regions/region-style-image-background-color-expected.png: Removed.
* platform/qt-5.0-wk2/fast/regions/region-style-inline-background-color-expected.png: Removed.
* platform/qt-5.0-wk2/fast/regions/render-region-custom-style-mark-expected.png: Removed.
* platform/qt-5.0-wk2/svg/animations/animateMotion-additive-2c-expected.png: Removed.
* platform/qt-5.0-wk2/svg/animations/animateMotion-additive-2d-expected.png: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151278 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[CSSRegions] Make positioned-object-inline-cb-crash.html output readable in browser
https://bugs.webkit.org/show_bug.cgi?id=117291

Reviewed by Alexandru Chiculita.

Make the output in browser readable by setting the style only on the required p element.

* fast/regions/positioned-object-inline-cb-crash-expected.txt:
* fast/regions/positioned-object-inline-cb-crash.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151279 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Aligning build-webkit command line switch names to the WebKit flag names
https://bugs.webkit.org/show_bug.cgi?id=117254

Reviewed by Laszlo Gombos.

* Scripts/webkitperl/FeatureList.pm: Rename some command line switches.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151280 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ENABLE(PAN_SCROLLING) AutoscrollController::updateAutoscrollRenderer calls hitTestResultAtPoint with `true` for HitTestRequestType
https://bugs.webkit.org/show_bug.cgi?id=116896

Reviewed by Andreas Kling.

Update hitTestResultAtPoint call to new API.

* page/AutoscrollController.cpp:
(WebCore::AutoscrollController::updateAutoscrollRenderer):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@151281 268f45cc-cd09-0410-ab3c-d52691b4dbfc
:hover style not applied on hover if its display property is different from original style's
https://bugs.webkit.org/show_bug.cgi?id=7555

Source/WebCore:

Properly apply the :hover pseudo-class when reattaching is required (e.g. when changing the display type)

A new AttachContext class was created to be passed along as an optional parameter to the attach/detach/reattach methods.
This new parameter is used to:
    - prevent the element from being removed from the list of hovered/active elements upon detach when a reattach is in progress
    - prevent the style from being incorrectly computed (due to the previous point)
    - prevent the style from being computed twice (the attach() method used to recompute it)

Special care was required to the case when display:none is specified in the :hover class. Enabling the :hover style
was leaving the element without a renderer, which was causing it to remain stuck in the :hover state (subsequent mouseMove
events were not able to reset the element to its normal style due to the fact that it had no renderer).

The DragController::startDrag method was updated to properly handle the case when dragImage is NULL
(for instance by setting display:none inside the -webkit-drag pseudo-class).

Patch by Radu Stavila <stavila@adobe.com> on 2013-06-06
Reviewed by Antti Koivisto.

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

* page/DragController.cpp:
(WebCore::DragController::startDrag):
* dom/ContainerNode.cpp:
(WebCore::ContainerNode::attach):
(WebCore::ContainerNode::detach):
* dom/ContainerNode.h:
* dom/Document.cpp:
(WebCore::Document::attach):
(WebCore::Document::detach):
(WebCore::Document::updateHoverActiveState):
* dom/Document.h:
* dom/Element.cpp:
(WebCore::Element::setHovered):
(WebCore::Element::createRendererIfNeeded):
(WebCore::Element::attach):
(WebCore::Element::detach):
(WebCore::Element::recalcStyle):
* dom/Element.h:
* dom/Node.cpp:
(WebCore::Node::AttachDetachContext::AttachDetachContext):
(WebCore::Node::AttachDetachContext::~AttachDetachContext):
(WebCore::Node::attach):
(WebCore::Node::detach):
* dom/Node.h:
(WebCore::Node::reattach):
(WebCore::Node::reattachIfAttached):
* dom/NodeRenderingContext.cpp:
(WebCore::NodeRenderingContext::NodeRenderingContext):
* dom/PseudoElement.cpp:
(WebCore::PseudoElement::attach):
* dom/PseudoElement.h:
* dom/ShadowRoot.cpp:
(WebCore::ShadowRoot::attach):
* dom/ShadowRoot.h:
* dom/Text.cpp:
(WebCore::Text::attach):
* dom/Text.h:
* html/HTMLCanvasElement.cpp:
(WebCore::HTMLCanvasElement::attach):
* html/HTMLCanvasElement.h:
* html/HTMLFormControlElement.cpp:
(WebCore::HTMLFormControlElement::attach):
* html/HTMLFormControlElement.h:
* html/HTMLFrameElement.cpp:
(WebCore::HTMLFrameElement::attach):
* html/HTMLFrameElement.h:
* html/HTMLFrameElementBase.cpp:
(WebCore::HTMLFrameElementBase::attach):
* html/HTMLFrameElementBase.h:
* html/HTMLFrameSetElement.cpp:
(WebCore::HTMLFrameSetElement::attach):
* html/HTMLFrameSetElement.h:
* html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::attach):
* html/HTMLImageElement.h:
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::attach):
(WebCore::HTMLInputElement::detach):
* html/HTMLInputElement.h:
* html/HTMLLIElement.cpp:
(WebCore::HTMLLIElement::attach):
* html/HTMLLIElement.h:
* html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::attach):
* html/HTMLMediaElement.h:
* html/HTMLOptGroupElement.cpp:
(WebCore::HTMLOptGroupElement::attach):
(WebCore::HTMLOptGroupElement::detach):
* html/HTMLOptGroupElement.h:
* html/HTMLOptionElement.cpp:
(WebCore::HTMLOptionElement::attach):
(WebCore::HTMLOptionElement::detach):
* html/HTMLOptionElement.h:
* html/HTMLPlugInElement.cpp:
(WebCore::HTMLPlugInElement::detach):
* html/HTMLPlugInElement.h:
* html/HTMLPlugInImageElement.cpp:
(WebCore::HTMLPlugInImageElement::attach):
(WebCore::HTMLPlugInImageElement::detach):
* html/HTMLPlugInImageElement.h:
* html/HTMLProgressElement.cpp:
(WebCore::HTMLProgressElement::attach):
* html/HTMLProgressElement.h:
* html/HTMLTextAreaElement.cpp:
(WebCore::HTMLTextAreaElement::attach):
* html/HTMLTextAreaElement.h:
* html/HTMLVideoElement.cpp:
(WebCore::HTMLVideoElement::attach):
* html/HTMLVideoElement.h:
* html/PluginDocument.cpp:
(WebCore::PluginDocument::detach):
* html/PluginDocument.h:
* html/shadow/InsertionPoint.cpp:
(WebCore::InsertionPoint::attach):
(WebCore::InsertionPoint::detach):
* html/shadow/InsertionPoint.h:
* html/shadow/SliderThumbElement.cpp:
(WebCore::SliderThumbElement::detach):
* html/shadow/SliderThumbElement.h:
* html/shadow/SpinButtonElement.cpp:
(WebCore::SpinButtonElement::detach):
* html/shadow/SpinButtonElement.h:
* html/shadow/TextControlInnerElements.cpp:
(WebCore::SearchFieldCancelButtonElement::detach):
(WebCore::InputFieldSpeechButtonElement::attach):
(WebCore::InputFieldSpeechButtonElement::detach):
* html/shadow/TextControlInnerElements.h:
* loader/PlaceholderDocument.cpp:
(WebCore::PlaceholderDocument::attach):
* loader/PlaceholderDocument.h:
* svg/SVGImageElement.cpp:
(WebCore::SVGImageElement::attach):
* svg/SVGImageElement.h:

LayoutTests:

Patch by Radu Stavila <stavila@adobe.com> on 2013-06-06
Reviewed by Antti Koivisto.

* fast/regions/hover-display-block-inline-expected.txt: Added.
* fast/regions/hover-display-block-inline.html: Added.
* fast/regions/hover-display-block-none-expected.txt: Added.
* fast/regions/hover-display-block-none.html: Added.
* fast/events/drag-display-none-element-expected.txt:
* fast/events/drag-display-none-element:

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