-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathHTML-autofill-ja.html
3584 lines (3274 loc) · 98.3 KB
/
HTML-autofill-ja.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html><html lang="ja"><head><meta charset="utf-8">
<title>HTML Standard — Autofill (日本語訳)</title>
<link rel="stylesheet" href="common.css" type="text/css">
<link rel="stylesheet" href="common-whatwg.css" type="text/css">
<style>
.category-list {
column-width: 12em;
padding: 0;
}
.category-list > li {
margin: 0;
padding: 0;
display: block;
}
.category-list > li::before {
content: "• ";
color: var(--dim-color);
}
</style>
<script src="common0.js"></script>
<script src="common1.js" async></script>
<script>
Util.ready = function(){
const source_data = {
toc_main: 'MAIN',
generate: expand
};
Util.switchWordsInit(source_data);
}
function expand(){
const class_map = this.class_map;
const tag_map = this.tag_map;
const link_map = this.link_map;
let context = '';
return this.html.replace(
/%[\w\-~一-鿆あ-ん]+|[`!](.+?)([$@\^])(\w*)/g,
create_html
);
function create_html(match, key, indicator, klass){
if(!key) {//%
return `<var>${match.slice(1)}</var>`;
}
let text = key;
let href = '';
switch(klass){
case 'r':
text = `[${key}]`;
href = `HTML-references.html#refs${key}`;
break;
case 'l':
text = `"<code class="literal">${text}</code>"`;
break;
case 'm':
const n = text.indexOf('(');
if(n > 0){
key = text.slice(0, n);
text = key + text.slice(n).replace(/\w+/g, '<var>$&</var>');
}
break;
case 'U' :
text = `U+${key}`;
break;
case 'stT' :
text = `<input type=${key}>`;
break;
case 'eni':
return `<i lang="en">${key}</i>`;
break;
case 'en':
return `<span lang="en">${key}</span>`;
break;
case 'xCode':
return `<a id="_ex-html-${key}">*</a>`;
break;
}
let tag = tag_map[klass];
if(match[0] === '!') {
if(indicator === '^'){
context = key;
} else {
klass = `${klass}!${context}`;
}
}
if(tag) {
let classname = class_map[klass];
classname = classname ? ` class="${classname}"` : '';
text = `<${tag}${classname}>${text}</${tag}>`;
}
if(indicator !== '^'){
href = link_map[ klass ? `${klass}.${key}` : key ] || href;
if(!href){
console.log(match); // check error
return match;
}
switch(indicator){
case '$':
text = `<a href="${href}">${text}</a>`;
break;
case '@':
text = `<dfn id="${href.slice(1)}">${text}</dfn>`;
break;
}
}
return text;
}
}
</script>
<script type="text/plain" id="_source_data">
●●options
spec_date:2025-03-14
trans_update:2022-11-06
source_checked → HTMLforms
page_state_key:HTML
spec_status:LS
original_url:https://html.spec.whatwg.org/multipage/form-control-infrastructure.html
abbr_url:HTMLautofill
nav_prev:HTMLforms
trans_1st_pub:2017-05-09
●●class_map
e:element
a:attr
et:event-type
E:error
st:attr-state
v:value
U:code-point
cn:cp-name
●●tag_map
I:code
m:code
E:code
c:code
e:code
a:code
st:i
v:code
U:span
cn:span
i:i
●●original_id_map
●●link_map
●IDL
I.Document:~HTMLdom#document
I.Credential:~CREDENTIAL-MANAGEMENT#credential
c.conditional:~CREDENTIAL-MANAGEMENT#dom-credentialmediationrequirement-conditional
c.navigator.credentials.get():~CREDENTIAL-MANAGEMENT#dom-credentialscontainer-get
e.input:~HEinput#the-input-element
e.option:~HEforms#the-option-element
e.select:~HEforms#the-select-element
e.textarea:~HEforms#the-textarea-element
a.type:~HEinput#attr-input-type
a.~autocomplete0:~HEforms#attr-form-autocomplete
a.~multiple0:~HEinput#attr-input-multiple
a.~multiple1:~HEforms#attr-select-multiple
a.name:~HTMLforms#attr-fe-name
v.section-:#attr-fe-autocomplete-section
v.additional-name:#attr-fe-autocomplete-additional-name
v.address-level1:#attr-fe-autocomplete-address-level1
v.address-level2:#attr-fe-autocomplete-address-level2
v.address-level3:#attr-fe-autocomplete-address-level3
v.address-level4:#attr-fe-autocomplete-address-level4
v.address-line1:#attr-fe-autocomplete-address-line1
v.address-line2:#attr-fe-autocomplete-address-line2
v.address-line3:#attr-fe-autocomplete-address-line3
v.bday-day:#attr-fe-autocomplete-bday-day
v.bday-month:#attr-fe-autocomplete-bday-month
v.bday-year:#attr-fe-autocomplete-bday-year
v.bday:#attr-fe-autocomplete-bday
v.billing:#attr-fe-autocomplete-billing
v.cc-additional-name:#attr-fe-autocomplete-cc-additional-name
v.cc-csc:#attr-fe-autocomplete-cc-csc
v.cc-exp-month:#attr-fe-autocomplete-cc-exp-month
v.cc-exp-year:#attr-fe-autocomplete-cc-exp-year
v.cc-exp:#attr-fe-autocomplete-cc-exp
v.cc-family-name:#attr-fe-autocomplete-cc-family-name
v.cc-given-name:#attr-fe-autocomplete-cc-given-name
v.cc-name:#attr-fe-autocomplete-cc-name
v.cc-number:#attr-fe-autocomplete-cc-number
v.cc-type:#attr-fe-autocomplete-cc-type
v.country-name:#attr-fe-autocomplete-country-name
v.country:#attr-fe-autocomplete-country
v.current-password:#attr-fe-autocomplete-current-password
v.one-time-code:#attr-fe-autocomplete-one-time-code
v.email:#attr-fe-autocomplete-email
v.family-name:#attr-fe-autocomplete-family-name
v.fax:#attr-fe-autocomplete-fax
v.given-name:#attr-fe-autocomplete-given-name
v.home:#attr-fe-autocomplete-home
v.honorific-prefix:#attr-fe-autocomplete-honorific-prefix
v.honorific-suffix:#attr-fe-autocomplete-honorific-suffix
v.impp:#attr-fe-autocomplete-impp
v.language:#attr-fe-autocomplete-language
v.mobile:#attr-fe-autocomplete-mobile
v.name:#attr-fe-autocomplete-name
v.new-password:#attr-fe-autocomplete-new-password
v.nickname:#attr-fe-autocomplete-nickname
v.off:#attr-fe-autocomplete-off
v.on:#attr-fe-autocomplete-on
v.organization-title:#attr-fe-autocomplete-organization-title
v.organization:#attr-fe-autocomplete-organization
v.pager:#attr-fe-autocomplete-pager
v.photo:#attr-fe-autocomplete-photo
v.postal-code:#attr-fe-autocomplete-postal-code
v.sex:#attr-fe-autocomplete-sex
v.shipping:#attr-fe-autocomplete-shipping
v.street-address:#attr-fe-autocomplete-street-address
v.tel-area-code:#attr-fe-autocomplete-tel-area-code
v.tel-country-code:#attr-fe-autocomplete-tel-country-code
v.tel-extension:#attr-fe-autocomplete-tel-extension
v.tel-local-prefix:#attr-fe-autocomplete-tel-local-prefix
v.tel-local-suffix:#attr-fe-autocomplete-tel-local-suffix
v.tel-local:#attr-fe-autocomplete-tel-local
v.tel-national:#attr-fe-autocomplete-tel-national
v.tel:#attr-fe-autocomplete-tel
v.transaction-amount:#attr-fe-autocomplete-transaction-amount
v.transaction-currency:#attr-fe-autocomplete-transaction-currency
v.url:#attr-fe-autocomplete-url
v.username:#attr-fe-autocomplete-username
v.webauthn:#attr-fe-autocomplete-webauthn
v.work:#attr-fe-autocomplete-work
cG.Date:#control-group-date
cG.Username:#control-group-username
cG.Month:#control-group-month
cG.Multiline:#control-group-multiline
cG.Numeric:#control-group-numeric
cG.Password:#control-group-password
cG.Tel:#control-group-tel
cG.Text:#control-group-text
cG.URL:#control-group-url
m.autocomplete:#dom-fe-autocomplete
a.autocomplete:#attr-fe-autocomplete
st.Date:~HEinput#date-state-(type=date)
st.Email:~HEinput#email-state-(type=email)
st.Hidden:~HEinput#hidden-state-(type=hidden)
st.Month:~HEinput#month-state-(type=month)
st.Number:~HEinput#number-state-(type=number)
st.Password:~HEinput#password-state-(type=password)
st.Telephone:~HEinput#telephone-state-(type=tel)
st.Text:~HEinput#text-(type=text)-state-and-search-state-(type=search)
st.Search:~HEinput#text-(type=text)-state-and-search-state-(type=search)
st.URL:~HEinput#url-state-(type=url)
●用語
~autofill名~一覧:#_autofill-names
状態にある:#_state-of-type-attr-is
最後の~tokenを取り出して小文字~化する:#_pop-and-lowercase-the-last-token
~autofill期待:#autofill-expectation-mantle
~autofill~anchor:#autofill-anchor-mantle
~autofill詳細~token群:#autofill-detail-tokens
~autofill欄:#autofill-field
~autofill~hint集合:#autofill-hint-set
~autofill欄~名:#autofill-field-name
~autofill視野:#autofill-scope
非~autofill資格証の種別:#non-autofill-credential-type
~IDLに公開される~autofill値:#idl-exposed-autofill-value
欄の分類を決定する:#determine-a-field's-category
~controlの~data:#control's-data
~form~controlを~autofillする:#concept-fe-autofill
derived from country in some cases:#autofill-country
~controlには不適切:#inappropriate-for-the-control
行政区分:#more-on-address-levels
●用語(HTML
妥当な日付~文字列:~HTMLcms#valid-date-string
妥当な浮動小数点数:~HTMLcms#valid-floating-point-number
妥当な整数:~HTMLcms#valid-integer
妥当な年月t文字列:~HTMLcms#valid-month-string
~space等で分離された~token集合:~HTMLcms#set-of-space-separated-tokens
反映する:~HTMLcdom#reflect
妥当な~email~address:~HEinput#valid-e-mail-address
適用される:~HEinput#concept-input-apply
選択肢~list:~HEforms#concept-select-option-list
~listされる要素:~HEforms#category-listed
st.off:~HEforms#attr-form-autocomplete-off-state
opt.選択状態:~HEforms#concept-option-selectedness
~form所有者:~HTMLforms#form-owner
fe.変異-可能:~HTMLforms#concept-fe-mutable
fe.値:~HTMLforms#concept-fe-value
fe.値~群:~HTMLforms#concept-fe-values
~pattern不一致の難あり:~HTMLforms#suffering-from-a-pattern-mismatch
~step不一致の難あり:~HTMLforms#suffering-from-a-step-mismatch
型~不一致の難あり:~HTMLforms#suffering-from-a-type-mismatch
~overflowの難あり:~HTMLforms#suffering-from-an-overflow
~underflowの難あり:~HTMLforms#suffering-from-an-underflow
長過ぎる難あり:~HTMLforms#suffering-from-being-too-long
短か過ぎる難あり:~HTMLforms#suffering-from-being-too-short
●用語(外部
~ASCII大小無視:~INFRA#ascii-case-insensitive
~ASCII小文字~化する:~INFRA#ascii-lowercase
~ASCII数字:~INFRA#ascii-digit
~ASCII空白で分割する:~INFRA#split-on-ascii-whitespace
連結する:~INFRA#string-concatenate
空:~INFRA#list-is-empty
~size:~INFRA#list-size
除去する:~INFRA#list-remove
付加する:~INFRA#list-append
前付加する:~INFRA#list-prepend
妥当な~URL文字列:~URL1#valid-url-string
接続されて:~DOM4#connected
文書~tree内:~DOM4#in-a-document-tree
根:~DOM4#concept-tree-root
~shadow根:~DOM4#concept-shadow-root
~tree順序:~DOM4#concept-tree-order
~tree:~DOM4#concept-tree
構文解析を停止-:~HTMLparsing#stop-parsing
公開鍵~資格証:~WEBAUTHN#public-key-credential
利用者-仲介:~CREDENTIAL-MANAGEMENT#user-mediated
ISO 3166-1-alpha-2 国~code:https://www.iso.org/iso-3166-country-codes.html
●●words_table1
WEBAUTHN:https://w3c.github.io/webauthn/
CREDENTIAL-MANAGEMENT:https://w3c.github.io/webappsec-credential-management/
autocomplete0:autocomplete
multiple0:multiple
multiple1:multiple
xmpp0:xmpp:fred@example.net
●●words_table
●autofill
fill:
autofill:
fill:
prefill:
mantle:
anchor:
自動補完-:autocomplete::~
自動補完:autocompletion::~
纏う:wearする:まとう
纏って:wearして:まとって
纏わな:wearしな:まとわな
覚えら:rememberさ:~
覚える:rememberする:~
Off
連絡先:contact:~
連絡先~用~contacting
機:machine:
time::::
取引:transaction::~
トランザクション
password::::パスワード
username::::ユーザ名
人名:name:~
短い:short:~
title:
^eni:family name
^eni:given name
^eni:first name
^eni:last name
^eni:middle name
^eni:forename
^eni:surname
^eni:screen name
^eni:handle
^eni:nickname:
~mononym:
credit-card:credit card:::クレジットカード
地域:locale::~
国域
地区:area::~
区域:locality::~
em:locality
~~地方:province
国:country:~
国内用:country internal:~
中国:China:~
日本:Japan:~
米国:US:~
英国:UK:~
スイス:Switzerland::~
^en:county
^en:state
^en:province
^en:district
^en:prefecture
^en:canton
^en:post town
^en:street
^en:city
^en:town
ZIP
CEDEX
行政区分:administrative level:~
行政区:administrative division:~
市区町村等:city, town, village, or other locality:~
州:state
fax:
^en:pager
^en:beeper
出荷先:shipping:~
請求先:billing:~
個人:person:~
西欧:Western:~
文化:culture:~
番号:number:~
通貨:currency:~
性別:gender identity:~
支払手段:payment instrument:~
誕生日:birthday:~
電話番号:telephone number:~
電話番号:phone number
email::::メール
使捨鍵:one-time-key::使い捨て鍵
account::::アカウント
home:
核兵器:nuclear weapon:~
銀行:bank:~
写真:photograph:~
instant-messaging:instant messaging::インスタントメッセージ用
肩書き:job title:~
肩書ex:"Software Engineer", "Senior Vice President", "Deputy Managing Director":"ソフトウェア技術者", "副専務理事", "上級社長補佐"
郵便番号等:postal code, post code, ZIP code, CEDEX code:~
額:amount:~
失効:expiration:~
失効日:expiry date:~
教授:professor:~
配偶者:spouse:~
入札:bid:~
売出し:sale:~
価格:price:~
会社:company:~
居宅:residence:~
職場:workplace:~
login::::ログイン
log-in::::ログイン
残高:balance:~
女性:female:~
verify::検証
同一性:identity:~
使捨て:one-time:使い捨て
公開鍵:public key::~
仲介:mediation:~
^en:fa'afafine
'
Zambia
-:daughter
^en:July
●構文/妥当性
-:index
日t:day::日
月t:month::月
年t:year::年
年月t:year&month::年&月
無改行自由形text:Free-form text, no newlines:改行なしの自由形 text::改行なしの自由形テキスト
step:
underflow::::アンダーフロー
overflow::::オーバーフロー
ISO:
BCP:
連結-:concatenate:~
不一致:mismatch::~
浮動小数点数:floating point number:~
自由形:free form:~
SPACE
PLUS SIGN
前後の空白を除けば:followed by a newline and a space
●仕様
助ける:helpする:~
傾向:tend:~
分類:category:~
柔軟:flexible:~
偏向-:biase:~
傾向:tend:~
偏向する傾向:tend to expose 〜 biases
異論:objection:~
あろうが:despite:
差別化-:discriminate:~
指図-:instruct:~
-:specific
与える:describe
適合でない:non-conforming
substeps
でき:possible
とする:suppose
~~実際に:indeed
十分ある:sufficient
称され:referred/known
何らかの方法:somehow
手の込んだ:elaborate
~~導出:driven
指す:refer
必要:have to
基にする:look at
様な:looks like
●未分類
getting/setting
-:abort
先行-:precede:~
配列し直す:rearrangeする
後続-:follow:~
-:entry
drop-down::::ドロップダウン
alphabet::::アルファベット
alphabet順の:alphabetical
欄:field::~::フィールド
種類:kind:~
端点:endpoint::~
頻繁:frequent:~
過去:past:~
選択状態:selectedness:~
選択肢:option:~
保存-:save:~
sign-in:
処理待ち:pending:~
片:snippet
ヒトが読める:human-readable
所属-:belong / fall into / correspond
にも~~複製する:duplicate
~~集約する:cover
~~見出してnotice
追加
行われ/済み:done
hidden
followed
前付加する:Insert 〜 at the start of
%最大~token数:maximum token
%分類:category
作動化し直す:reactivating
行:row
-:cell
回目/行目
:between
sometime
誰か:someone
より幅狭な:narrower
より幅広な:broader
most:
細かい:fine-grained
最も広域:broadest
最も広い:widest
直後
一方
一群
の一部/部分:part of
上位
以前に:previously
以外
個数
内
各種
場合
段階
以上
近く:close
少し:slightly
GOTO:jump to the step labeled
GOTO:skip to the step labeled
DECBY:decrement
毎回:each time
この時点では:at this point
先頭:start
前述:noted earlier
前述の:aforementioned
に伴い:accordingly
以前の/先行する:earlier
順に:respectively
previous
amongst
結果
自身
数
下位部分:subpart
行:line
consist
●●html_code_list
■autocomplete-1
<fieldset>
<legend>青ギフトの宛先...</legend>
<p> <label> 郵便番号:
<input name=bp autocomplete="section-blue shipping postal-code"> </label>
<p> <label> 都道府県:
<input name=b1 autocomplete="section-blue shipping address-level1"> </label>
<p> <label> 市区町村:
<input name=b2 autocomplete="section-blue shipping address-level2"> </label>
<p> <label> 番地:
<textarea name=ba autocomplete="section-blue shipping street-address"></textarea> </label>
</fieldset>
<fieldset>
<legend>赤ギフトの宛先...</legend>
<p> <label> 郵便番号:
<input name=rp autocomplete="section-red shipping postal-code"> </label>
<p> <label> 都道府県:
<input name=r1 autocomplete="section-red shipping address-level1"> </label>
<p> <label> 市区町村:
<input name=r2 autocomplete="section-red shipping address-level2"> </label>
<p> <label> 番地:
<textarea name=ra autocomplete="section-red shipping street-address"></textarea> </label>
</fieldset>
<fieldset>
<legend>Ship the blue gift to...</legend>
<p> <label> Address: <textarea name=ba autocomplete="section-blue shipping street-address"></textarea> </label>
<p> <label> City: <input name=bc autocomplete="section-blue shipping address-level2"> </label>
<p> <label> Postal Code: <input name=bp autocomplete="section-blue shipping postal-code"> </label>
</fieldset>
<fieldset>
<legend>Ship the red gift to...</legend>
<p> <label> Address: <textarea name=ra autocomplete="section-red shipping street-address"></textarea> </label>
<p> <label> City: <input name=rc autocomplete="section-red shipping address-level2"> </label>
<p> <label> Postal Code: <input name=rp autocomplete="section-red shipping postal-code"> </label>
</fieldset>
■autocomplete-2
<form method=post action="step2.cgi">
<input type=hidden autocomplete=transaction-currency value="CHF">
<input type=hidden autocomplete=transaction-amount value="15.00">
<p><label>カード番号:<input type=text inputmode=numeric autocomplete=cc-number></label>
<p><label>失効日:<input type=month autocomplete=cc-exp></label>
<p><input type=submit value="続ける">
</form>
Credit card number:
Expiry Date
Continue...
■autocomplete-3
<p><label>Account: <input type="text" name="ac" autocomplete="off"></label></p>
<p><label>PIN: <input type="password" name="pin" autocomplete="off"></label></p>
■autocomplete-4
<select name="country">
<option>Afghanistan
<option>Albania
<option>Algeria
<option>Andorra
<option>Angola
<option>Antigua and Barbuda
<option>Argentina
<option>Armenia
<%!-- ... -->
<option>Yemen
<option>Zambia
<option>Zimbabwe
</select>
■autocomplete-5
<form>
<input type=hidden autocomplete="nickname" value="TreePlate">
<input type=text autocomplete="nickname">
</form>
■autocomplete-6
<input name=middle-initial maxlength=1 autocomplete="additional-name">
■autocomplete-7a
<input
name=b
type=month
autocomplete="bday"
>
■autocomplete-7b
<select
name=c
autocomplete="bday"
>
<option>Jan
<option>Feb
...
<option>Jul
<option>Aug
...
</select>
■autocomplete-7c
<input
name=a
type=number
min=1
max=12
autocomplete="bday-month"
>
■autocomplete-7d
<input
name=a
type=number
min=0
max=11
autocomplete="bday-month"
>
■autocomplete-7e
<input
name=a
type=number
min=1
max=11
autocomplete="bday-month"
>
●●images
@HTML-resources/
select-country-1|||.png
select-country-2|||.png
●●trans_metadata
<p>
~THIS_PAGEは、~WHATWGによる HTML 仕様の
<a href="~SPEC_URL#autofill">§ Autofill</a>
を日本語に翻訳したものです。
~PUB
</p>
</script>
</head>
<body>
<header>
<hgroup>
<h1>HTML — autofill( “自動で埋める” )</h1>
</hgroup>
</header>
<main id="MAIN" hidden>
<section id="_conventions">
<h4>【この訳に特有な表記規約】</h4>
◎表記記号
<p>
`input$e 要素が %X
`状態にある@
とは、
要素は[
その `type$a 属性の状態 ~EQ %X
]を満たしていることの略記である。
</p>
</section>
<section id="autofill">
<h5 title="Autofill">4.10.18.7. ~autofill</h5>
<section id="autofilling-form-controls:-the-autocomplete-attribute">
<h6 title="Autofilling form controls: the autocomplete attribute">4.10.18.7.1. ~form~controlの~autofill法: `autocomplete^a 属性</h6>
<p>
~UAは、
利用者が~formを~fillする(埋める)ことを助ける特能を備えることもある
— 例えば、
利用者の~addressを以前の利用者~入力に基づいて~prefillする(予め埋めておく)など。
`autocomplete@a
内容~属性は、
そのような特能を[
~~実際に供するかどうか/どう供するか
]について,~UA向けに~hintを与えるために利用できる。
◎
User agents sometimes have features for helping users fill forms in, for example prefilling the user's address based on earlier user input. The autocomplete content attribute can be used to hint to the user agent how to, or indeed whether to, provide such a feature.
</p>
<div class="p">
<p>
`autocomplete$a 属性は、
次のいずれかを纏うものとされる
— それに応じて,異なる仕方で利用される:
</p>
<dl class="def-list">
<dt>
`~autofill~anchor@
( `autofill anchor mantle^en )
</dt>
<dd>
この属性は、
`Hidden$st `状態にある$ `input$e 要素が有する場合には,これを纏う。
</dd>
<dd>
これを纏っている下では、
この属性は,所与の値の意味を述べる。
</dd>
<dd class="trans-note">【
所与の値とは、
要素の( `value^a 属性の値で与えられる)`値$feを指すと思われる。
すなわち、
この属性の値は,要素の`値$feの意味(種類)を指示する。
】</dd>
<dt>
`~autofill期待@
( `autofill expectation mantle^en )
</dt>
<dd>
この属性は、
`~autofill~anchor$を纏わないときは,これを纏う。
</dd>
<dd>
これを纏っている下では、
この属性は,何が利用者からの入力として期待されるかを述べる。
</dd>
<dd class="trans-note">【
すなわち、
この属性の値は,期待される値の種類(意味)を指示する。
】</dd>
</dl>
<p class="trans-note">【
この訳では、
“`mantle^en(マント)” は訳出しない。
“纏う” 自体にその意味が含まれるので。
】</p>
◎
There are two ways this attribute is used. When wearing the autofill expectation mantle, the autocomplete attribute describes what input is expected from users. When wearing the autofill anchor mantle, the autocomplete attribute describes the meaning of the given value.
◎
On an input element whose type attribute is in the Hidden state, the autocomplete attribute wears the autofill anchor mantle. In all other cases, it wears the autofill expectation mantle.
</div>
<div class="p">
<p>
`autocomplete$a 属性に指定する値は、
~OR↓ を満たす[
有順序な`~space等で分離された~token集合$
]でなければナラナイ:
</p>
<ul>
<li>
`~autofill期待$を纏っているときに限り
⇒
1 個の~tokenのみからなっていて,それは
文字列[
`off$v / `on$v
]に`~ASCII大小無視$で合致する
(`~autofill~anchor$を纏っている場合、
これらの~keywordは許容されない)
</li>
<li>
`~autofill詳細~token群$である
</li>
</ul>
◎
When wearing the autofill expectation mantle, the autocomplete attribute, if specified, must have a value that is an ordered set of space-separated tokens consisting of either a single token that is an ASCII case-insensitive match for the string "off", or a single token that is an ASCII case-insensitive match for the string "on", or autofill detail tokens.
◎
When wearing the autofill anchor mantle, the autocomplete attribute, if specified, must have a value that is an ordered set of space-separated tokens consisting of just autofill detail tokens (i.e. the "on" and "off" keywords are not allowed).
</div>
<p>
`~autofill詳細~token群@
は、
次に与える並びに合致する文字列である
— 以下において “(省略可能)” が付記されたものは、
省略できることを表す
(すなわち, 0 個または 1 個):
◎
Autofill detail tokens are the following, in the order given below:
</p>
<ol>
<li>
<p>
次を満たす~token(省略可能)
⇒
最初から 8 文字は`~ASCII大小無視$で文字列
`section-@v
に合致する
— 当の欄は、
ある名前の~groupに所属することを意味する。
◎
Optionally, a token whose first eight characters are an ASCII case-insensitive match for the string "section-", meaning that the field belongs to the named group.
</p>
<div class="example">
<p>
例えば~form内に 2 個の出荷先( `shipping$v )~addressがある場合、
次のように~mark-upすることもできる:
◎
For example, if there are two shipping addresses in the form, then they could be marked up as:
</p>
`autocomplete-1^xCode
</div>
</li>
<li>
<p>
次に挙げるいずれかの文字列に`~ASCII大小無視$で合致する~token(省略可能):
◎
Optionally, a token that is an ASCII case-insensitive match for one of the following strings:
</p>
<ul>
<li>
`shipping@v
— 当の欄は、
出荷先の[
~address/連絡先
]情報の一部であることを意味する。
◎
"shipping", meaning the field is part of the shipping address or contact information
</li>
<li>
`billing@v
— 当の欄は、
請求先の[
~address/連絡先
]情報の一部であることを意味する。
◎
"billing", meaning the field is part of the billing address or contact information
</li>
</ul>
</li>
<li>
<p>
次のいずれか:
◎
Either of the following two options:
</p>