Web Inspector: editing resets line-ending of the whole file
https://bugs.webkit.org/show_bug.cgi?id=82708

Reviewed by Yury Semikhatsky.

Source/WebCore:

This change splits TextEditorModel's setText into setText (for initialization) and
editRange (for editing). Distinguishing between the two allowed properly detecting
the preferred line endings.

Test: inspector/editor/text-editor-line-breaks.html

* inspector/front-end/JavaScriptSourceFrame.js:
(WebInspector.JavaScriptSourceFrame.prototype.afterTextChanged):
* inspector/front-end/SourceFrame.js:
(WebInspector.SourceFrame.prototype.setContent):
* inspector/front-end/TextEditorModel.js:
(WebInspector.TextEditorCommand):
(WebInspector.TextEditorModel):
(WebInspector.TextEditorModel.endsWithBracketRegex.):
* inspector/front-end/TextViewer.js:
(WebInspector.TextViewer.prototype._textChanged):
(WebInspector.TextEditorMainPanel.prototype._unindentLines.get var):
(WebInspector.TextEditorMainPanel.prototype._unindentLines):
(WebInspector.TextEditorMainPanel.prototype.handleEnterKey.get var):
(WebInspector.TextEditorMainPanel.prototype.handleEnterKey):
(WebInspector.TextEditorMainPanel.prototype._applyDomUpdates):
(WebInspector.TextEditorMainPanel.prototype._editRange):

LayoutTests:

* inspector/editor/highlighter-basics.html:
* inspector/editor/highlighter-long-line.html:
* inspector/editor/highlighter-paste-in-comment.html:
* inspector/editor/indentation.html:
* inspector/editor/text-editor-line-breaks-expected.txt: Added.
* inspector/editor/text-editor-line-breaks.html: Added.
* inspector/editor/text-editor-model.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
IDLParser.pm should be able to parse sequence<T> as method argument.
https://bugs.webkit.org/show_bug.cgi?id=82599

Patch by Vineet Chaudhary <rgf748@motorola.com> on 2012-03-30
Reviewed by Kentaro Hara.

With this patch IDL parser should support sequence<T> as method argument.
Current behaviour is argument name is not parsed hence shows empty spaces instead.

Tests: bindings/scripts/test/TestObj.idl

* bindings/scripts/CodeGeneratorCPP.pm:
(SkipFunction): Skip functions for specific type.
(SkipAttribute): Skip functions for specific type.
(AddIncludesForType): Skip header for sequence<T> type.
(GenerateHeader): Skip header and declaration for sequence<T> type.
(GenerateImplementation): Skip header and implementation for sequence<T> type.
* bindings/scripts/CodeGeneratorGObject.pm:
(SkipFunction): Skip functions for sequence<T> type.
* bindings/scripts/CodeGeneratorObjC.pm:
(SkipFunction): Skip functions for specific type.
(SkipAttribute): Skip functions for specific type.
(AddForwardDeclarationsForType): Skip header for sequence<T> type.
(AddIncludesForType): Skip header for sequence<T> type.
(GenerateHeader):Skip header and declaration for sequence<T> type.
(GenerateImplementation): Skip header and implementation for sequence<T> type.
* bindings/scripts/CodeGeneratorV8.pm:
(CreateCustomSignature): Add appropriate headers.
* bindings/scripts/IDLStructure.pm: Add support to parse sequence<T>.
* bindings/scripts/test/CPP/WebDOMTestObj.cpp: Modified results from run-binding-tests.
(WebDOMTestObj::objMethodWithArgs):
* bindings/scripts/test/CPP/WebDOMTestObj.h: Ditto.
* bindings/scripts/test/GObject/WebKitDOMTestObj.cpp: Ditto.
(webkit_dom_test_obj_obj_method_with_args):
* bindings/scripts/test/GObject/WebKitDOMTestObj.h: Ditto.
* bindings/scripts/test/JS/JSTestObj.cpp: Ditto.
(WebCore::jsTestObjPrototypeFunctionMethodWithSequenceArg):
* bindings/scripts/test/ObjC/DOMTestObj.h: Ditto.
* bindings/scripts/test/ObjC/DOMTestObj.mm: Ditto.
(-[DOMTestObj objMethodWithArgs:strArg:objArg:]):
* bindings/scripts/test/V8/V8TestObj.cpp: Ditto.
(WebCore::TestObjInternal::methodWithSequenceArgCallback):
(WebCore::ConfigureV8TestObjTemplate):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112653 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] Add more ENABLERS to cmakeconfig.h.cmake
https://bugs.webkit.org/show_bug.cgi?id=82594

