mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
Bug 1241899 - Make SVGZoomAndPan [NoInterfaceObject]. r=cam r=peterv
--HG-- rename : dom/webidl/SVGZoomAndPan.webidl => dom/webidl/SVGZoomAndPanValues.webidl
This commit is contained in:
parent
9215b7b957
commit
e1ceba9dc4
@ -76,5 +76,5 @@ interface SVGSVGElement : SVGGraphicsElement {
|
||||
};
|
||||
|
||||
SVGSVGElement implements SVGFitToViewBox;
|
||||
SVGSVGElement implements SVGZoomAndPan;
|
||||
SVGSVGElement implements SVGZoomAndPanValues;
|
||||
|
||||
|
@ -15,5 +15,5 @@ interface SVGViewElement : SVGElement {
|
||||
};
|
||||
|
||||
SVGViewElement implements SVGFitToViewBox;
|
||||
SVGViewElement implements SVGZoomAndPan;
|
||||
SVGViewElement implements SVGZoomAndPanValues;
|
||||
|
||||
|
@ -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;
|
||||
|
24
dom/webidl/SVGZoomAndPanValues.webidl
Normal file
24
dom/webidl/SVGZoomAndPanValues.webidl
Normal 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;
|
||||
};
|
||||
|
@ -550,6 +550,7 @@ WEBIDL_FILES = [
|
||||
'SVGUseElement.webidl',
|
||||
'SVGViewElement.webidl',
|
||||
'SVGZoomAndPan.webidl',
|
||||
'SVGZoomAndPanValues.webidl',
|
||||
'SVGZoomEvent.webidl',
|
||||
'SystemUpdate.webidl',
|
||||
'TCPServerSocket.webidl',
|
||||
|
Loading…
Reference in New Issue
Block a user