Skip to content

Commit e950686

Browse files
[pointerevents] Clarify isTrusted bits in coalesced/predicted event lists w3c/pointerevents@82a6df8
+編集(訳抜け( "Since a trusted parent event …"
1 parent d04e177 commit e950686

File tree

1 file changed

+54
-14
lines changed

1 file changed

+54
-14
lines changed

pointerevents-ja.html

Lines changed: 54 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@
148148

149149
●●options
150150
spec_title:Pointer Events Level 4
151-
spec_date:2024-08-14
152-
trans_update:2024-08-17
153-
source_checked:211206
151+
spec_date:2024-10-23
152+
trans_update:2024-10-25
153+
source_checked:241023
154154
page_state_key:UIEVENTS
155155
original_url:https://w3c.github.io/pointerevents/
156156
abbr_url:POINTEREVENTS3
@@ -931,7 +931,6 @@
931931
描き:drawing:~
932932
塗る:paintする:~
933933
computing::::コンピューティング
934-
候補:candidate:~
935934
等価な:equivalent:~
936935
粗い:coarseな:~
937936
重複:duplication:~
@@ -953,6 +952,7 @@
953952
揃える:alignする:~
954953
本物の:realな:~
955954
広義-:inclusive::~
955+
集成:aggregation:~
956956

957957
後続して〜変化:subsequent change in
958958
引き続き:subsequently
@@ -1050,6 +1050,7 @@
10501050
〜と同じ値をとる:match the values of
10511051
先行-:precede
10521052
一定:constant
1053+
変化しない:remain unchaged
10531054

10541055
●●images
10551056
@pointerevents/
@@ -3183,7 +3184,6 @@ <h5 title="Suppressing a pointer event stream">4.1.3.3. ~pointer~event~streamの
31833184
装置が~supportするより多い~pointer入力を同時に利用してヤリトリしようと試みたとき。
31843185
31853186
The user attempts to interact using more simultaneous pointer inputs than the device supports.
3186-
The user inputs a greater number of simultaneous pointers than is supported by the device.
31873187
</li>
31883188
<li>
31893189
~UAが、
@@ -4278,7 +4278,7 @@ <h2 title="Extensions to the Element interface">5. `Element^I ~interfaceに対
42784278
— この捕捉が解放されるまでは、
42794279
常にコレを~targetにするモノトスル。
42804280
4281-
Sets pointer capture for the pointer identified by the argument pointerId to the element on which this method is invoked.\
4281+
Set pointer capture for the pointer identified by the argument pointerId to the element on which this method is invoked.\
42824282
For subsequent events of the pointer, the capturing target will substitute the normal hit testing result as if the pointer is always over the capturing target, and they MUST always be targeted at this element until capture is released.\
42834283
</dd>
42844284
<dd>
@@ -4480,7 +4480,7 @@ <h2 title="Extensions to the Navigator interface">7. `Navigator^I ~interfaceに
44804480

44814481
</section>
44824482
<section id="declaring-direct-manipulation-behavior">
4483-
<h2 title="Declaring candidate regions for direct manipulation behaviors">8. 直な操作の挙動~用の候補~領域の宣言-法</h2>
4483+
<h2 title="Declaring direct manipulation behavior">8. 直な操作の挙動の宣言-法</h2>
44844484

44854485
<p>
44864486
`§ 各種 属性と既定~動作@#attributes-and-default-actions$
@@ -4626,7 +4626,7 @@ <h3 title="The touch-action CSS property">8.1. `touch-action^p ~CSS~prop</h3>
46264626

46274627
</section>
46284628
<section id="determining-supported-direct-manipulation-behavior">
4629-
<h3 title="Determining supported direct manipulation behavior">8.2. ~supportされる直な操作~用の挙動の決定-法</h3>
4629+
<h3 title="Determining supported direct manipulation behavior">8.2. ~supportされる直な操作の挙動の決定-法</h3>
46304630

46314631
<p>
46324632
利用者が,`直な操作$による~pointer(~touchscreen上の~touchや~stylusなど)を利用して要素とヤリトリするとき、
@@ -5493,6 +5493,7 @@ <h3 title="Coalesced events">10.1. 合体された~event群</h3>
54935493
</p>
54945494
<ul class="switch">
54955495
<li>
5496+
<p>
54965497
`pointermove$et / `pointerrawupdate$et
54975498
54985499
%~event の中に合体された すべての `PointerEvent$I ~objが成す連列になる。
@@ -5503,7 +5504,17 @@ <h3 title="Coalesced events">10.1. 合体された~event群</h3>
55035504
この~listは,常に 1 個以上の~eventを包含する。
55045505
55055506
For trusted pointermove and pointerrawupdate events, the list is a sequence of all PointerEvents that were coalesced into this event. The "parent" trusted pointermove and pointerrawupdate event represents an accumulation of these coalesced events, but may have additional processing (for example to align with the display refresh rate). As a result, the coalesced events lists for these events always contain at least one event.\
5506-
</li>
5507+
</p>
5508+
5509+
<p class="note">注記:
5510+
この場合,
5511+
開発者は[
5512+
%~event, %~event の`合体d~event~list$を成すすべて
5513+
]のうち一方しか処理する必要はないはずである
5514+
— 前者は後者の要約あるいは集成なので。
5515+
5516+
</p>
5517+
</li>
55075518
<li>
55085519
他の場合
55095520
@@ -5522,6 +5533,20 @@ <h3 title="Coalesced events">10.1. 合体された~event群</h3>
55225533
</li>
55235534
</ul>
55245535

5536+
<p class="note">注記:
5537+
ある`合体d~event~list$ %~list を包含している~trustedな~eventが~JSから配送し直されたときは、
5538+
当の~event の `isTrusted$m は~event配送~algoにより ~F に設定されるが,
5539+
%~list を成す各~eventの `isTrusted^m は元の値 ~T から変化しない。
5540+
5541+
↑↑ Note
5542+
5543+
Since a trusted parent event is a summary or aggregation of the coalesced events, developers should only need to process either the parent events or all of the coalesced events, but not both.
5544+
5545+
Note
5546+
5547+
When a trusted event containing a coalesced events list is re-dispatched from JavaScript, the event dispatch algorithm sets the isTrusted bit of the event to false but the same bits in the coalesced events list remain unchaged from their original true values.
5548+
</p>
5549+
55255550
<p>
55265551
`~trusted$な`~pointer~event$ %~event の`合体d~event~list$
55275552
— 配送された %~event に対し,その `getCoalescedEvents()$m ~methodを~callして得られるそれ —
@@ -5806,6 +5831,16 @@ <h3 title="Predicted events">10.2. 予測された~event群</h3>
58065831
While pointerrawupdate events may have a non-empty coalesced events list, their predicted events list will, for performance reasons, usually be an empty list.
58075832
</p>
58085833

5834+
<p class="note">注記:
5835+
ある`予測d~event~list$ %~list を包含している~trustedな~eventが~JSから配送し直されたときは、
5836+
当の~event の `isTrusted$m は~event配送~algoにより ~F に設定されるが,
5837+
%~list を成す各~eventの `isTrusted^m は元の値 ~T から変化しない。
5838+
5839+
Note
5840+
5841+
When a trusted event containing a predicted events list is re-dispatched from JavaScript, the event dispatch algorithm sets the isTrusted bit of the event to false but the same bits in the predicted events list remain unchaged from their original true values.
5842+
</p>
5843+
58095844
<p>
58105845
この~listを成す~eventの個数, および[
58115846
各~eventが現在の時刻印から どれほど離れるか
@@ -6067,8 +6102,8 @@ <h2 title="Compatibility mapping with mouse events">11. ~mouse~eventとの互換
60676102
Regardless of their support for compatibility mouse events, the user agents MUST always support the click, auxclick and contextmenu events because these events are of type PointerEvent and are therefore not compatibility mouse events. Calling preventDefault during a pointer event MUST NOT have an effect on whether click, auxclick, or contextmenu are fired or not.
60686103
</p>
60696104

6070-
<div class="note">注記:
6071-
<p>
6105+
<div class="note">
6106+
<p>注記:
60726107
これらの高~levelな~eventのうち一部
60736108
( `contextmenu$et, `focus$et, `blur$et, 等々)
60746109
と`~pointer~event$との相対的な順序は、
@@ -6082,6 +6117,8 @@ <h2 title="Compatibility mapping with mouse events">11. ~mouse~eventとの互換
60826117
(一例として、
60836118
~keyboardによるヤリトリの結果として)。
60846119
6120+
Note
6121+
60856122
The relative order of some of these high-level events (contextmenu, focus, blur, etc.) with pointer events is undefined and varies between user agents. For example, in some user agents contextmenu will often follow a pointerup, while in others it'll often precede a pointerup or pointercancel, and in some situations it may be fired without any corresponding pointer event (for instance, as a result of a keyboard interaction).
60866123
</p>
60876124

@@ -6295,6 +6332,8 @@ <h3 title="Tracking the effective position of the legacy mouse pointer">11.1.
62956332
旧来の~mouse遷移~eventを~pointer遷移~eventより多く配送する
62966333
]ことが必要になる事例を次の~animationで~~説明する。
62976334
6335+
Note
6336+
62986337
The effective position of the legacy mouse pointer models the fact that we cannot always have a direct mapping from pointer transition events (i.e., pointerover, pointerout, pointerenter and pointerleave) to corresponding legacy mouse transition events (i.e., mouseover, mouseout, mouseenter and mouseleave). The following animation illustrates a case where a user agent needs to dispatch more legacy mouse transition events than pointer transition events to be able to reconcile two primary pointers using a single legacy mouse input.
62996338
</p>
63006339

@@ -6401,10 +6440,10 @@ <h3 title="Mapping for devices that support hover">11.2. ~hoverを~supportする
64016440
64026441
Dispatch the pointer event.
64036442
</li>
6404-
64056443
<li>
64066444
%装置~型 ~LET %event の `pointerType$m
6407-
</li>
6445+
6446+
</li>
64086447
<li>
64096448
~IF[
64106449
%event の型 ~EQ `pointerdown$et
@@ -6543,7 +6582,8 @@ <h3 title="Mapping for devices that do not support hover">11.3. ~hoverを~suppor
65436582
</li>
65446583
<li>
65456584
%~pointer ~LET %event を生じさせた~pointer
6546-
</li>
6585+
6586+
</li>
65476587
<li>
65486588
~IF[
65496589
%event の型 ~EQ `pointerover$et

0 commit comments

Comments
 (0)