From 55ddd4454665a3c66e3d5b186bc79048468d36e7 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Mon, 15 Mar 2021 14:29:50 +0300 Subject: Auto fixes --- files/ru/web/api/parentnode/append/index.html | 2 +- files/ru/web/api/parentnode/childelementcount/index.html | 2 +- files/ru/web/api/parentnode/firstelementchild/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'files/ru/web/api/parentnode') diff --git a/files/ru/web/api/parentnode/append/index.html b/files/ru/web/api/parentnode/append/index.html index 02d0995fc4..05552ce622 100644 --- a/files/ru/web/api/parentnode/append/index.html +++ b/files/ru/web/api/parentnode/append/index.html @@ -12,7 +12,7 @@ translation_of: Web/API/ParentNode/append

Синтаксис

diff --git a/files/ru/web/api/parentnode/childelementcount/index.html b/files/ru/web/api/parentnode/childelementcount/index.html index 6dcc3711dd..39329d5842 100644 --- a/files/ru/web/api/parentnode/childelementcount/index.html +++ b/files/ru/web/api/parentnode/childelementcount/index.html @@ -15,7 +15,7 @@ translation_of: Web/API/ParentNode/childElementCount

Свойство Node.childElementCount предназначено только для чтения и возвращает число дочерних элементов узла.

-

Синтакисис

+

Синтаксис

var elCount = Node.childElementCount;
 
diff --git a/files/ru/web/api/parentnode/firstelementchild/index.html b/files/ru/web/api/parentnode/firstelementchild/index.html index 472732452a..9a7275fcc4 100644 --- a/files/ru/web/api/parentnode/firstelementchild/index.html +++ b/files/ru/web/api/parentnode/firstelementchild/index.html @@ -11,7 +11,7 @@ translation_of: Web/API/ParentNode/firstElementChild ---

{{ APIRef("DOM") }}

-

Доступное только для чтения свойство ParentNode.firstElementChild возвращает первый дочерный элемент объекта ({{domxref("Element")}}) или null если дочерних элементов нет.

+

Доступное только для чтения свойство ParentNode.firstElementChild возвращает первый дочерний элемент объекта ({{domxref("Element")}}) или null если дочерних элементов нет.

This property was initially defined in the {{domxref("ElementTraversal")}} pure interface. As this interface contained two distinct set of properties, one aimed at {{domxref("Node")}} that have children, one at those that are children, they have been moved into two separate pure interfaces, {{domxref("ParentNode")}} and {{domxref("ChildNode")}}. In this case, firstElementChild moved to {{domxref("ParentNode")}}. This is a fairly technical change that shouldn't affect compatibility.

-- cgit v1.2.3-54-g00ecf