Skip to content

Commit 8abf04f

Browse files
Fabianopbsandersn
authored andcommitted
Remove deprecation of methods and add missing method in SVGSVGElement. (#682)
1 parent 04fe8db commit 8abf04f

File tree

3 files changed

+30
-4
lines changed

3 files changed

+30
-4
lines changed

baselines/dom.generated.d.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14165,6 +14165,7 @@ interface SVGSVGElement extends SVGGraphicsElement, DocumentEvent, SVGFitToViewB
1416514165
readonly width: SVGAnimatedLength;
1416614166
readonly x: SVGAnimatedLength;
1416714167
readonly y: SVGAnimatedLength;
14168+
animationsPaused(): boolean;
1416814169
checkEnclosure(element: SVGElement, rect: SVGRect): boolean;
1416914170
checkIntersection(element: SVGElement, rect: SVGRect): boolean;
1417014171
createSVGAngle(): SVGAngle;
@@ -14179,18 +14180,14 @@ interface SVGSVGElement extends SVGGraphicsElement, DocumentEvent, SVGFitToViewB
1417914180
/** @deprecated */
1418014181
forceRedraw(): void;
1418114182
getComputedStyle(elt: Element, pseudoElt?: string | null): CSSStyleDeclaration;
14182-
/** @deprecated */
1418314183
getCurrentTime(): number;
1418414184
getElementById(elementId: string): Element;
1418514185
getEnclosureList(rect: SVGRect, referenceElement: SVGElement): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;
1418614186
getIntersectionList(rect: SVGRect, referenceElement: SVGElement): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>;
14187-
/** @deprecated */
1418814187
pauseAnimations(): void;
14189-
/** @deprecated */
1419014188
setCurrentTime(seconds: number): void;
1419114189
/** @deprecated */
1419214190
suspendRedraw(maxWaitMilliseconds: number): number;
14193-
/** @deprecated */
1419414191
unpauseAnimations(): void;
1419514192
/** @deprecated */
1419614193
unsuspendRedraw(suspendHandleID: number): void;

inputfiles/addedTypes.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,19 @@
225225
},
226226
"interfaces": {
227227
"interface": {
228+
"SVGSVGElement": {
229+
"name": "SVGSVGElement",
230+
"methods": {
231+
"method": {
232+
"animationsPaused": {
233+
"name": "animationsPaused",
234+
"override-signatures": [
235+
"animationsPaused(): boolean"
236+
]
237+
}
238+
}
239+
}
240+
},
228241
"SVGFEDropShadowElement": {
229242
"name": "SVGFEDropShadowElement",
230243
"exposed": "Window",

inputfiles/overridingTypes.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -925,6 +925,22 @@
925925
"override-signatures": [
926926
"getIntersectionList(rect: SVGRect, referenceElement: SVGElement): NodeListOf<SVGCircleElement | SVGEllipseElement | SVGImageElement | SVGLineElement | SVGPathElement | SVGPolygonElement | SVGPolylineElement | SVGRectElement | SVGTextElement | SVGUseElement>"
927927
]
928+
},
929+
"setCurrentTime": {
930+
"name": "setCurrentTime",
931+
"deprecated": 0
932+
},
933+
"pauseAnimations": {
934+
"name": "pauseAnimations",
935+
"deprecated": 0
936+
},
937+
"unpauseAnimations": {
938+
"name": "unpauseAnimations",
939+
"deprecated": 0
940+
},
941+
"getCurrentTime": {
942+
"name": "getCurrentTime",
943+
"deprecated": 0
928944
}
929945
}
930946
}

0 commit comments

Comments
 (0)