You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cloning steps for input elements given node, copy, and subtree are to propagate the value, dirty value flag, checkedness, and dirty checkedness flag from node to copy.
3189
+
The cloning steps for input elements given node, copy, and subtree are to propagate the value, dirty value flag, checkedness, dirty checkedness flag, and indeterminateness from node to copy.
Recall that an element's activation behavior runs for both user-initiated activations and for synthetic activations (e.g., via el.click()). User agents might also have behaviors for a given control — not specified here — that are triggered only by true user-initiated activations. A common choice is to show the picker, if applicable, for the control. In contrast, the input activation behavior only shows pickers for the special historical cases of the File Upload and Color states.
3254
3256
</p>
3255
3257
3258
+
<div>
3256
3259
<p>
3257
-
要素~用の`旧来の作動化~前の挙動$は:
3258
-
◎
3259
-
The legacy-pre-activation behavior for input elements are these steps:
3260
+
`Checkbox$st `状態$にある要素 %要素 用の:
3260
3261
</p>
3261
3262
<ul>
3262
-
<liclass="algo">
3263
+
<li>
3263
3264
<p>
3264
-
`Checkbox$st `状態$にある要素 %要素 用には、
3265
-
次に従う:
3266
-
◎
3267
-
If this element's type attribute is in the Checkbox state, then\
set the element's checkedness and the element's indeterminate IDL attribute back to the values they had before the legacy-pre-activation behavior was run.
3353
3339
</li>
3354
3340
</ol>
3355
3341
</li>
3356
-
<liclass="algo">
3342
+
<li>
3357
3343
<p>
3358
-
`Radio$st `状態$にある要素 %要素 用には、
3359
-
次に従う:
3360
-
◎
3361
-
If this element's type attribute is in the Radio Button state, then\
if any, is still in what is now this element's radio button group, if it still has one, and if so, set that element's checkedness to true;\
3391
-
</li>
3392
-
<li>
3393
-
~ELSE
3394
-
⇒
3395
-
%要素 の`~check有りか$fe ~SET ~F
3396
-
◎
3397
-
or else, if there was no such element, or that element is no longer in this element's radio button group, or if this element no longer has a radio button group, set this element's checkedness to false.
3398
-
</li>
3368
+
</li>
3399
3369
</ol>
3400
3370
</li>
3401
3371
</ul>
3372
+
◎
3373
+
The legacy-pre-activation behavior for input elements are these steps:
3374
+
• If this element's type attribute is in the Checkbox state, then set this element's checkedness to its opposite value (i.e. true if it is false, false if it is true) and set this element's indeterminateness to false.
3375
+
• If this element's type attribute is in the Radio Button state, then get a reference to the element in this element's radio button group that has its checkedness set to true, if any, and then set this element's checkedness to true.
3376
+
◎
3377
+
The legacy-canceled-activation behavior for input elements are these steps:
3378
+
• If the element's type attribute is in the Checkbox state, then set the element's checkedness and the element's indeterminateness back to the values they had before the legacy-pre-activation behavior was run.
3379
+
• If this element's type attribute is in the Radio Button state, then if the element to which a reference was obtained in the legacy-pre-activation behavior, if any, is still in what is now this element's radio button group, if it still has one, and if so, set that element's checkedness to true; or else, if there was no such element, or that element is no longer in this element's radio button group, or if this element no longer has a radio button group, set this element's checkedness to false.
Each input element has an indeterminateness, a boolean which is initially false. It only has an effect on checkbox controls, including their rendering and accessibility semantics. An input element's indeterminateness is independent of its checkedness.
3581
3569
</p>
3582
-
<ul>
3583
-
<li>
3584
-
初期~時には ~F に設定するモノトスル。
3570
+
3571
+
<p>
3572
+
`indeterminate@m
3573
+
~IDL属性の:
3585
3574
◎
3586
-
must initially be set to false.\
3587
-
</li>
3588
-
<li>
3589
-
取得子は、
3590
-
最後に設定された値を返すモノトスル。
3575
+
↓</p>
3576
+
<ul>
3577
+
<liclass="algo">
3578
+
取得子~手続きは
3579
+
⇒
3580
+
~RET コレの`不定状態か$
3591
3581
◎
3592
-
On getting, it must return the last value it was set to.\
3582
+
The indeterminate getter steps are to return this's indeterminateness.
3593
3583
</li>
3594
-
<li>
3595
-
設定子は、
3596
-
所与の値に設定するモノトスル。
3597
-
これは、
3598
-
`Checkbox$st ~controlの外観を変更する以外に効果はない。
3584
+
<liclass="algo">
3585
+
設定子~手続きは
3586
+
⇒
3587
+
コレの`不定状態か$ ~SET 所与の値
3599
3588
◎
3600
-
On setting, it must be set to the new value. It has no effect except for changing the appearance of checkbox controls.
3589
+
The indeterminate setter steps are to set this's indeterminateness to the given value.
The input element represents a two-state control that represents the element's checkedness state. If the element's checkedness state is true, the control represents a positive selection, and if it is false, a negative selection. If the element's indeterminate IDL attribute is set to true, then the control's selection should be obscured as if the control was in a third, indeterminate, state.
6939
-
</p>
6940
-
6941
-
<pclass="note">注記:
6942
-
要素の `indeterminate$m ~IDL属性が ~T に設定されてようが,
6943
-
~control自体は 決して真の 3 状態をとり得る~controlにはならない。
6944
-
この~IDL属性は、
6945
-
第三の状態があるかのような外観を与えるのみである。
6923
+
要素の`不定状態か$ ~EQ ~T の場合、
6924
+
~controlの選択は,遮られるベキである。
6946
6925
◎
6947
-
The control is never a true tri-state control, even if the element's indeterminate IDL attribute is set to true. The indeterminate IDL attribute only gives the appearance of a third state.
6926
+
The input element represents a two-state control that represents the element's checkedness state. If the element's checkedness state is true, the control represents a positive selection, and if it is false, a negative selection. If the element's indeterminateness is true, then the control's selection should be obscured.
0 commit comments