Reviewed by Rob Buis.

Upstreaming feature enablers in cmakeconfig.h.cmake for BlackBerry porting,
and clean up obsolete MACROs in OptionsBlackBerry.cmake.

* Source/cmake/OptionsBlackBerry.cmake:
* Source/cmakeconfig.h.cmake:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed, update expectations.

* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: ScriptsNavigator should open scripts with single click (not double click).
https://bugs.webkit.org/show_bug.cgi?id=82723

Reviewed by Pavel Feldman.

This patch makes ScriptsNavigator open scripts with single click.

* inspector/front-end/ScriptsNavigator.js:
(WebInspector.NavigatorScriptTreeElement.prototype.onattach):
(WebInspector.NavigatorScriptTreeElement.prototype._onclick):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[BlackBerry] EventLoop::platformInit() obsolete.
https://bugs.webkit.org/show_bug.cgi?id=82709

Reviewed by Rob Buis.

No new tests, build fix for BlackBerry porting.

* platform/blackberry/EventLoopBlackBerry.cpp:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Change ENABLE_INPUT_COLOR to ENABLE_INPUT_TYPE_COLOR and enable it for chromium
https://bugs.webkit.org/show_bug.cgi?id=80972

Reviewed by Kent Tamura.

.:

* Source/cmake/OptionsBlackBerry.cmake:
* configure.ac:

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

* CMakeLists.txt:
* Configurations/FeatureDefines.xcconfig:
* GNUmakefile.am:
* WebCore.exp.in:
* css/html.css:
* html/ColorInputType.cpp:
* html/ColorInputType.h:
* html/HTMLInputElement.cpp:
(WebCore):
* html/HTMLInputElement.h:
(HTMLInputElement):
* html/InputType.cpp:
(WebCore::createInputTypeFactoryMap):
(WebCore):
(InputTypeNames):
* html/InputType.h:
(InputType):
(InputTypeNames):
* loader/EmptyClients.h:
(EmptyChromeClient):
* page/Chrome.cpp:
(WebCore):
* page/Chrome.h:
(WebCore):
(Chrome):
* page/ChromeClient.h:
(WebCore):
(ChromeClient):
* platform/ColorChooser.h:
* platform/ColorChooserClient.h:
* testing/InternalSettings.cpp:
* testing/Internals.cpp:
(WebCore):
* testing/Internals.h:
(Internals):
* testing/Internals.idl:

Source/WebKit/blackberry:

* WebCoreSupport/AboutDataEnableFeatures.in:
* WebCoreSupport/ChromeClientBlackBerry.h:
(ChromeClientBlackBerry):
* WebKitSupport/DOMSupport.cpp:
(BlackBerry::WebKit::DOMSupport::isColorInputField):
* WebKitSupport/InputHandler.cpp:
(BlackBerry::WebKit::convertInputType):

Source/WebKit/chromium:

* features.gypi:
* src/ChromeClientImpl.cpp:
(WebKit):
* src/ChromeClientImpl.h:
(WebCore):
(ChromeClientImpl):
* src/ColorChooserProxy.cpp:
* src/ColorChooserProxy.h:
* src/WebColorChooserClientImpl.cpp:
* src/WebColorChooserClientImpl.h:

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:

Tools:

