Skip to content

Commit 97cf905

Browse files
[DOM] 編集(各種 DOM 改変アルゴリズムの表記
1 parent 2e84457 commit 97cf905

13 files changed

Lines changed: 214 additions & 219 deletions

DOM4-ja.html

Lines changed: 147 additions & 148 deletions
Large diffs are not rendered by default.

HTML-common-dom-interfaces-ja.html

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -354,10 +354,9 @@
354354
~node~tree:~DOM4#concept-node-tree
355355
~node文書:~DOM4#concept-node-document
356356
~nodeを付加する:~DOM4#concept-node-append
357-
~nodeを子の前に前挿入する:~DOM4#concept-node-pre-insert
358-
前挿入-:~DOM4#concept-node-pre-insert
357+
可能なら~nodeを子の直前に挿入する:~DOM4#concept-node-pre-insert
359358
~tree順序:~DOM4#concept-tree-order
360-
子を~nodeに置換する:~DOM4#concept-node-replace
359+
子を~nodeで置換する:~DOM4#concept-node-replace
361360
属性~変更-時の手続き:~DOM4#concept-element-attributes-change-ext
362361
表現され:~DOM4#represented-by-the-collection
363362
el.~ID:~DOM4#concept-id
@@ -420,7 +419,6 @@
420419
正な数:non-negative numbers greater than zero
421420
正な整数のみ:only non-negative numbers greater than zero
422421
decimal:
423-
前挿入-:pre-insert::~
424422
切詰めら:clampさ::切り詰めら
425423
切詰めた:clampした::切り詰めた
426424

@@ -3235,7 +3233,7 @@ <h5 title="The HTMLOptionsCollection interface">2.6.4.3. `HTMLOptionsCollection^
32353233
%文書片 の`子~群$ ~SET %差分 個の`新たな空option$たちが成す集合
32363234
</li>
32373235
<li>
3238-
%select に`~nodeを付加する$( %文書片 )
3236+
`~nodeを付加する$( %文書片, %select )
32393237
</li>
32403238
</ol>
32413239
@@ -3246,7 +3244,7 @@ <h5 title="The HTMLOptionsCollection interface">2.6.4.3. `HTMLOptionsCollection^
32463244
%差分 ~GTE 0
32473245
32483246
3249-
%select に`~nodeを付加する$( %値 )
3247+
`~nodeを付加する$( %値, %select )
32503248
32513249
If delta is greater than or equal to zero, append value to the select element.\
32523250
</li>
@@ -3262,7 +3260,7 @@ <h5 title="The HTMLOptionsCollection interface">2.6.4.3. `HTMLOptionsCollection^
32623260
%親 ~LET %要素 の親
32633261
</li>
32643262
<li>
3265-
%親 の中で`子を~nodeに置換する$( %要素, %値 )
3263+
`子を~nodeで置換する$( %親, %要素, %値 )
32663264
</li>
32673265
</ol>
32683266

@@ -3346,7 +3344,7 @@ <h5 title="The HTMLOptionsCollection interface">2.6.4.3. `HTMLOptionsCollection^
33463344
If reference is not null, let parent be the parent node of reference. Otherwise, let parent be the select element on which the HTMLOptionsCollection is rooted.
33473345
</li>
33483346
<li>
3349-
%親 の中で`~nodeを子の前に前挿入する$( %element, %before )
3347+
`可能なら~nodeを子の直前に挿入する$( %親, %element, %before )
33503348
33513349
Pre-insert element into parent node before reference.
33523350
</li>

HTML-dependencies-ja.html

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,6 @@
289289
循環な:cyclic::循環
290290
合成な:synthetic::合成
291291
prototype:
292-
前挿入:pre-insert::~
293292
受入-:adopt::~
294293
派生-:derive::~
295294
:bottle::~::ボトル
@@ -2490,12 +2489,12 @@ <h4 title="Dependencies">2.1.9. 依存関係</h4>
24902489
<li id="event-slotchange">`slotchange@~DOM4#eventdef-htmlslotelement-slotchange$et ~event
24912490
<li>~node用の次に挙げる~algo:
24922491
<ul>
2493-
<li id="pre-insert">`~nodeを子の前に前挿入する@~DOM4#concept-node-pre-insert$
2494-
<li id="concept-node-insert">`~nodeを子の前に挿入する@~DOM4#concept-node-insert$
2492+
<li id="pre-insert">`可能なら~nodeを子の直前に挿入する@~DOM4#concept-node-pre-insert$
2493+
<li id="concept-node-insert">`~nodeを子の直前に挿入する@~DOM4#concept-node-insert$
24952494
<li id="concept-node-append">`~nodeを付加する@~DOM4#concept-node-append$
2496-
<li id="concept-node-replace">`子を~nodeに置換する@~DOM4#concept-node-replace$
2495+
<li id="concept-node-replace">`子を~nodeで置換する@~DOM4#concept-node-replace$
24972496
<li id="concept-node-replace-all">`全~内容を~nodeで置換する@~DOM4#concept-node-replace-all$
2498-
<li id="string-replace-all">`全~内容を文字列に置換する@~DOM4#string-replace-all$
2497+
<li id="string-replace-all">`全~内容を文字列で置換する@~DOM4#string-replace-all$
24992498
<li id="concept-node-remove">`~nodeを除去する@~DOM4#concept-node-remove$
25002499
<li id="concept-node-adopt">`~nodeを受入する@~DOM4#concept-node-adopt$
25012500
</ul>

HTML-document-lifecycle-ja.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,17 +1311,17 @@ <h4 title="Shared document creation infrastructure">7.5.1. 共用~文書~作成~
13111311
Let body be the result of creating an element given document, "body", and the HTML namespace.
13121312
</li>
13131313
<li>
1314-
%文書 に`~nodeを付加する$( %html )
1314+
`~nodeを付加する$( %html, %文書 )
13151315
13161316
Append html to document.
13171317
</li>
13181318
<li>
1319-
%html に`~nodeを付加する$( %head )
1319+
`~nodeを付加する$( %head, %html )
13201320
13211321
Append head to html.
13221322
</li>
13231323
<li>
1324-
%html に`~nodeを付加する$( %body )
1324+
`~nodeを付加する$( %body, %html )
13251325
13261326
Append body to html.
13271327
</li>
@@ -1816,7 +1816,7 @@ <h4 title="Loading media documents">7.5.6. ~media文書の読込n法</h4>
18161816
18171817
</li>
18181818
<li>
1819-
%body に`~nodeを付加する$( %要素 )
1819+
`~nodeを付加する$( %要素, %body )
18201820
18211821
Append an element host element for the media,\
18221822
↓↓as described below, to the body element.

HTML-dom-ja.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -955,7 +955,7 @@
955955
文書片:~DOM4#_concept-documentfragment
956956
要素:~DOM4#interface-element
957957
要素を作成する:~DOM4#concept-create-element
958-
子を~nodeに置換する:~DOM4#concept-node-replace
958+
子を~nodeで置換する:~DOM4#concept-node-replace
959959
~nodeを付加する:~DOM4#concept-node-append
960960
~dataを置換する:~DOM4#concept-cd-replace
961961
~nodeを除去する:~DOM4#concept-node-remove
@@ -978,7 +978,7 @@
978978
属性を除去する:~DOM4#concept-element-attributes-remove
979979
属性~値を設定する:~DOM4#concept-element-attributes-set-value
980980
~内容を~nodeで置換する:~DOM4#concept-node-replace-all
981-
~内容を文字列に置換する:~DOM4#string-replace-all
981+
~内容を文字列で置換する:~DOM4#string-replace-all
982982
範囲~obj:~DOM4#concept-range
983983
~eventを発火する:~DOM4#concept-event-fire
984984
~text内容:~DOM4#concept-child-text-content
@@ -3322,7 +3322,7 @@ <h4 title="DOM tree accessors">3.1.6. ~DOM~tree~accessor</h4>
33223322
</ol>
33233323
</li>
33243324
<li>
3325-
%title の`全~内容を文字列に置換する$( 所与の値 )
3325+
`全~内容を文字列で置換する$( %title, 所与の値 )
33263326
33273327
String replace all with the given value within element.
33283328
</li>
@@ -3374,14 +3374,14 @@ <h4 title="DOM tree accessors">3.1.6. ~DOM~tree~accessor</h4>
33743374
Let element be the result of creating an element given the document element's node document, title, and the HTML namespace.
33753375
</li>
33763376
<li>
3377-
%head に`~nodeを付加する$( %title )
3377+
`~nodeを付加する$( %title, %head )
33783378
33793379
Append element to the head element.
33803380
</li>
33813381
</ol>
33823382
</li>
33833383
<li>
3384-
%title の`全~内容を文字列に置換する$( 所与の値 )
3384+
`全~内容を文字列で置換する$( %title, 所与の値 )
33853385
33863386
String replace all with the given value within element.
33873387
</li>
@@ -3512,7 +3512,7 @@ <h4 title="DOM tree accessors">3.1.6. ~DOM~tree~accessor</h4>
35123512
%body ~NEQ ~NULL
35133513
35143514
3515-
%body の親の中で`子を~nodeに置換する$( %body, %要素 )
3515+
`子を~nodeで置換する$( %body の親, %body, %要素 )
35163516
35173517
Otherwise, if the body element is not null, then replace the body element with the new value within the body element's parent and return.
35183518
</li>
@@ -3528,7 +3528,7 @@ <h4 title="DOM tree accessors">3.1.6. ~DOM~tree~accessor</h4>
35283528
<li>
35293529
~ELSE
35303530
3531-
%文書~要素 に`~nodeを付加する$( %要素 )
3531+
`~nodeを付加する$( %要素, %文書~要素 )
35323532
35333533
Otherwise, the body element is null, but there's a document element. Append the new value to the document element.
35343534
</li>
@@ -9753,14 +9753,14 @@ <h4 title="The innerText and outerText properties">3.2.7. `innerText^m, `outerTe
97539753
`~node文書$ ~SET コレの`~node文書$
97549754
</li>
97559755
<li>
9756-
%素片 に`~nodeを付加する$( %~node )
9756+
`~nodeを付加する$( %~node, %素片 )
97579757
</li>
97589758
</ol>
97599759
97609760
If fragment has no children, then append a new Text node whose data is the empty string and node document is this's node document to fragment.
97619761
</li>
97629762
<li>
9763-
コレの親の中で`子を~nodeに置換する$( コレ, %素片 )
9763+
`子を~nodeで置換する$( コレの親, コレ, %素片 )
97649764
97659765
Replace this with fragment within this's parent.
97669766
</li>
@@ -9845,7 +9845,7 @@ <h4 title="The innerText and outerText properties">3.2.7. `innerText^m, `outerTe
98459845
`~node文書$ ~SET %文書
98469846
</li>
98479847
<li>
9848-
%素片 に`~nodeを付加する$( %~node )
9848+
`~nodeを付加する$( %~node, %素片 )
98499849
</li>
98509850
</ol>
98519851
@@ -9881,7 +9881,7 @@ <h4 title="The innerText and outerText properties">3.2.7. `innerText^m, `outerTe
98819881
98829882
</li>
98839883
<li>
9884-
%素片 に`~nodeを付加する$( %要素 )
9884+
`~nodeを付加する$( %要素, %素片 )
98859885
98869886
Append the result of creating an element given document, "br", and the HTML namespace to fragment.
98879887
</li>

HTML-dynamic-markup-insertion-ja.html

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,8 @@
362362
~内容を~nodeで置換する:~DOM4#concept-node-replace-all
363363
~nodeを付加する:~DOM4#concept-node-append
364364
要素を作成する:~DOM4#concept-create-element
365-
子を~nodeに置換する:~DOM4#concept-node-replace
366-
~nodeを子の前に挿入する:~DOM4#concept-node-insert
365+
子を~nodeで置換する:~DOM4#concept-node-replace
366+
~nodeを子の直前に挿入する:~DOM4#concept-node-insert
367367
始端~node:~DOM4#concept-range-start-node
368368

369369
多重定義~解決~algo:~WEBIDLjs#dfn-overload-resolution-algorithm
@@ -799,7 +799,7 @@ <h4 title="Opening the input stream">8.4.1. 入力~streamの~open法</h4>
799799
If document is the associated Document of document's relevant global object, then erase all event listeners and handlers given document's relevant global object.
800800
</li>
801801
<li>
802-
%文書 の`全~内容を~nodeで置換する$( ~NULL )
802+
`全~内容を~nodeで置換する$( %文書, ~NULL )
803803
804804
Replace all with null within document.
805805
</li>
@@ -1665,7 +1665,7 @@ <h4 title="The DOMParser interface">8.5.1. `DOMParser^I ~interface</h4>
16651665
Optionally, add attributes or children to root to describe the nature of the parsing error.
16661666
</li>
16671667
<li>
1668-
%文書 に`~nodeを付加する$( %根 )
1668+
`~nodeを付加する$( %根, %文書 )
16691669
16701670
Append root to document.
16711671
</li>
@@ -1878,12 +1878,12 @@ <h4 title="Unsafe HTML parsing methods">8.5.2. 安全でない~HTML構文解析~
18781878
~EACH( %~node )
18791879
に対し
18801880
1881-
%文書片 に`~nodeを付加する$( %~node )
1881+
`~nodeを付加する$( %~node, %文書片 )
18821882
18831883
For each node in newChildren, append node to fragment.
18841884
</li>
18851885
<li>
1886-
%~target の`全~内容を~nodeで置換する$( %文書片 )
1886+
`全~内容を~nodeで置換する$( %~target, %文書片 )
18871887
18881888
Replace all with fragment within target.
18891889
</li>
@@ -2158,7 +2158,7 @@ <h4 title="The innerHTML property">8.5.4. `innerHTML^m ~prop</h4>
21582158
~EACH( %~node )
21592159
に対し,`~tree順序$で
21602160
2161-
%文書片 に`~nodeを付加する$( %~node )
2161+
`~nodeを付加する$( %~node, %文書片 )
21622162
21632163
For each node of newChildren, in tree order: append node to fragment.
21642164
</p>
@@ -2243,7 +2243,7 @@ <h4 title="The innerHTML property">8.5.4. `innerHTML^m ~prop</h4>
22432243
</p>
22442244
</li>
22452245
<li>
2246-
%文脈 の`全~内容を~nodeで置換する$( %文書片 )
2246+
`全~内容を~nodeで置換する$( %文脈, %文書片 )
22472247
22482248
Replace all with fragment within context.
22492249
</li>
@@ -2293,7 +2293,7 @@ <h4 title="The innerHTML property">8.5.4. `innerHTML^m ~prop</h4>
22932293
Let fragment be the result of invoking the fragment parsing algorithm steps with context and compliantString.
22942294
</li>
22952295
<li>
2296-
コレの`全~内容を~nodeで置換する$( %文書片 )
2296+
`全~内容を~nodeで置換する$( コレ, %文書片 )
22972297
22982298
Replace all with fragment within this.
22992299
</li>
@@ -2389,7 +2389,7 @@ <h4 title="The outerHTML property">8.5.5. `outerHTML^m ~prop</h4>
23892389
Let element be a fictional node\
23902390
</li>
23912391
<li>
2392-
%文書片 に`~nodeを付加する$( コレ )
2392+
`~nodeを付加する$( コレ, %文書片 )
23932393
23942394
whose only child is this.
23952395
</li>
@@ -2465,7 +2465,7 @@ <h4 title="The outerHTML property">8.5.5. `outerHTML^m ~prop</h4>
24652465
Let fragment be the result of invoking the fragment parsing algorithm steps given parent and compliantString.
24662466
</li>
24672467
<li>
2468-
コレの`親$の中で`子を~nodeに置換する$( コレ, %文書片 )
2468+
`子を~nodeで置換する$( コレの`親$, コレ, %文書片 )
24692469
24702470
Replace this with fragment within this's parent.
24712471
</li>
@@ -2706,7 +2706,7 @@ <h4 title="The insertAdjacentHTML() method">8.5.6. `insertAdjacentHTML()^m ~meth
27062706
If position is an ASCII case-insensitive match for the string "beforebegin"
27072707
</dt>
27082708
<dd>
2709-
コレの`親$の中で`~nodeを子の前に挿入する$( %文書片, コレ )
2709+
`~nodeを子の直前に挿入する$( %文書片, コレの`親$, コレ )
27102710
27112711
Insert fragment into this's parent before this.
27122712
</dd>
@@ -2716,7 +2716,7 @@ <h4 title="The insertAdjacentHTML() method">8.5.6. `insertAdjacentHTML()^m ~meth
27162716
If position is an ASCII case-insensitive match for the string "afterbegin"
27172717
</dt>
27182718
<dd>
2719-
コレの中で`~nodeを子の前に挿入する$( %文書片, コレの`最初の子?$ )
2719+
`~nodeを子の直前に挿入する$( %文書片, コレ, コレの`最初の子?$ )
27202720
27212721
Insert fragment into this before its first child.
27222722
</dd>
@@ -2726,7 +2726,7 @@ <h4 title="The insertAdjacentHTML() method">8.5.6. `insertAdjacentHTML()^m ~meth
27262726
If position is an ASCII case-insensitive match for the string "beforeend"
27272727
</dt>
27282728
<dd>
2729-
コレに`~nodeを付加する$( %文書片 )
2729+
`~nodeを付加する$( %文書片, コレ )
27302730
27312731
Append fragment to this.
27322732
</dd>
@@ -2736,7 +2736,7 @@ <h4 title="The insertAdjacentHTML() method">8.5.6. `insertAdjacentHTML()^m ~meth
27362736
If position is an ASCII case-insensitive match for the string "afterend"
27372737
</dt>
27382738
<dd>
2739-
コレの`親$の中で`~nodeを子の前に挿入する$( %文書片, コレの`直後の同胞?$ )
2739+
`~nodeを子の直前に挿入する$( %文書片, コレの`親$, コレの`直後の同胞?$ )
27402740
27412741
Insert fragment into this's parent before this's next sibling.
27422742
</dd>

0 commit comments

Comments
 (0)