[AX][ATK] AccessibilityObject representing ProgressBar element should be ATK_VALUE type
https://bugs.webkit.org/show_bug.cgi?id=121023

Patch by Krzysztof Czech <k.czech@samsung.com> on 2013-09-09
Reviewed by Mario Sanchez Prada.

Source/WebCore:

Test: accessibility/progressbar.html

ProgressBar element should support ATK_VALUE interface.

* accessibility/atk/WebKitAccessibleWrapperAtk.cpp:
(getInterfaceMaskFromObject):

Tools:

Added mappings to ATK's ProgressBar element.

* DumpRenderTree/atk/AccessibilityUIElementAtk.cpp:
(roleToString):
* WebKitTestRunner/InjectedBundle/atk/AccessibilityUIElementAtk.cpp:
(WTR::roleToString):

LayoutTests:

Sharing progressbar.html specific mac test with efl and gtk.

* accessibility/progressbar-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/progressbar-expected.txt.
* accessibility/progressbar.html: Renamed from LayoutTests/platform/mac/accessibility/progressbar.html.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155337 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Remove FastAllocBase.h from WTF.pro.
https://bugs.webkit.org/show_bug.cgi?id=121024

Patch by Julien Brianceau <jbriance@cisco.com> on 2013-09-09
Reviewed by Jocelyn Turcotte.

* WTF.pro: Remove FastAllocBase.h as this file disappeared in r155251.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155338 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[DOM4] Have ProcessingInstruction inherit CharacterData
https://bugs.webkit.org/show_bug.cgi?id=120691

Reviewed by Darin Adler.

Source/WebCore:

Have ProcessingInstruction inherit CharacterData as per the latest DOM4
specification:
http://dom.spec.whatwg.org/#processinginstruction

Previously, ProcessingInstruction was inheriting from Node as per DOM
Level 3.

Firefox and Blink already follow DOM4 here but not IE10.
This change leads to less code duplication.

Test: fast/dom/processing-instruction-inherit-characterdata.xhtml

* bindings/objc/PublicDOMInterfaces.h:
* dom/CharacterData.cpp:
(WebCore::CharacterData::setDataAndUpdate):
* dom/ProcessingInstruction.cpp:
(WebCore::ProcessingInstruction::ProcessingInstruction):
(WebCore::ProcessingInstruction::cloneNode):
(WebCore::ProcessingInstruction::checkStyleSheet):
(WebCore::ProcessingInstruction::insertedInto):
(WebCore::ProcessingInstruction::removedFrom):
(WebCore::ProcessingInstruction::finishParsingChildren):
* dom/ProcessingInstruction.h:
(WebCore::toProcessingInstruction):
* dom/ProcessingInstruction.idl:

LayoutTests:

Add layout test to validate that ProcessingInstruction inherits from
CharacterData.

* fast/dom/coreDOM-element-attribute-js-null-expected.txt:
* fast/dom/coreDOM-element-attribute-js-null.xhtml:
* fast/dom/processing-instruction-inherit-characterdata-expected.txt: Added.
* fast/dom/processing-instruction-inherit-characterdata.xhtml: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155340 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Added new expected results after r153435
https://bugs.webkit.org/show_bug.cgi?id=121025

Unreviewed EFL gardening.

Patch by Krzysztof Czech <k.czech@samsung.com> on 2013-09-09

* platform/efl-wk1/TestExpectations:
* platform/efl-wk1/accessibility/lists-expected.txt: Added.
* platform/efl-wk1/accessibility/plugin-expected.txt: Added.
* platform/efl-wk1/accessibility/table-with-aria-role-expected.txt: Added.
* platform/efl-wk1/accessibility/transformed-element-expected.txt: Added.
* platform/efl-wk2/TestExpectations:
* platform/efl-wk2/accessibility/lists-expected.txt: Added.
* platform/efl-wk2/accessibility/plugin-expected.txt: Added.
* platform/efl-wk2/accessibility/table-with-aria-role-expected.txt: Added.
* platform/efl-wk2/accessibility/transformed-element-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@155343 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Hide Document::renderer()
https://bugs.webkit.org/show_bug.cgi?id=121028

Reviewed by Andreas Kling.

Use less generic Document::renderView() instead.

* accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::postNotification):
* accessibility/AccessibilityObject.cpp:
(WebCore::appendAccessibilityObject):
* accessibility/AccessibilityScrollView.cpp:
(WebCore::AccessibilityScrollView::webAreaObject):
* css/CSSFontSelector.cpp:
(WebCore::CSSFontSelector::dispatchInvalidationCallbacks):
* css/StyleResolver.cpp:
(WebCore::StyleResolver::appendAuthorStyleSheets):
* dom/Document.cpp:
(WebCore::Document::~Document):
(WebCore::Document::webkitGetNamedFlows):
(WebCore::Document::setVisualUpdatesAllowed):
(WebCore::Document::elementFromPoint):
(WebCore::Document::caretRangeFromPoint):
(WebCore::Document::updateLayout):
(WebCore::Document::existingAXObjectCache):
(WebCore::Document::axObjectCache):
(WebCore::Document::setVisuallyOrdered):
(WebCore::Document::implicitClose):
(WebCore::Document::prepareMouseEvent):
(WebCore::Document::styleResolverChanged):
(WebCore::Document::documentWillBecomeInactive):
(WebCore::Document::documentDidResumeFromPageCache):
* dom/Document.h:
* dom/DocumentStyleSheetCollection.cpp:
(WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets):
* dom/Element.cpp:
(WebCore::Element::~Element):
* dom/InlineStyleSheetOwner.cpp:
(WebCore::InlineStyleSheetOwner::removedFromDocument):
* dom/ProcessingInstruction.cpp:
(WebCore::ProcessingInstruction::removedFrom):
* editing/FrameSelection.cpp:
(WebCore::FrameSelection::contains):
* html/HTMLElement.cpp:
(WebCore::HTMLElement::adjustDirectionalityIfNeededAfterChildrenChanged):
* html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::removedFrom):
* html/HTMLStyleElement.cpp:
(WebCore::HTMLStyleElement::parseAttribute):
(WebCore::HTMLStyleElement::registerWithScopingNode):
(WebCore::HTMLStyleElement::unregisterWithScopingNode):
* html/parser/HTMLResourcePreloader.cpp:
(WebCore::HTMLResourcePreloader::preload):
* loader/ImageLoader.cpp:
(WebCore::ImageLoader::updateFromElement):
* page/EventHandler.cpp:
(WebCore::EventHandler::handleWheelEvent):
(WebCore::EventHandler::handleGestureScrollBegin):
* page/Frame.cpp:
(WebCore::Frame::setPageAndTextZoomFactors):
* page/FrameView.cpp:
(WebCore::FrameView::layout):
(WebCore::FrameView::doLayoutWithFrameFlattening):
* page/Page.cpp:
(WebCore::Page::setPageScaleFactor):
* page/PrintContext.cpp:
(WebCore::PrintContext::spoolAllPagesWithBoundaries):
* platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
(WebCore::MediaPlayerPrivateQTKit::paint):
* style/StyleResolveTree.cpp:
(WebCore::Style::resolveTree):
* svg/SVGDocument.cpp:
(WebCore::SVGDocument::updatePan):



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