Skip to content

Commit 689b9cb

Browse files
[HTML] Fix upgrade particular elements within a document again whatwg/html@5f9f41b
1 parent 8c755a4 commit 689b9cb

2 files changed

Lines changed: 20 additions & 11 deletions

File tree

HTML-custom-ja.html

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@
166166

167167
●●options
168168

169-
spec_date:2025-04-22
170-
trans_update:2025-04-23
169+
spec_date:2025-04-29
170+
trans_update:2025-04-30
171171
source_checked:250314
172172
page_state_key:HTML
173173
spec_status:LS
@@ -3604,16 +3604,16 @@ <h4 title="The CustomElementRegistry interface">4.13.4. `CustomElementRegistry^I
36043604
~EACH( %文書 )
36053605
に対し
36063606
3607-
`文書の中の特定0の要素たちを昇格する$( %文書, %定義, %局所~名 )
3607+
`文書の中の特定0の要素たちを昇格する$( コレ, %文書, %定義, %局所~名 )
36083608
3609-
If this's is scoped is true, then for each document of this's scoped document set: upgrade particular elements within a document given document, definition, and localName.
3609+
If this's is scoped is true, then for each document of this's scoped document set: upgrade particular elements within a document given this, document, definition, and localName.
36103610
</li>
36113611
<li>
36123612
~ELSE
36133613
3614-
`文書の中の特定0の要素たちを昇格する$( コレに`関連な大域~obj$に`結付けられた文書$, %定義, %局所~名, %name )
3614+
`文書の中の特定0の要素たちを昇格する$( コレ, コレに`関連な大域~obj$に`結付けられた文書$, %定義, %局所~名, %name )
36153615
3616-
Otherwise, upgrade particular elements within a document given this's relevant global object's associated Document, definition, localName, and name.
3616+
Otherwise, upgrade particular elements within a document given this, this's relevant global object's associated Document, definition, localName, and name.
36173617
</li>
36183618
<li>
36193619
%~map ~LET コレの`定義-済み時~promise~map$cR
@@ -3648,10 +3648,16 @@ <h4 title="The CustomElementRegistry interface">4.13.4. `CustomElementRegistry^I
36483648
`文書の中の特定0の要素たちを昇格する@
36493649
~algoは、
36503650
所与の
3651-
( `文書$ %文書, `~custom要素~定義$ %定義, 文字列 %局所~名, 文字列 %名前(省略時は %局所~名 )
3651+
⇒#
3652+
`CustomElementRegistry$I ~obj %~registry,
3653+
`文書$ %文書,
3654+
`~custom要素~定義$ %定義,
3655+
文字列 %局所~名,
3656+
文字列 %名前(省略時は %局所~名 )
3657+
◎終
36523658
に対し:
36533659
3654-
To upgrade particular elements within a document given a Document object document, a custom element definition definition, a string localName, and optionally a string name (default localName):
3660+
To upgrade particular elements within a document given a CustomElementRegistry object registry, a Document object document, a custom element definition definition, a string localName, and optionally a string name (default localName):
36553661
</p>
36563662
<ol>
36573663
<li>
@@ -3663,6 +3669,9 @@ <h4 title="The CustomElementRegistry interface">4.13.4. `CustomElementRegistry^I
36633669
</p>
36643670
<ul>
36653671
<li>
3672+
その`~custom要素~registry$el ~EQ %~registry
3673+
</li>
3674+
<li>
36663675
その`名前空間$el ~EQ `~HTML名前空間$
36673676
</li>
36683677
<li>
@@ -3678,11 +3687,11 @@ <h4 title="The CustomElementRegistry interface">4.13.4. `CustomElementRegistry^I
36783687
</li>
36793688
</ul>
36803689
3681-
Let upgradeCandidates be all elements that are shadow-including descendants of document, whose namespace is the HTML namespace and whose local name is localName, in shadow-including tree order. Additionally, if name is not localName, only include elements whose is value is equal to name.
3690+
Let upgradeCandidates be all elements that are shadow-including descendants of document, whose custom element registry is registry, whose namespace is the HTML namespace, and whose local name is localName, in shadow-including tree order. Additionally, if name is not localName, only include elements whose is value is equal to name.
36823691
</li>
36833692
<li>
36843693
%昇格~候補~群 を成す
3685-
~EACH( 要素 %要素 )
3694+
~EACH( %要素 )
36863695
に対し
36873696
36883697
`~custom要素~昇格~反応を~enqueueする$( %要素, %定義 )

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ <h2>日本語訳ページ一覧</h2>
375375
HTML
376376
<a id="spec-list-html" href="#spec-list-html"></a>
377377
<p>
378-
(原文日付:<time>2025-04-25</time>
378+
(原文日付:<time>2025-04-29</time>
379379
<small>
380380
個々のページに示される これより過去の原文日付は、
381381
この日付まで,概ね(有意な)更新は無いことを表す。

0 commit comments

Comments
 (0)