From 6e9fe98036090a37cc6247b873845505e5b512fb Mon Sep 17 00:00:00 2001 From: Tanner Dolby Date: Tue, 22 Feb 2022 01:49:36 -0800 Subject: Removes empty
or

elements from pages (#3093) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Removes all empty paragraph elements * Removes all empty div elements * Preserve empty div in code snippet * Preserve empty elements inside code snippets * Remove fr files which were converted into markdown * Web/CSS/transform-function/scaleX()/index.html The file is already renamed to index.md。 * remove not needed file * Resolve remaining conflict Co-authored-by: julieng Co-authored-by: Masahiro FUJIMOTO --- files/ko/web/api/node/firstchild/index.html | 4 ++-- files/ko/web/api/node/nextsibling/index.html | 4 ++-- files/ko/web/api/node/previoussibling/index.html | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'files/ko/web/api/node') diff --git a/files/ko/web/api/node/firstchild/index.html b/files/ko/web/api/node/firstchild/index.html index 105c335e1c..c39decff68 100644 --- a/files/ko/web/api/node/firstchild/index.html +++ b/files/ko/web/api/node/firstchild/index.html @@ -51,12 +51,12 @@ translation_of: Web/API/Node/firstChild

주의

-

Gecko 기반 브라우저는 소스 마크업에서 공백을 나타내기 위해 문서 내에 텍스트 노드를 삽입합니다. +

Gecko 기반 브라우저는 소스 마크업에서 공백을 나타내기 위해 문서 내에 텍스트 노드를 삽입합니다. 그러므로 예를 들어 Node.firstChildNode.previousSibling을 통해서 얻은 노드는 작성자가 얻으려 한 실제 요소와는 달리 공백 텍스트 노드를 참조할 지도 모릅니다.

더 많은 정보는 Whitespace in the DOM과 - W3C DOM 3 FAQ: Why are some Text nodes empty?를 보세요.

+ W3C DOM 3 FAQ: Why are some Text nodes empty?를 보세요.

명세

diff --git a/files/ko/web/api/node/nextsibling/index.html b/files/ko/web/api/node/nextsibling/index.html index 8627bd096b..86028b23d4 100644 --- a/files/ko/web/api/node/nextsibling/index.html +++ b/files/ko/web/api/node/nextsibling/index.html @@ -24,12 +24,12 @@ translation_of: Web/API/Node/nextSibling

Notes

-

Gecko 기반 브라우저는 소스 마크업에서 공백을 나타내기 위해 문서 내에 텍스트 노드를 삽입합니다. +

Gecko 기반 브라우저는 소스 마크업에서 공백을 나타내기 위해 문서 내에 텍스트 노드를 삽입합니다. 그러므로 예를 들어 Node.firstChildNode.previousSibling을 통해서 얻은 노드는 작성자가 얻으려 한 실제 요소와는 달리 공백 텍스트 노드를 참조할 지도 모릅니다.

더 많은 정보는 Whitespace in the DOM과 - W3C DOM 3 FAQ: Why are some Text nodes empty?를 보세요.

+ W3C DOM 3 FAQ: Why are some Text nodes empty?를 보세요.

 
diff --git a/files/ko/web/api/node/previoussibling/index.html b/files/ko/web/api/node/previoussibling/index.html index 642b896748..cecd9c32e3 100644 --- a/files/ko/web/api/node/previoussibling/index.html +++ b/files/ko/web/api/node/previoussibling/index.html @@ -24,12 +24,12 @@ alert(document.getElementById("b2").previousSibling.id); // "b1"

Notes

-

Gecko 기반 브라우저는 소스 마크업에서 공백을 나타내기 위해 문서 내에 텍스트 노드를 삽입합니다. +

Gecko 기반 브라우저는 소스 마크업에서 공백을 나타내기 위해 문서 내에 텍스트 노드를 삽입합니다. 그러므로 예를 들어 Node.firstChildNode.previousSibling을 통해서 얻은 노드는 작성자가 얻으려 한 실제 요소와는 달리 공백 텍스트 노드를 참조할 지도 모릅니다.

더 많은 정보는 Whitespace in the DOM과 - W3C DOM 3 FAQ: Why are some Text nodes empty?를 보세요.

+ W3C DOM 3 FAQ: Why are some Text nodes empty?를 보세요.

To navigate the opposite way through the child nodes list use Node.nextSibling.

-- cgit v1.2.3-54-g00ecf