* Scripts/build-webkit:
* qmake/mkspecs/features/features.prf:

WebKitLibraries:

* win/tools/vsprops/FeatureDefines.vsprops:
* win/tools/vsprops/FeatureDefinesCairo.vsprops:

LayoutTests:

* platform/efl/Skipped:
* platform/qt/Skipped:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r112489.
http://trac.webkit.org/changeset/112489
https://bugs.webkit.org/show_bug.cgi?id=82725

Tentatively introduces a lot of webfont-related test flakiness
on Snow Leopard (Requested by apavlov on #webkit).

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

* css/CSSSegmentedFontFace.cpp:
(WebCore::CSSSegmentedFontFace::getFontData):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112659 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: preload field values into local variables for better heap profiler performance
https://bugs.webkit.org/show_bug.cgi?id=82703

Reading from object fields takes a noticable time when the only other thing you do
is just manipulating on big(several million elements) Uint32Array array cells.

Reviewed by Pavel Feldman.

* inspector/front-end/HeapSnapshot.js:
(WebInspector.HeapSnapshot.prototype._createContainmentEdgesArray):
(WebInspector.HeapSnapshot.prototype._buildRetainers):
(WebInspector.HeapSnapshot.prototype._bfs):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: [Regression] Execution line is not revealed after pretty print.
https://bugs.webkit.org/show_bug.cgi?id=82727

Reviewed by Pavel Feldman.

This patch makes JavaScriptSourceFrame reveal execution line after pretty print.

* inspector/front-end/JavaScriptSourceFrame.js:
(WebInspector.JavaScriptSourceFrame.prototype.setExecutionLine):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Skip another asserting test on debug build
https://bugs.webkit.org/show_bug.cgi?id=82052

Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-03-30
Reviewed by Csaba Osztrogonác.

* platform/qt/Skipped: Skip asserting test.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed, updated fast/frames/valid.html expectation for LEOPARD.

* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112663 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add a "preview" state to Page Visibility API implementation
https://bugs.webkit.org/show_bug.cgi?id=81355

Patch by Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> on 2012-03-30
Reviewed by Adam Barth.

Updating the Page Visibility API implementation to the current spec version.

Source/WebCore:

This change is covered by fast/events/page-visibility-transition-test.html,
so no new tests needed.

* page/PageVisibilityState.cpp:
(WebCore::pageVisibilityStateString):
* page/PageVisibilityState.h:

Source/WebKit/chromium:

* public/WebPageVisibilityState.h:
* src/AssertMatchingEnums.cpp:
* src/WebViewImpl.cpp:
(WebKit::WebViewImpl::setVisibilityState):

Source/WebKit/efl:

* WebCoreSupport/AssertMatchingEnums.cpp:
* ewk/ewk_view.h:

Tools:

* DumpRenderTree/chromium/LayoutTestController.cpp:
(LayoutTestController::setPageVisibility):

LayoutTests:

* fast/events/page-visibility-transition-test-expected.txt:
* fast/events/page-visibility-transition-test.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed, more expectations for BUGWK82505.

* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed, update expectations for XP.

* platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add new renderer for circles and ellipses
https://bugs.webkit.org/show_bug.cgi?id=80423

Patch by Philip Rogers <pdr@google.com> on 2012-03-30
Reviewed by Eric Seidel.

Source/WebCore: 

This patch introduces a special renderer for SVGCircleElements
and SVGEllipseElements to avoid having to use the slower path
rendering code. This patch includes optimized circle code for
the CG platform, and hooks (GC::fillEllipse, GC::strokeEllipse)
are available for other platforms as well.

Tests: svg/hittest/svg-ellipse-non-scale-stroke.xhtml
       svg/hittest/svg-ellipse.xhtml

Added a test to exercise hit testing on an ellipse, and on
an ellipse's stroke, to make sure the formulae in this patch
are correct.

* CMakeLists.txt:
* GNUmakefile.list.am:
* Target.pri:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* platform/graphics/GraphicsContext.cpp:
(WebCore::GraphicsContext::fillEllipse):
(WebCore):
(WebCore::GraphicsContext::strokeEllipse):
(WebCore::GraphicsContext::fillEllipseAsPath):
(WebCore::GraphicsContext::strokeEllipseAsPath):
(WebCore::GraphicsContext::platformFillEllipse):
(WebCore::GraphicsContext::platformStrokeEllipse):
* platform/graphics/GraphicsContext.h:
(GraphicsContext):
* platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::platformFillEllipse):
(WebCore):
(WebCore::GraphicsContext::platformStrokeEllipse):
* platform/graphics/skia/GraphicsContextSkia.cpp:
(WebCore::GraphicsContext::platformFillEllipse):
(WebCore):
(WebCore::GraphicsContext::platformStrokeEllipse):
* rendering/svg/RenderSVGAllInOne.cpp:
* rendering/svg/RenderSVGEllipse.cpp: Added.
(WebCore):
(WebCore::RenderSVGEllipse::RenderSVGEllipse):
(WebCore::RenderSVGEllipse::~RenderSVGEllipse):
(WebCore::RenderSVGEllipse::createShape):
(WebCore::RenderSVGEllipse::calculateRadiiAndCenter):
(WebCore::RenderSVGEllipse::objectBoundingBox):
(WebCore::RenderSVGEllipse::strokeBoundingBox):
(WebCore::RenderSVGEllipse::fillShape):
(WebCore::RenderSVGEllipse::strokeShape):
(WebCore::RenderSVGEllipse::shapeDependentStrokeContains):
(WebCore::RenderSVGEllipse::shapeDependentFillContains):
* rendering/svg/RenderSVGEllipse.h: Added.
(WebCore):
(RenderSVGEllipse):
(WebCore::RenderSVGEllipse::isSVGEllipse):
(WebCore::RenderSVGEllipse::renderName):
(WebCore::RenderSVGEllipse::isEmpty):
* svg/SVGCircleElement.cpp:
(WebCore::SVGCircleElement::svgAttributeChanged):
(WebCore):
(WebCore::SVGCircleElement::createRenderer):
* svg/SVGCircleElement.h:
(SVGCircleElement):
* svg/SVGEllipseElement.cpp:
(WebCore::SVGEllipseElement::svgAttributeChanged):
(WebCore::SVGEllipseElement::createRenderer):
(WebCore):
* svg/SVGEllipseElement.h:
(SVGEllipseElement):

