From 38382ff545a6e9417757b15a178cbb2f003be82c Mon Sep 17 00:00:00 2001 From: R00T80Y <86746744+R00T80Y@users.noreply.github.com> Date: Thu, 17 Mar 2022 19:50:07 +0300 Subject: (ru) Replace 'obsolete_inline' to 'deprecated_inline' at HTMLDocument page (#4604) The layout does not work correctly --- files/ru/web/api/document/index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/files/ru/web/api/document/index.html b/files/ru/web/api/document/index.html index 6d547b86c8..cf6f86d5a4 100644 --- a/files/ru/web/api/document/index.html +++ b/files/ru/web/api/document/index.html @@ -81,9 +81,9 @@ translation_of: Web/API/Document
Returns a list of the style sheet sets available on the document.
{{domxref("Document.xmlEncoding")}} {{Deprecated_inline}}
Returns the encoding as determined by the XML declaration.
-
{{domxref("Document.xmlStandalone")}} {{obsolete_inline("10.0")}}
+
{{domxref("Document.xmlStandalone")}} {{Deprecated_inline}}
Returns true if the XML declaration specifies the document to be standalone (e.g., An external part of the DTD affects the document's content), else false.
-
{{domxref("Document.xmlVersion")}} {{obsolete_inline("10.0")}}
+
{{domxref("Document.xmlVersion")}} {{Deprecated_inline}}
Returns the version number as specified in the XML declaration or "1.0" if the declaration is absent.
@@ -375,13 +375,13 @@ translation_of: Web/API/Document

Mozilla also define some non-standard methods:

-
{{domxref("Document.execCommandShowHelp")}} {{obsolete_inline("14.0")}}
+
{{domxref("Document.execCommandShowHelp")}} {{deprecated_inline}}
This method never did anything and always threw an exception, so it was removed in Gecko 14.0 {{geckoRelease("14.0")}}.
-
{{domxref("Document.getBoxObjectFor")}} {{obsolete_inline}}
+
{{domxref("Document.getBoxObjectFor")}} {{deprecated_inline}}
Use the {{domxref("Element.getBoundingClientRect()")}} method instead.
{{domxref("Document.loadOverlay")}}
Loads a XUL overlay dynamically. This only works in XUL documents.
-
{{domxref("document.queryCommandText")}} {{obsolete_inline("14.0")}}
+
{{domxref("document.queryCommandText")}} {{deprecated_inline}}
This method never did anything but throw an exception, and was removed in Gecko 14.0 {{geckoRelease("14.0")}}.
@@ -390,7 +390,7 @@ translation_of: Web/API/Document

Microsoft defines some non-standard properties:

-
{{domxref("document.fileSize")}}* {{non-standard_inline}} {{obsolete_inline}}
+
{{domxref("document.fileSize")}}* {{Non-standard_Inline}} {{deprecated_inline}}
Returns size in bytes of the document. Starting with Internet Explorer 11, that property is no longer supported. See MSDN.
Internet Explorer does not support all methods from the Node interface in the Document interface:
-- cgit v1.2.3-54-g00ecf