Get rid of multiple inheritence for SVGViewElement interface
authorch.dumez@sisa.samsung.com <ch.dumez@sisa.samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Jun 2013 10:39:50 +0000 (10:39 +0000)
committerch.dumez@sisa.samsung.com <ch.dumez@sisa.samsung.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Jun 2013 10:39:50 +0000 (10:39 +0000)
commit498bce239a9e5e3099808aedc0e8404a46e7080b
treeeda988b7774db5929b42ce3189b2a84c718498ab
parentc37d6988a8165f63c6de6b92bfc43eadb70e4f0e
Get rid of multiple inheritence for SVGViewElement interface
https://bugs.webkit.org/show_bug.cgi?id=118014

Reviewed by Kentaro Hara.

Source/WebCore:

Web IDL no longer supports multiple inheritence. As per the latest
specification SVGViewElement should only inherit from SVGElement.
'implements' statements are used for the rest. This patch refactors
the IDL files to match the latest specification:
http://www.w3.org/TR/SVG2/linking.html#InterfaceSVGViewElement

Note that there is a WebExposed change as SVGZoomAndPan used to be
exposed on the Window and it is not anymore. SVGZoomAndPan merely
supplements SVGViewElement and should not be exposed to JavaScript
according to the latest specification.

No new tests, covered by existing tests.

* CMakeLists.txt:
* DerivedSources.pri:
* GNUmakefile.list.am:
* svg/SVGExternalResourcesRequired.idl:
* svg/SVGFitToViewBox.idl:
* svg/SVGViewElement.idl:
* svg/SVGZoomAndPan.idl:

LayoutTests:

Update / Rebaseline several SVG test cases now that SVGZoomAndPan interface
is no longer exposed.

* fast/js/global-constructors-attributes-expected.txt:
* platform/efl/fast/js/global-constructors-attributes-expected.txt:
* platform/gtk/fast/js/global-constructors-attributes-expected.txt:
* platform/mac-lion/fast/js/global-constructors-attributes-expected.txt:
* platform/qt/fast/js/global-constructors-attributes-expected.txt:
* svg/custom/global-constructors-expected.txt:
* svg/custom/js-svg-constructors-expected.txt:
* svg/custom/js-svg-constructors.svg:
* svg/custom/script-tests/global-constructors.js:
* svg/dom/SVGViewSpec-defaults-expected.txt:
* svg/dom/SVGViewSpec-expected.txt:
* svg/dom/resources/viewspec-parser.js:
(zoomAndPanToString):
(viewSpecToString):
* svg/dom/script-tests/SVGViewSpec-defaults.js:
* svg/dom/script-tests/SVGViewSpec.js:
(continueTesting):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@151985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
23 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/js/global-constructors-attributes-expected.txt
LayoutTests/platform/efl/fast/js/global-constructors-attributes-expected.txt
LayoutTests/platform/gtk/fast/js/global-constructors-attributes-expected.txt
LayoutTests/platform/mac-lion/fast/js/global-constructors-attributes-expected.txt
LayoutTests/platform/qt/fast/js/global-constructors-attributes-expected.txt
LayoutTests/svg/custom/global-constructors-expected.txt
LayoutTests/svg/custom/js-svg-constructors-expected.txt
LayoutTests/svg/custom/js-svg-constructors.svg
LayoutTests/svg/custom/script-tests/global-constructors.js
LayoutTests/svg/dom/SVGViewSpec-defaults-expected.txt
LayoutTests/svg/dom/SVGViewSpec-expected.txt
LayoutTests/svg/dom/resources/viewspec-parser.js
LayoutTests/svg/dom/script-tests/SVGViewSpec-defaults.js
LayoutTests/svg/dom/script-tests/SVGViewSpec.js
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.pri
Source/WebCore/GNUmakefile.list.am
Source/WebCore/svg/SVGExternalResourcesRequired.idl
Source/WebCore/svg/SVGFitToViewBox.idl
Source/WebCore/svg/SVGViewElement.idl
Source/WebCore/svg/SVGZoomAndPan.idl