LayoutTests: 

* platform/chromium/test_expectations.txt:
* platform/gtk/Skipped:
* platform/mac/Skipped:
* platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1-SE/filters-felem-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1-SE/linking-uri-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1-SE/pservers-pattern-04-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1-SE/struct-use-11-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1-SE/styling-pres-02-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1-SE/types-dom-07-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-21-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-23-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-26-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-28-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-29-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-30-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-31-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-32-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-33-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-37-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-39-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-44-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-80-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-81-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-82-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/animate-elem-83-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/color-prop-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/color-prop-02-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/color-prop-03-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/coords-units-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/coords-units-02-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/filters-felem-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/filters-offset-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/interact-order-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/interact-order-02-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/linking-a-04-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/linking-a-05-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/linking-uri-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/masking-intro-01-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/painting-marker-01-f-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/painting-render-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/script-handle-02-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/script-handle-03-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/script-handle-04-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/shapes-circle-01-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/shapes-circle-02-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/shapes-ellipse-01-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/shapes-ellipse-02-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/shapes-intro-01-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/struct-frag-02-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/struct-frag-03-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/struct-frag-04-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/struct-use-01-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/styling-css-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/styling-css-02-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/styling-css-03-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/styling-inherit-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/styling-pres-01-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/text-align-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/text-align-05-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.1/types-basicDOM-01-b-expected.txt:
* platform/mac/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-01-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-02-t-expected.txt:
* platform/mac/svg/W3C-SVG-1.2-Tiny/struct-use-recursion-03-t-expected.txt:
* platform/mac/svg/as-image/img-preserveAspectRatio-support-1-expected.txt:
* platform/mac/svg/as-image/img-preserveAspectRatio-support-2-expected.txt:
* platform/mac/svg/as-object/object-box-sizing-no-width-height-expected.txt:
* platform/mac/svg/as-object/svg-embedded-in-html-in-iframe-expected.txt:
* platform/mac/svg/batik/masking/maskRegions-expected.txt:
* platform/mac/svg/batik/paints/patternPreserveAspectRatioA-expected.txt:
* platform/mac/svg/batik/paints/patternRegions-expected.txt:
* platform/mac/svg/batik/paints/patternRegions-positioned-objects-expected.txt:
* platform/mac/svg/batik/text/verticalText-expected.txt:
* platform/mac/svg/carto.net/button-expected.txt:
* platform/mac/svg/clip-path/clip-in-mask-expected.txt:
* platform/mac/svg/clip-path/clip-path-child-clipped-expected.txt:
* platform/mac/svg/clip-path/clip-path-evenodd-nonzero-expected.txt:
* platform/mac/svg/clip-path/clip-path-nonzero-evenodd-expected.txt:
* platform/mac/svg/clip-path/clip-path-nonzero-expected.txt:
* platform/mac/svg/clip-path/clip-path-pixelation-expected.txt:
* platform/mac/svg/clip-path/clip-path-transform-1-expected.txt:
* platform/mac/svg/clip-path/clip-path-use-as-child2-expected.txt:
* platform/mac/svg/clip-path/clip-path-use-as-child3-expected.txt:
* platform/mac/svg/clip-path/clip-path-use-as-child4-expected.txt:
* platform/mac/svg/clip-path/clip-path-use-as-child5-expected.txt:
* platform/mac/svg/clip-path/clip-path-with-different-unittypes-expected.txt:
* platform/mac/svg/clip-path/clip-path-with-different-unittypes2-expected.txt:
* platform/mac/svg/clip-path/deep-nested-clip-in-mask-different-unitTypes-expected.txt:
* platform/mac/svg/clip-path/deep-nested-clip-in-mask-expected.txt:
* platform/mac/svg/clip-path/deep-nested-clip-in-mask-panning-expected.txt:
* platform/mac/svg/clip-path/nested-clip-in-mask-image-based-clipping-expected.txt:
* platform/mac/svg/clip-path/nested-clip-in-mask-path-and-image-based-clipping-expected.txt:
* platform/mac/svg/clip-path/nested-clip-in-mask-path-based-clipping-expected.txt:
* platform/mac/svg/css/shadow-changes-expected.txt:
* platform/mac/svg/custom/absolute-sized-content-with-resources-expected.txt:
* platform/mac/svg/custom/circle-move-invalidation-expected.txt:
* platform/mac/svg/custom/circular-marker-reference-2-expected.txt:
* platform/mac/svg/custom/clone-element-with-animated-svg-properties-expected.txt:
* platform/mac/svg/custom/dasharrayOrigin-expected.txt:
* platform/mac/svg/custom/focus-ring-expected.txt:
* platform/mac/svg/custom/getscreenctm-in-scrollable-div-area-expected.txt:
* platform/mac/svg/custom/getscreenctm-in-scrollable-div-area-nested-expected.txt:
* platform/mac/svg/custom/getscreenctm-in-scrollable-svg-area-expected.txt:
* platform/mac/svg/custom/inline-svg-in-xhtml-expected.txt:
* platform/mac/svg/custom/invalid-css-expected.txt:
* platform/mac/svg/custom/linking-a-03-b-all-expected.txt:
* platform/mac/svg/custom/linking-a-03-b-preserveAspectRatio-expected.txt:
* platform/mac/svg/custom/linking-a-03-b-transform-expected.txt:
* platform/mac/svg/custom/linking-a-03-b-viewBox-expected.txt:
* platform/mac/svg/custom/linking-a-03-b-viewBox-transform-expected.txt:
* platform/mac/svg/custom/linking-a-03-b-viewTarget-expected.txt:
* platform/mac/svg/custom/linking-a-03-b-zoomAndPan-expected.txt:
* platform/mac/svg/custom/linking-uri-01-b-expected.txt:
* platform/mac/svg/custom/marker-opacity-expected.txt:
* platform/mac/svg/custom/mask-colorspace-expected.txt:
* platform/mac/svg/custom/mask-on-multiple-objects-expected.txt:
* platform/mac/svg/custom/mouse-move-on-svg-container-expected.txt:
* platform/mac/svg/custom/mouse-move-on-svg-container-standalone-expected.txt:
* platform/mac/svg/custom/mouse-move-on-svg-root-expected.txt:
* platform/mac/svg/custom/mouse-move-on-svg-root-standalone-expected.txt:
* platform/mac/svg/custom/non-circular-marker-reference-expected.txt:
* platform/mac/svg/custom/object-sizing-expected.txt:
* platform/mac/svg/custom/object-sizing-explicit-height-expected.txt:
* platform/mac/svg/custom/object-sizing-explicit-width-expected.txt:
* platform/mac/svg/custom/object-sizing-explicit-width-height-expected.txt:
* platform/mac/svg/custom/object-sizing-no-width-height-expected.txt:
* platform/mac/svg/custom/path-zero-strokewidth-expected.txt:
* platform/mac/svg/custom/pattern-incorrect-tiling-expected.txt:
* platform/mac/svg/custom/pattern-no-pixelation-expected.txt:
* platform/mac/svg/custom/pattern-referencing-preserve-aspect-ratio-expected.txt:
* platform/mac/svg/custom/pattern-rotate-expected.txt:
* platform/mac/svg/custom/relative-sized-content-with-resources-expected.txt:
* platform/mac/svg/custom/shapes-supporting-markers-expected.txt:
* platform/mac/svg/custom/stroked-pattern-expected.txt:
* platform/mac/svg/custom/transform-with-shadow-and-gradient-expected.txt:
* platform/mac/svg/custom/use-css-events-expected.txt:
* platform/mac/svg/custom/use-detach-expected.txt:
* platform/mac/svg/custom/use-elementInstance-methods-expected.txt:
* platform/mac/svg/custom/use-instanceRoot-modifications-expected.txt:
* platform/mac/svg/custom/use-modify-container-in-target-expected.txt:
* platform/mac/svg/custom/use-modify-target-container-expected.txt:
* platform/mac/svg/custom/use-on-g-containing-use-expected.txt:
* platform/mac/svg/custom/use-on-g-expected.txt:
* platform/mac/svg/custom/use-on-use-expected.txt:
* platform/mac/svg/custom/use-transform-expected.txt:
* platform/mac/svg/custom/width-full-percentage-expected.txt:
* platform/mac/svg/filters/feDropShadow-expected.txt:
* platform/mac/svg/filters/feImage-filterUnits-objectBoundingBox-primitiveUnits-objectBoundingBox-expected.txt:
* platform/mac/svg/filters/feImage-filterUnits-objectBoundingBox-primitiveUnits-userSpaceOnUse-expected.txt:
* platform/mac/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-objectBoundingBox-expected.txt:
* platform/mac/svg/filters/feImage-filterUnits-userSpaceOnUse-primitiveUnits-userSpaceOnUse-expected.txt:
* platform/mac/svg/filters/feImage-late-indirect-update-expected.txt:
* platform/mac/svg/hixie/cascade/001-broken-expected.txt:
* platform/mac/svg/hixie/cascade/002-expected.txt:
* platform/mac/svg/hixie/error/001-expected.txt:
* platform/mac/svg/hixie/error/003-expected.txt:
* platform/mac/svg/hixie/error/017-expected.txt:
* platform/mac/svg/hixie/mixed/003-expected.txt:
* platform/mac/svg/hixie/mixed/004-expected.txt:
* platform/mac/svg/hixie/mixed/005-expected.txt:
* platform/mac/svg/hixie/mixed/006-expected.txt:
* platform/mac/svg/hixie/mixed/008-expected.txt:
* platform/mac/svg/hixie/mixed/011-expected.txt:
* platform/mac/svg/hixie/perf/001-expected.txt:
* platform/mac/svg/hixie/perf/002-expected.txt:
* platform/mac/svg/hixie/perf/007-expected.txt:
* platform/mac/svg/hixie/rendering-model/001-expected.txt:
* platform/mac/svg/hixie/rendering-model/002-expected.txt:
* platform/mac/svg/hixie/shapes/path/001-expected.txt:
* platform/mac/svg/hixie/transform/001-expected.txt:
* platform/mac/svg/in-html/circle-expected.txt:
* platform/mac/svg/stroke/zero-length-arc-linecaps-rendering-expected.txt:
* platform/mac/svg/stroke/zero-length-path-linecap-rendering-expected.txt:
* platform/mac/svg/stroke/zero-length-subpaths-linecap-rendering-expected.txt:
* platform/mac/svg/text/small-fonts-3-expected.txt:
* platform/mac/svg/text/text-align-01-b-expected.txt:
* platform/mac/svg/text/text-align-05-b-expected.txt:
* platform/mac/svg/text/text-fill-opacity-expected.txt:
* platform/mac/svg/transforms/svg-css-transforms-clip-path-expected.txt:
* platform/mac/svg/wicd/rightsizing-grid-expected.txt:
* platform/mac/svg/wicd/test-rightsizing-b-expected.txt:
* platform/mac/svg/zoom/page/zoom-hixie-mixed-008-expected.txt:
* platform/mac/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt:
* platform/mac/svg/zoom/page/zoom-mask-with-percentages-expected.txt:
* platform/mac/svg/zoom/page/zoom-svg-through-object-with-auto-size-expected.txt:
* platform/mac/svg/zoom/text/zoom-hixie-mixed-008-expected.txt:
* platform/qt/Skipped:
* platform/win/Skipped:
* svg/clip-path/clip-in-mask-objectBoundingBox-expected.txt:
* svg/clip-path/clip-in-mask-userSpaceOnUse-expected.txt:
* svg/clip-path/clip-path-childs-clipped-expected.txt:
* svg/clip-path/clip-path-clipped-evenodd-twice-expected.txt:
* svg/clip-path/clip-path-clipped-expected.txt:
* svg/clip-path/clip-path-clipped-nonzero-expected.txt:
* svg/clip-path/clip-path-css-transform-1-expected.txt:
* svg/clip-path/clip-path-css-transform-2-expected.txt:
* svg/clip-path/clip-path-objectBoundingBox-expected.txt:
* svg/clip-path/clip-path-on-clipped-use-expected.txt:
* svg/clip-path/clip-path-on-g-and-child-expected.txt:
* svg/clip-path/clip-path-on-g-expected.txt:
* svg/clip-path/clip-path-on-svg-and-child-expected.txt:
* svg/clip-path/clip-path-on-svg-expected.txt:
* svg/clip-path/clip-path-transform-2-expected.txt:
* svg/clip-path/clip-path-use-as-child-expected.txt:
* svg/css/circle-in-mask-with-shadow-expected.txt:
* svg/css/mask-with-shadow-expected.txt:
* svg/custom/absolute-root-position-masking-expected.txt:
* svg/custom/fill-opacity-update-expected.txt:
* svg/custom/gradient-stroke-width-expected.txt:
* svg/custom/js-late-marker-and-object-creation-expected.txt:
* svg/custom/js-late-marker-creation-expected.txt:
* svg/custom/js-update-bounce-expected.txt:
* svg/custom/marker-changes-expected.txt:
* svg/custom/marker-child-changes-css-expected.txt:
* svg/custom/marker-child-changes-expected.txt:
* svg/custom/marker-strokeWidth-changes-expected.txt:
* svg/custom/marker-viewBox-changes-expected.txt:
* svg/custom/object-sizing-no-width-height-change-content-box-size-expected.txt:
* svg/custom/pattern-scaled-pattern-space-expected.txt:
* svg/custom/resource-invalidate-on-target-update-expected.txt:
* svg/custom/stroke-opacity-update-expected.txt:
* svg/custom/use-setAttribute-crash-expected.txt:
* svg/custom/viewBox-hit-expected.txt:
* svg/filters/feImage-reference-svg-primitive-expected.txt:
* svg/filters/filter-clip-expected.txt:
* svg/filters/invalidate-on-child-layout-expected.txt:
* svg/hittest/svg-ellipse-expected.txt: Added.
* svg/hittest/svg-ellipse-non-scale-stroke-expected.txt: Added.
* svg/hittest/svg-ellipse-non-scale-stroke.xhtml: Added.
* svg/hittest/svg-ellipse.xhtml: Added.
* svg/hixie/links/001-expected.txt:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: do not issue attributes modified event if actual values were not changed.
https://bugs.webkit.org/show_bug.cgi?id=82726

