Skip to content

Commit

Permalink
ko: fix markdown tables (#17887)
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 authored Jan 16, 2024
1 parent b951177 commit 17af13e
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 38 deletions.
2 changes: 1 addition & 1 deletion docs/ko/guides/glossary-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
| Rendering | 렌더링 | |
| Section | 구획 | |
| Statement | 명령문 또는 문 | |
| short-circuit |
| short-circuit | | |
| User agent | 사용자 에이전트 | |

## CSS
Expand Down
34 changes: 19 additions & 15 deletions files/ko/web/api/document/createtreewalker/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,25 @@ document.createTreeWalker(root, whatToShow[, filter[, entityReferenceExpansion]]
- `root`
- : 이 {{domxref("TreeWalker")}} 순회의 루트 {{domxref("Node")}}이다. 이것은 보통 이 문서 소유의 한 엘리먼트이다.
- `whatToShow` {{optional_inline}}
- | : [`NodeFilter`](http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-NodeFilter)의 상수 프라퍼티들을 조합하여 만든 비트마스크를 나타내는 선택적인 `unsigned long` 이다. 이것은 특정 유형의 노드를 필터링하는 편리한 방법이다. 기본값은 `SHOW_ALL` 상수를 나타내는 `0xFFFFFFFF`이다. | 상수 | 숫자 값 | 설명 |
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---- |
| `NodeFilter.SHOW_ALL` | `-1` (`unsigned long의 최대 값`) | Shows all nodes. |
| `NodeFilter.SHOW_ATTRIBUTE` {{deprecated_inline}} | `2` | Shows attribute {{domxref("Attr")}} nodes. This is meaningful only when creating a {{domxref("TreeWalker")}} with an {{domxref("Attr")}} node as its root; in this case, it means that the attribute node will appear in the first position of the iteration or traversal. Since attributes are never children of other nodes, they do not appear when traversing over the document tree. |
| `NodeFilter.SHOW_CDATA_SECTION` {{deprecated_inline}} | `8` | Shows {{domxref("CDATASection")}} nodes. |
| `NodeFilter.SHOW_COMMENT` | `128` | Shows {{domxref("Comment")}} nodes. |
| `NodeFilter.SHOW_DOCUMENT` | `256` | Shows {{domxref("Document")}} nodes. |
| `NodeFilter.SHOW_DOCUMENT_FRAGMENT` | `1024` | Shows {{domxref("DocumentFragment")}} nodes. |
| `NodeFilter.SHOW_DOCUMENT_TYPE` | `512` | Shows {{domxref("DocumentType")}} nodes. |
| `NodeFilter.SHOW_ELEMENT` | `1` | Shows {{domxref("Element")}} nodes. |
| `NodeFilter.SHOW_ENTITY` {{deprecated_inline}} | `32` | Shows {{domxref("Entity")}} nodes. This is meaningful only when creating a {{domxref("TreeWalker")}} with an {{domxref("Entity")}} node as its root; in this case, it means that the {{domxref("Entity")}} node will appear in the first position of the traversal. Since entities are not part of the document tree, they do not appear when traversing over the document tree. |
| `NodeFilter.SHOW_ENTITY_REFERENCE` {{deprecated_inline}} | `16` | Shows {{domxref("EntityReference")}} nodes. |
| `NodeFilter.SHOW_NOTATION` {{deprecated_inline}} | `2048` | Shows {{domxref("Notation")}} nodes. This is meaningful only when creating a {{domxref("TreeWalker")}} with a {{domxref("Notation")}} node as its root; in this case, it means that the {{domxref("Notation")}} node will appear in the first position of the traversal. Since entities are not part of the document tree, they do not appear when traversing over the document tree. |
| `NodeFilter.SHOW_PROCESSING_INSTRUCTION` | `64` | Shows {{domxref("ProcessingInstruction")}} nodes. |
| `NodeFilter.SHOW_TEXT` | `4` | Shows {{domxref("Text")}} nodes. |

- : [`NodeFilter`](http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Traversal-NodeFilter)의 상수 프라퍼티들을 조합하여 만든 비트마스크를 나타내는 선택적인 `unsigned long` 이다. 이것은 특정 유형의 노드를 필터링하는 편리한 방법이다. 기본값은 `SHOW_ALL` 상수를 나타내는 `0xFFFFFFFF`이다.

| 상수 | 숫자 값 | 설명 |
| -------------------------------------------------------- | -------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `NodeFilter.SHOW_ALL` | `-1` (`unsigned long의 최대 값`) | Shows all nodes. |
| `NodeFilter.SHOW_ATTRIBUTE` {{deprecated_inline}} | `2` | Shows attribute {{domxref("Attr")}} nodes. This is meaningful only when creating a {{domxref("TreeWalker")}} with an {{domxref("Attr")}} node as its root; in this case, it means that the attribute node will appear in the first position of the iteration or traversal. Since attributes are never children of other nodes, they do not appear when traversing over the document tree. |
| `NodeFilter.SHOW_CDATA_SECTION` {{deprecated_inline}} | `8` | Shows {{domxref("CDATASection")}} nodes. |
| `NodeFilter.SHOW_COMMENT` | `128` | Shows {{domxref("Comment")}} nodes. |
| `NodeFilter.SHOW_DOCUMENT` | `256` | Shows {{domxref("Document")}} nodes. |
| `NodeFilter.SHOW_DOCUMENT_FRAGMENT` | `1024` | Shows {{domxref("DocumentFragment")}} nodes. |
| `NodeFilter.SHOW_DOCUMENT_TYPE` | `512` | Shows {{domxref("DocumentType")}} nodes. |
| `NodeFilter.SHOW_ELEMENT` | `1` | Shows {{domxref("Element")}} nodes. |
| `NodeFilter.SHOW_ENTITY` {{deprecated_inline}} | `32` | Shows {{domxref("Entity")}} nodes. This is meaningful only when creating a {{domxref("TreeWalker")}} with an {{domxref("Entity")}} node as its root; in this case, it means that the {{domxref("Entity")}} node will appear in the first position of the traversal. Since entities are not part of the document tree, they do not appear when traversing over the document tree. |
| `NodeFilter.SHOW_ENTITY_REFERENCE` {{deprecated_inline}} | `16` | Shows {{domxref("EntityReference")}} nodes. |
| `NodeFilter.SHOW_NOTATION` {{deprecated_inline}} | `2048` | Shows {{domxref("Notation")}} nodes. This is meaningful only when creating a {{domxref("TreeWalker")}} with a {{domxref("Notation")}} node as its root; in this case, it means that the {{domxref("Notation")}} node will appear in the first position of the traversal. Since entities are not part of the document tree, they do not appear when traversing over the document tree. |
| `NodeFilter.SHOW_PROCESSING_INSTRUCTION` | `64` | Shows {{domxref("ProcessingInstruction")}} nodes. |
| `NodeFilter.SHOW_TEXT` | `4` | Shows {{domxref("Text")}} nodes. |

- `filter` {{optional_inline}}
- : 선택적인 {{domxref("NodeFilter")}}이다. {{domxref("TreeWalker")}}가 `whatToShow` 체크를 통과한 노드의 승인여부를 판단하기 위해 호출하는 `acceptNode` 메소드를 가진 객체이다.
- `entityReferenceExpansion` {{optional_inline}} {{deprecated_inline}}
Expand Down
Loading

0 comments on commit 17af13e

Please sign in to comment.