Bug 1241899 - Make SVGZoomAndPan [NoInterfaceObject]. r=cam r=peterv

--HG--
rename : dom/webidl/SVGZoomAndPan.webidl => dom/webidl/SVGZoomAndPanValues.webidl
This commit is contained in:
Robert Longson 2016-10-16 12:24:25 +01:00
parent 9215b7b957
commit e1ceba9dc4
5 changed files with 28 additions and 10 deletions

View File

@ -76,5 +76,5 @@ interface SVGSVGElement : SVGGraphicsElement {
};
SVGSVGElement implements SVGFitToViewBox;
SVGSVGElement implements SVGZoomAndPan;
SVGSVGElement implements SVGZoomAndPanValues;

View File

@ -15,5 +15,5 @@ interface SVGViewElement : SVGElement {
};
SVGViewElement implements SVGFitToViewBox;
SVGViewElement implements SVGZoomAndPan;
SVGViewElement implements SVGZoomAndPanValues;

View File

@ -11,13 +11,6 @@
*/
interface SVGZoomAndPan {
// Zoom and Pan Types
const unsigned short SVG_ZOOMANDPAN_UNKNOWN = 0;
const unsigned short SVG_ZOOMANDPAN_DISABLE = 1;
const unsigned short SVG_ZOOMANDPAN_MAGNIFY = 2;
[SetterThrows]
attribute unsigned short zoomAndPan;
};
SVGZoomAndPan implements SVGZoomAndPanValues;

View File

@ -0,0 +1,24 @@
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
* http://www.w3.org/TR/SVG2/
*
* Copyright © 2012 W3C® (MIT, ERCIM, Keio), All Rights Reserved. W3C
* liability, trademark and document use rules apply.
*/
[NoInterfaceObject]
interface SVGZoomAndPanValues {
// Zoom and Pan Types
const unsigned short SVG_ZOOMANDPAN_UNKNOWN = 0;
const unsigned short SVG_ZOOMANDPAN_DISABLE = 1;
const unsigned short SVG_ZOOMANDPAN_MAGNIFY = 2;
[SetterThrows]
attribute unsigned short zoomAndPan;
};

View File

@ -550,6 +550,7 @@ WEBIDL_FILES = [
'SVGUseElement.webidl',
'SVGViewElement.webidl',
'SVGZoomAndPan.webidl',
'SVGZoomAndPanValues.webidl',
'SVGZoomEvent.webidl',
'SystemUpdate.webidl',
'TCPServerSocket.webidl',