Reviewed by Yury Semikhatsky.

Source/WebCore:

When style attribute is invalidated, we re-fetch the attributes values. There is no
point in further dispatching attrs modified event if model stays the same.

Test: inspector/elements/edit-style-attribute.html

* inspector/front-end/DOMAgent.js:
(WebInspector.DOMNode.prototype._setAttributesPayload):
(WebInspector.DOMAgent.prototype._loadNodeAttributes):

LayoutTests:

* inspector/elements/edit-style-attribute-expected.txt: Added.
* inspector/elements/edit-style-attribute.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Find zoomable area using area-based hit-testing
https://bugs.webkit.org/show_bug.cgi?id=82609

Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-03-30
Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

Implement API for calculating the best zoomable area for a
tap-to-zoom gesture.
It picks the area with the largest intersection with the touch. In most
cases this will be all areas fully containing the area, and returns the
smallest inner-most of these.

* page/EventHandler.cpp:
(WebCore::EventHandler::bestZoomableAreaForTouchPoint):
* page/EventHandler.h:
* page/TouchAdjustment.cpp:
(WebCore::TouchAdjustment::nodeIsZoomTarget):
(WebCore::TouchAdjustment::appendZoomableSubtargets):
(WebCore::TouchAdjustment::compileZoomableSubtargets):
(WebCore::TouchAdjustment::areaOfIntersection):
(WebCore::TouchAdjustment::findAreaWithLargestIntersection):
(WebCore::findBestZoomableArea):
* page/TouchAdjustment.h:
* platform/graphics/IntSize.h:
(WebCore::IntSize::area):

Source/WebKit2:

Add area to findZoomableAreaForPoint and use new TOUCH_ADJUSTMENT
code-path to find the best zoomable area.

* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::findZoomableAreaForPoint):
* UIProcess/WebPageProxy.h:
(WebPageProxy):
* UIProcess/qt/QtWebPageEventHandler.cpp:
(QtWebPageEventHandler::handleDoubleTapEvent):
* WebProcess/WebPage/WebPage.cpp:
(WebKit):
(WebKit::WebPage::findZoomableAreaForPoint):
* WebProcess/WebPage/WebPage.h:
(WebPage):
* WebProcess/WebPage/WebPage.messages.in:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[wx] Implement Gradient and ImageBuffer support.
https://bugs.webkit.org/show_bug.cgi?id=82710

Reviewed by Kevin Ollivier.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add new renderer for circles and ellipses
https://bugs.webkit.org/show_bug.cgi?id=80423

Unreviewed gardening after r112667.

* platform/qt/svg/ [...] : Updated.

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