|
110 | 110 |
|
111 | 111 | ●●options |
112 | 112 |
|
113 | | -spec_date:2025-04-10 |
114 | | -trans_update:2025-04-17 |
| 113 | +spec_date:2025-05-14 |
| 114 | +trans_update:2025-05-23 |
115 | 115 | source_checked:240321 |
116 | 116 | page_state_key:* |
117 | 117 | original_url:https://wicg.github.io/sanitizer-api/ |
|
396 | 396 | I.Document:~DOM4#document |
397 | 397 | I.DocumentFragment:~DOM4#documentfragment |
398 | 398 | 文書片:~DOM4#_concept-documentfragment |
| 399 | +I.DocumentType:~DOM4#documenttype |
399 | 400 | I.Element:~DOM4#element |
400 | 401 | I.Node:~DOM4#node |
401 | 402 | I.ParentNode:~DOM4#parentnode |
|
570 | 571 | attr.名前空間:~DOM4#concept-attribute-namespace |
571 | 572 | ~node文書:~DOM4#concept-node-document |
572 | 573 | ~nodeを除去する:~DOM4#concept-node-remove |
573 | | -根~node:~DOM4#concept-tree-root |
574 | 574 | ~shadow~host:~DOM4#element-shadow-host |
575 | 575 | el.~shadow根:~DOM4#concept-element-shadow-root |
576 | 576 | 属性を除去する:~DOM4#concept-element-attributes-remove |
@@ -1111,9 +1111,9 @@ <h3 title="Sanitizer API">2.1. 無毒化器~API</h3> |
1111 | 1111 | Let sanitizer be the result of calling get a sanitizer instance from options with options and false. |
1112 | 1112 | </li> |
1113 | 1113 | <li> |
1114 | | -`~nodeを無毒化する$( %文書 の`根~node$, %無毒化器, ~F ) |
| 1114 | +`~nodeを無毒化する$( %文書, %無毒化器, ~F ) |
1115 | 1115 | ◎ |
1116 | | -Call sanitize on document’s root node with sanitizer and false. |
| 1116 | +Call sanitize on document with sanitizer and false. |
1117 | 1117 | </li> |
1118 | 1118 | <li> |
1119 | 1119 | ~RET %文書 |
@@ -1164,9 +1164,9 @@ <h3 title="Sanitizer API">2.1. 無毒化器~API</h3> |
1164 | 1164 | Let sanitizer be the result of calling get a sanitizer instance from options with options and true. |
1165 | 1165 | </li> |
1166 | 1166 | <li> |
1167 | | -`~nodeを無毒化する$( %文書 の`根~node$, %無毒化器, ~T ) |
| 1167 | +`~nodeを無毒化する$( %文書, %無毒化器, ~T ) |
1168 | 1168 | ◎ |
1169 | | -Call sanitize on document’s root node with sanitizer and true. |
| 1169 | +Call sanitize on document with sanitizer and true. |
1170 | 1170 | </li> |
1171 | 1171 | <li> |
1172 | 1172 | ~RET %文書 |
@@ -1709,23 +1709,35 @@ <h3 title="Sanitization Algorithms">3.1. 無毒化~algo</h3> |
1709 | 1709 | ~Assert: |
1710 | 1710 | %子 は次に挙げるいずれかを`実装-$する |
1711 | 1711 | ⇒ |
1712 | | -`Text$I / `Comment$I / `Element$I |
| 1712 | +`Text$I / `Comment$I / `Element$I / `DocumentType$I |
1713 | 1713 | ◎ |
1714 | | -Assert: child implements Text, Comment, or Element. |
| 1714 | +Assert: child implements Text, Comment, Element, or DocumentType. |
1715 | 1715 | </p> |
1716 | 1716 |
|
1717 | 1717 | <p class="note">注記: |
1718 | 1718 | この~algoに渡される %~node は、 |
1719 | 1719 | 現時点では,~HTML構文解析器の出力に限られ、 |
1720 | 1720 | この表明は,それに対しては満たされるべきである。 |
| 1721 | +`DocumentType$I は、[ |
| 1722 | +`parseHTML()$m, `parseHTMLUnsafe()$m |
| 1723 | +]用に限り,生じるべきである。 |
1721 | 1724 | この~algoが将来に異なる文脈にて利用されるようになった場合、 |
1722 | 1725 | この前提は,精査し直す必要がある。 |
1723 | 1726 | ◎ |
1724 | | -Note: Currently, this algorithm is only called on output of the HTML parser for which this assertion should hold. If in the future this algorithm will be used in different contexts, this assumption needs to be re-examined. |
| 1727 | +Note: Currently, this algorithm is only called on output of the HTML parser for which this assertion should hold. DocumentType should only occur for parseHTML and parseHTMLUnsafe. If in the future this algorithm will be used in different contexts, this assumption needs to be re-examined. |
1725 | 1728 | </p> |
1726 | 1729 | </li> |
1727 | 1730 | <li> |
1728 | 1731 | ~IF[ |
| 1732 | +%子 は `DocumentType$I を`実装-$する |
| 1733 | +] |
| 1734 | +⇒ |
| 1735 | +~CONTINUE |
| 1736 | +◎ |
| 1737 | +If child implements DocumentType, then continue. |
| 1738 | +</li> |
| 1739 | + <li> |
| 1740 | +~IF[ |
1729 | 1741 | %子 は `Text$I を`実装-$する |
1730 | 1742 | ] |
1731 | 1743 | ⇒ |
|
0 commit comments