Skip to content

Commit da14d2a

Browse files
[selection-api] Correctly reference Document from the Window section w3c/selection-api@97a072c
1 parent fa826a5 commit da14d2a

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

selection-api-ja.html

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,8 @@
109109
●●options
110110

111111
spec_title:Selection API
112-
spec_date:2024-09-30
113-
trans_update:2024-10-01
112+
spec_date:2024-10-30
113+
trans_update:2024-10-31
114114
source_checked:181108
115115
original_url:https://w3c.github.io/selection-api/
116116
abbr_url:SELECTIONAPI
@@ -246,11 +246,11 @@
246246
■event
247247

248248
●用語
249-
sL.範囲o:#_range
249+
sL.範囲o:#_selection-range
250250
sL.~anchor:#dfn-anchor
251251
sL.~focus:#dfn-focus
252252
sL.方向:#dfn-direction
253-
空である:#dfn-empty
253+
空である:#dfn-empty ~NULL
254254
i.無方向:#dfn-directionless
255255
i.後方:#dfn-backwards
256256
i.前方:#dfn-forwards
@@ -321,7 +321,7 @@
321321
文字列~化の挙動:~WEBIDL#dfn-stringification-behavior
322322

323323
結付けられた文書:~WINDOW#concept-document-window
324-
m.document:~WINDOW#dom-window-document
324+
m.document:~WINDOW#dom-window-document 結付けられた文書
325325
document:#dom-document
326326

327327
行内~基底~方向:~CSSWM#inline-base-direction
@@ -689,8 +689,10 @@ <h2 title="Definition">2. 定義</h2>
689689
各 `選択$には、
690690
`範囲o@sL
691691
が結付けられる
692-
— それは,`範囲o$†または ~NULL であり、
693-
初期~時には ~NULL になるモノトスル。
692+
— それは、[
693+
ある`範囲o$†/ ~NULL
694+
]であり,
695+
初期~時は ~NULL になるモノトスル。
694696
695697
Each selection can be associated with a single range. When there is no range associated with the selection, the selection is empty. The selection must be initially empty.
696698
</p>
@@ -724,7 +726,7 @@ <h2 title="Definition">2. 定義</h2>
724726
“`選択$の`範囲o$sL ~EQ ~NULL”
725727
と記すことにする
726728
( “空である” は、
727-
意味論的に, “範囲oが`畳まれて$いる” ことと紛らわしくもある)。
729+
意味論的に, “範囲oが`畳まれて$いる” ことと紛らわしいので)。
728730
</p>
729731

730732
<p class="note">注記:
@@ -2166,17 +2168,17 @@ <h3 title="Extensions to Window interface">4.2. `Window^I ~interfaceに対する
21662168

21672169
<pre class="idl">
21682170
partial interface `Window$I {
2169-
`Selection$I? `getSelection()$m;
2171+
`Selection$I? `~getSelectionW()$m;
21702172
};
21712173
</pre>
21722174

21732175
<div class="algo">
21742176
`~getSelectionW()@m
21752177
~method手続きは
21762178
2177-
~RET `文書の選択$( コレに`結付けられた文書$ )【! document property】
2179+
~RET `文書の選択$【!the result of getSelection()】( コレに`結付けられた文書$【!Window.document attribute】 )
21782180
2179-
The method must invoke and return the result of getSelection on this's document property.
2181+
The method must invoke and return the result of getSelection() on this's Window.document attribute.
21802182
</div>
21812183

21822184
</section>

0 commit comments

Comments
 (0)