Bug 1302705 - Add console warning about SVGSVGElement.deselectAll() being deprecated r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D191859
This commit is contained in:
Robert Longson 2023-10-26 07:50:55 +00:00
Родитель 9e98065dd3
Коммит 5e9128187c
3 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -55,6 +55,7 @@ DEPRECATED_OPERATION(ElementSetCapture)
DEPRECATED_OPERATION(ElementReleaseCapture)
DEPRECATED_OPERATION(DocumentReleaseCapture)
DEPRECATED_OPERATION(OffscreenCanvasToBlob)
DEPRECATED_OPERATION(SVGDeselectAll)
DEPRECATED_OPERATION(SVGNearestViewportElement)
DEPRECATED_OPERATION(SVGFarthestViewportElement)
DEPRECATED_OPERATION(SizeToContent)

Просмотреть файл

@ -304,6 +304,8 @@ WindowContentUntrustedWarning=The content attribute of Window objects is d
SVGRefLoopWarning=The SVG <%S> with ID “%S” has a reference loop.
# LOCALIZATION NOTE: The first %S is the tag name of the element in the chain where the chain was broken, the second %S is the element's ID.
SVGRefChainLengthExceededWarning=An SVG <%S> reference chain which is too long was abandoned at the element with ID “%S”.
# LOCALIZATION NOTE: Do not translate SVGSVGElement.deselectAll.
SVGDeselectAll=SVGSVGElement.deselectAll is deprecated as it duplicates functionality from the Selection API.
# LOCALIZATION NOTE: Do not translate SVGGraphicsElement.nearestViewportElement or SVGElement.viewportElement.
SVGNearestViewportElement=SVGGraphicsElement.nearestViewportElement is deprecated and will be removed at a future date. Use SVGElement.viewportElement instead.
# LOCALIZATION NOTE: Do not translate SVGGraphicsElement.farthestViewportElement.

Просмотреть файл

@ -43,6 +43,7 @@ interface SVGSVGElement : SVGGraphicsElement {
// NodeList getEnclosureList(SVGRect rect, SVGElement referenceElement);
// boolean checkIntersection(SVGElement element, SVGRect rect);
// boolean checkEnclosure(SVGElement element, SVGRect rect);
[Deprecated="SVGDeselectAll"]
undefined deselectAll();
[NewObject]
SVGNumber createSVGNumber();