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/document/adoptnode/index.html | 4 ++-- files/ko/web/api/document/drag_event/index.html | 2 +- .../document_object_model/using_the_w3c_dom_level_1_core/index.html | 2 +- files/ko/web/api/element/closest/index.html | 2 +- files/ko/web/api/globaleventhandlers/onscroll/index.html | 4 ++-- files/ko/web/api/history/replacestate/index.html | 2 +- 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 ++-- files/ko/web/api/proximity_events/index.html | 2 +- files/ko/web/api/rtcpeerconnection/index.html | 2 +- files/ko/web/api/serviceworkerglobalscope/clients/index.html | 2 +- files/ko/web/api/serviceworkerregistration/active/index.html | 2 +- 13 files changed, 18 insertions(+), 18 deletions(-) (limited to 'files/ko/web/api') diff --git a/files/ko/web/api/document/adoptnode/index.html b/files/ko/web/api/document/adoptnode/index.html index 269f91125a..e70538c2e5 100644 --- a/files/ko/web/api/document/adoptnode/index.html +++ b/files/ko/web/api/document/adoptnode/index.html @@ -37,13 +37,13 @@ translation_of: Web/API/Document/adoptNode

보통 adoptNode 호출은 다른 방식으로 구현된 곳에서 노드를 불러오기 때문에 실패하는 경우가 많다. 하지만 브라우저로 인한 문제인 경우는 문제가 된다.

-

Nodes from external documents should be cloned using document.importNode() (or adopted using document.adoptNode()) before they +

Nodes from external documents should be cloned using document.importNode() (or adopted using document.adoptNode()) before they can be inserted into the current document. For more on the Node.ownerDocument issues, see the W3C DOM FAQ.

Firefox doesn't currently enforce this rule (it did for a while during the development of Firefox 3, but too many sites break when this rule is enforced). We encourage Web developers to fix their code to follow this rule for - improved future compatibility.

+ improved future compatibility.

명세

diff --git a/files/ko/web/api/document/drag_event/index.html b/files/ko/web/api/document/drag_event/index.html index c79bb9fe34..636e130635 100644 --- a/files/ko/web/api/document/drag_event/index.html +++ b/files/ko/web/api/document/drag_event/index.html @@ -15,7 +15,7 @@ translation_of: Web/API/Document/drag_event ---
{{APIRef}}
-
+

drag 이벤트는 사용자가 요소 또는 텍스트를 드래그할 때 수백 밀리초마다 발생합니다.

diff --git a/files/ko/web/api/document_object_model/using_the_w3c_dom_level_1_core/index.html b/files/ko/web/api/document_object_model/using_the_w3c_dom_level_1_core/index.html index 6bb71e8b44..ca410cc379 100644 --- a/files/ko/web/api/document_object_model/using_the_w3c_dom_level_1_core/index.html +++ b/files/ko/web/api/document_object_model/using_the_w3c_dom_level_1_core/index.html @@ -8,7 +8,7 @@ translation_of: Web/API/Document_object_model/Using_the_W3C_DOM_Level_1_Core ---
{{DefaultAPISidebar("DOM")}}
-
+

The W3C's DOM Level 1 Core 는 documents의 콘텐츠 트리를 변경하기 위한 강력한 객체형 모델입니다. 웹 스크립팅을 위한 초석이기도 한 이 모델은 Mozilla Firefox and Microsoft Internet Explorer를 포함한 주요 브라우저에서 지원합니다.

diff --git a/files/ko/web/api/element/closest/index.html b/files/ko/web/api/element/closest/index.html index 2bafcaa294..3cbc3ad315 100644 --- a/files/ko/web/api/element/closest/index.html +++ b/files/ko/web/api/element/closest/index.html @@ -5,7 +5,7 @@ translation_of: Web/API/Element/closest ---
{{APIRef('DOM')}}
-
+
기준 {{domxref("Element")}} 에서부터 closest() 메소드를 통해 자신부터 부모 요소 단위로 출발하여 각 요소가 지정한 선택자에 만족할 때까지 탐색한다(문서 루트까지 이동). 이 중 가장 가깝게 조건에 만족한 부모 요소가 반환되며, 조건에 만족한 요소가 없으면 null 값을 반환한다.
diff --git a/files/ko/web/api/globaleventhandlers/onscroll/index.html b/files/ko/web/api/globaleventhandlers/onscroll/index.html index cc741f5e9f..00931b7461 100644 --- a/files/ko/web/api/globaleventhandlers/onscroll/index.html +++ b/files/ko/web/api/globaleventhandlers/onscroll/index.html @@ -7,11 +7,11 @@ translation_of: Web/API/GlobalEventHandlers/onscroll
{{domxref("GlobalEventHandlers")}} 의 onscroll 이벤트는 {{event("Event_handlers", "event handler")}} 의 scroll 이벤트를 상속받았습니다.
-
+
document view 나  element 가 스크롤이 됬을 때 이벤트가  발생합니다.
-
+

Note: onscroll 과 {{domxref("GlobalEventHandlers.onwheel", "onwheel")}} 이벤트를 혼동하지 마세요. onwheel 보통 휠의 회전을 처리하고, onscroll은 객체의 내용의 스크롤을 처리합니다.

diff --git a/files/ko/web/api/history/replacestate/index.html b/files/ko/web/api/history/replacestate/index.html index 3b9f92ba8d..0c28c12eb6 100644 --- a/files/ko/web/api/history/replacestate/index.html +++ b/files/ko/web/api/history/replacestate/index.html @@ -5,7 +5,7 @@ translation_of: Web/API/History/replaceState ---
{{APIRef("History API")}}
-
+

History.replaceState() 메서드는 현재 history를 수정해 메소드의 매개 변수에 전달 된 stateObj, titleURL로 대체합니다. 이 방법은 특히 일부 유저의 동작에 대한 응답으로 history 객체의 상태나 현재 history의 URL을 업데이트하려는 경우에 유용합니다. 

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.

diff --git a/files/ko/web/api/proximity_events/index.html b/files/ko/web/api/proximity_events/index.html index c0a58ec4c6..78eda35384 100644 --- a/files/ko/web/api/proximity_events/index.html +++ b/files/ko/web/api/proximity_events/index.html @@ -18,7 +18,7 @@ tags:

근접 이벤트는 사용자가 디바이스에 가까이 갔을 때를 알 수 있는 간단한 방법이다. 예를 들어, 사용자에게 전화가 걸려왔을 때 디바이스에 귀를 가까이하면, 근접 이벤트들은 스마트폰의 화면이 꺼지게 하여 이러한 변화에 대응할 수 있게 해준다.

-

근접 링크는 두 가지가 있다. (문서를 확인하려먼 링크를 참고하시오.):

+근접 링크는 두 가지가 있다. (문서를 확인하려먼 링크를 참고하시오.):

  • {{domxref("UserProximityEvent")}}, handled by window.onuserproximity
  • {{domxref("DeviceProximityEvent")}}, handled by window.ondeviceproximity
  • diff --git a/files/ko/web/api/rtcpeerconnection/index.html b/files/ko/web/api/rtcpeerconnection/index.html index a562a18a6f..068f012a5f 100644 --- a/files/ko/web/api/rtcpeerconnection/index.html +++ b/files/ko/web/api/rtcpeerconnection/index.html @@ -341,7 +341,7 @@ translation_of: Web/API/RTCPeerConnection

    브라우저 호환성

    -
    +
    {{Compat("api.RTCPeerConnection")}}
    diff --git a/files/ko/web/api/serviceworkerglobalscope/clients/index.html b/files/ko/web/api/serviceworkerglobalscope/clients/index.html index ccc6ab78a8..82b2ff9e04 100644 --- a/files/ko/web/api/serviceworkerglobalscope/clients/index.html +++ b/files/ko/web/api/serviceworkerglobalscope/clients/index.html @@ -18,7 +18,7 @@ translation_of: Web/API/ServiceWorkerGlobalScope/clients

    Specifications

    -
    + diff --git a/files/ko/web/api/serviceworkerregistration/active/index.html b/files/ko/web/api/serviceworkerregistration/active/index.html index cc492009a3..586f1f5c9e 100644 --- a/files/ko/web/api/serviceworkerregistration/active/index.html +++ b/files/ko/web/api/serviceworkerregistration/active/index.html @@ -24,7 +24,7 @@ translation_of: Web/API/ServiceWorkerRegistration/active

    Specifications

    -
    +
    -- cgit v1.2.3-54-g00ecf