-
Notifications
You must be signed in to change notification settings - Fork 12
/
documents.html
860 lines (663 loc) · 50.6 KB
/
documents.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
<!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<meta name="generator" content="ReSpec 32.2.1">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<style>
dfn{cursor:pointer}
.dfn-panel{position:absolute;z-index:35;min-width:300px;max-width:500px;padding:.5em .75em;margin-top:.6em;font-family:"Helvetica Neue",sans-serif;font-size:small;background:#fff;color:#000;box-shadow:0 1em 3em -.4em rgba(0,0,0,.3),0 0 1px 1px rgba(0,0,0,.05);border-radius:2px}
.dfn-panel:not(.docked)>.caret{position:absolute;top:-9px}
.dfn-panel:not(.docked)>.caret::after,.dfn-panel:not(.docked)>.caret::before{content:"";position:absolute;border:10px solid transparent;border-top:0;border-bottom:10px solid #fff;top:0}
.dfn-panel:not(.docked)>.caret::before{border-bottom:9px solid #a2a9b1}
.dfn-panel *{margin:0}
.dfn-panel b{display:block;color:#000;margin-top:.25em}
.dfn-panel ul a[href]{color:#333}
.dfn-panel>div{display:flex}
.dfn-panel a.self-link{font-weight:700;margin-right:auto}
.dfn-panel .marker{padding:.1em;margin-left:.5em;border-radius:.2em;text-align:center;white-space:nowrap;font-size:90%;color:#040b1c}
.dfn-panel .marker.dfn-exported{background:#d1edfd;box-shadow:0 0 0 .125em #1ca5f940}
.dfn-panel .marker.idl-block{background:#8ccbf2;box-shadow:0 0 0 .125em #0670b161}
.dfn-panel a:not(:hover){text-decoration:none!important;border-bottom:none!important}
.dfn-panel a[href]:hover{border-bottom-width:1px}
.dfn-panel ul{padding:0}
.dfn-panel li{margin-left:1em}
.dfn-panel.docked{position:fixed;left:.5em;top:unset;bottom:2em;margin:0 auto;max-width:calc(100vw - .75em * 2 - .5em - .2em * 2);max-height:30vh;overflow:auto}
</style>
<title>Documents published at W3C</title>
<style id="respec-mainstyle">
@keyframes pop{
0%{transform:scale(1,1)}
25%{transform:scale(1.25,1.25);opacity:.75}
100%{transform:scale(1,1)}
}
:is(h1,h2,h3,h4,h5,h6,a) abbr{border:none}
dfn{font-weight:700}
a.internalDFN{color:inherit;border-bottom:1px solid #99c;text-decoration:none}
a.externalDFN{color:inherit;border-bottom:1px dotted #ccc;text-decoration:none}
a.bibref{text-decoration:none}
.respec-offending-element:target{animation:pop .25s ease-in-out 0s 1}
.respec-offending-element,a[href].respec-offending-element{text-decoration:red wavy underline}
@supports not (text-decoration:red wavy underline){
.respec-offending-element:not(pre){display:inline-block}
.respec-offending-element{background:url(data:image/gif;base64,R0lGODdhBAADAPEAANv///8AAP///wAAACwAAAAABAADAEACBZQjmIAFADs=) bottom repeat-x}
}
#references :target{background:#eaf3ff;animation:pop .4s ease-in-out 0s 1}
cite .bibref{font-style:normal}
code{color:#c63501}
th code{color:inherit}
a[href].orcid{padding-left:4px;padding-right:4px}
a[href].orcid>svg{margin-bottom:-2px}
.toc a,.tof a{text-decoration:none}
a .figno,a .secno{color:#000}
ol.tof,ul.tof{list-style:none outside none}
.caption{margin-top:.5em;font-style:italic}
table.simple{border-spacing:0;border-collapse:collapse;border-bottom:3px solid #005a9c}
.simple th{background:#005a9c;color:#fff;padding:3px 5px;text-align:left}
.simple th a{color:#fff;padding:3px 5px;text-align:left}
.simple th[scope=row]{background:inherit;color:inherit;border-top:1px solid #ddd}
.simple td{padding:3px 10px;border-top:1px solid #ddd}
.simple tr:nth-child(even){background:#f0f6ff}
.section dd>p:first-child{margin-top:0}
.section dd>p:last-child{margin-bottom:0}
.section dd{margin-bottom:1em}
.section dl.attrs dd,.section dl.eldef dd{margin-bottom:0}
#issue-summary>ul{column-count:2}
#issue-summary li{list-style:none;display:inline-block}
details.respec-tests-details{margin-left:1em;display:inline-block;vertical-align:top}
details.respec-tests-details>*{padding-right:2em}
details.respec-tests-details[open]{z-index:999999;position:absolute;border:thin solid #cad3e2;border-radius:.3em;background-color:#fff;padding-bottom:.5em}
details.respec-tests-details[open]>summary{border-bottom:thin solid #cad3e2;padding-left:1em;margin-bottom:1em;line-height:2em}
details.respec-tests-details>ul{width:100%;margin-top:-.3em}
details.respec-tests-details>li{padding-left:1em}
.self-link:hover{opacity:1;text-decoration:none;background-color:transparent}
aside.example .marker>a.self-link{color:inherit}
.header-wrapper{display:flex;align-items:baseline}
:is(h2,h3,h4,h5,h6):not(#toc>h2,#abstract>h2,#sotd>h2,.head>h2){position:relative;left:-.5em}
:is(h2,h3,h4,h5,h6):not(#toch2)+a.self-link{color:inherit;order:-1;position:relative;left:-1.1em;font-size:1rem;opacity:.5}
:is(h2,h3,h4,h5,h6)+a.self-link::before{content:"§";text-decoration:none;color:var(--heading-text)}
:is(h2,h3)+a.self-link{top:-.2em}
:is(h4,h5,h6)+a.self-link::before{color:#000}
@media (max-width:767px){
dd{margin-left:0}
}
@media print{
.removeOnSave{display:none}
}
</style>
<meta name="description" content="This document lists the different classes of specifications published at W3C. With no formal standing,
it is intended to help the public understand the differences between the various documents.">
<style>
var{position:relative;cursor:pointer}
var[data-type]::after,var[data-type]::before{position:absolute;left:50%;top:-6px;opacity:0;transition:opacity .4s;pointer-events:none}
var[data-type]::before{content:"";transform:translateX(-50%);border-width:4px 6px 0 6px;border-style:solid;border-color:transparent;border-top-color:#000}
var[data-type]::after{content:attr(data-type);transform:translateX(-50%) translateY(-100%);background:#000;text-align:center;font-family:"Dank Mono","Fira Code",monospace;font-style:normal;padding:6px;border-radius:3px;color:#daca88;text-indent:0;font-weight:400}
var[data-type]:hover::after,var[data-type]:hover::before{opacity:1}
</style>
<script id="initialUserConfig" type="application/json">{
"specStatus": "base",
"github": "https://github.com/w3c/tr-pages/",
"editors": [
{
"name": "Philippe Le Hegaret",
"email": "plh@w3.org"
}
],
"publishISODate": "2022-07-29T00:00:00.000Z",
"generatedSubtitle": "29 July 2022"
}</script>
<link rel="stylesheet" href="https://www.w3.org/StyleSheets/TR/2021/base.css"></head>
<body class="h-entry informative"><div class="head">
<h1 id="title" class="title">Documents published at W3C</h1>
</div>
<section id="abstract" class="introductory"><h2>Abstract</h2>
<p>This document lists the different classes of specifications published at <abbr title="World Wide Web Consortium">W3C</abbr>. With no formal standing,
it is intended to help the public understand the differences between the various documents.
</p>
</section><nav id="toc"><h2 class="introductory" id="table-of-contents">Table of Contents</h2><ol class="toc"><li class="tocline"><a class="tocxref" href="#abstract">Abstract</a></li><li class="tocline"><a class="tocxref" href="#summary"><bdi class="secno">1. </bdi>Summary</a></li><li class="tocline"><a class="tocxref" href="#note-prestandards"><bdi class="secno">2. </bdi>Pre-standardization, proposals, notes</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#reports"><bdi class="secno">2.1 </bdi><abbr title="World Wide Web Consortium">W3C</abbr> Community Group Report or <abbr title="World Wide Web Consortium">W3C</abbr> Business Group Report</a></li><li class="tocline"><a class="tocxref" href="#SUBM"><bdi class="secno">2.2 </bdi><abbr title="World Wide Web Consortium">W3C</abbr> Member Submission</a></li><li class="tocline"><a class="tocxref" href="#ED"><bdi class="secno">2.3 </bdi>Editor's draft</a></li><li class="tocline"><a class="tocxref" href="#Others"><bdi class="secno">2.4 </bdi>Other documents</a></li><li class="tocline"><a class="tocxref" href="#notes"><bdi class="secno">2.5 </bdi><abbr title="World Wide Web Consortium">W3C</abbr> Note track</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#DNOTE"><bdi class="secno">2.5.1 </bdi>Draft Note</a></li><li class="tocline"><a class="tocxref" href="#NOTE"><bdi class="secno">2.5.2 </bdi>Group Note</a></li><li class="tocline"><a class="tocxref" href="#STMT"><bdi class="secno">2.5.3 </bdi>Statements</a></li></ol></li></ol></li><li class="tocline"><a class="tocxref" href="#registries"><bdi class="secno">3. </bdi><abbr title="World Wide Web Consortium">W3C</abbr> Registry Track</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#DRY"><bdi class="secno">3.1 </bdi>Draft Registry</a></li><li class="tocline"><a class="tocxref" href="#candidate-registry"><bdi class="secno">3.2 </bdi>Candidate Registry</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#CRYD"><bdi class="secno">3.2.1 </bdi>Candidate Registry Draft</a></li><li class="tocline"><a class="tocxref" href="#CRY"><bdi class="secno">3.2.2 </bdi>Candidate Registry Snapshot</a></li></ol></li><li class="tocline"><a class="tocxref" href="#RY"><bdi class="secno">3.3 </bdi>Registry</a></li></ol></li><li class="tocline"><a class="tocxref" href="#standardtrack"><bdi class="secno">4. </bdi><abbr title="World Wide Web Consortium">W3C</abbr> Standardization track</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#WD"><bdi class="secno">4.1 </bdi>Working Draft</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#FPWD"><bdi class="secno">4.1.1 </bdi>First Public Working Draft</a></li></ol></li><li class="tocline"><a class="tocxref" href="#candidate-recommendation"><bdi class="secno">4.2 </bdi>Candidate Recommendation</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#CRD"><bdi class="secno">4.2.1 </bdi>Candidate Recommendation Draft</a></li><li class="tocline"><a class="tocxref" href="#CR"><bdi class="secno">4.2.2 </bdi>Candidate Recommendation Snapshot</a></li></ol></li><li class="tocline"><a class="tocxref" href="#PR"><bdi class="secno">4.3 </bdi>Proposed Recommendation</a></li><li class="tocline"><a class="tocxref" href="#DISC"><bdi class="secno">4.4 </bdi>Discontinued Draft</a></li></ol></li><li class="tocline"><a class="tocxref" href="#standard"><bdi class="secno">5. </bdi>Standard</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#REC"><bdi class="secno">5.1 </bdi>Recommendation</a><ol class="toc"><li class="tocline"><a class="tocxref" href="#amendedrec"><bdi class="secno">5.1.1 </bdi>Amended Recommendation</a></li></ol></li><li class="tocline"><a class="tocxref" href="#SPSD"><bdi class="secno">5.2 </bdi>Superseded Recommendation</a></li><li class="tocline"><a class="tocxref" href="#OBS"><bdi class="secno">5.3 </bdi>Obsolete Recommendation</a></li><li class="tocline"><a class="tocxref" href="#RSCND"><bdi class="secno">5.4 </bdi>Rescinded Recommendation</a></li></ol></li><li class="tocline"><a class="tocxref" href="#references"><bdi class="secno">6. </bdi>References</a></li></ol></nav>
<section id="summary"><div class="header-wrapper"><h2 id="x1-summary"><bdi class="secno">1. </bdi>Summary</h2><a class="self-link" href="#summary" aria-label="Permalink for Section 1."></a></div>
<div class="overlarge"><table class="data">
<tbody><tr>
<th>Type</th>
<th>Standards Track</th>
<th>Patent Policy</th>
<th>Implementations</th>
<th>Endorsed by <abbr title="World Wide Web Consortium">W3C</abbr></th>
</tr>
<tr>
<th>CG/BG Report</th>
<td>No</td>
<td><a href="https://www.w3.org/community/about/process/cla/">Partial</a></td>
<td>Varies</td>
<td>No</td>
</tr>
<tr>
<th>Submission</th>
<td>No</td>
<td>See document</td>
<td>Varies</td>
<td>No</td>
</tr>
<tr>
<th>Editor's Draft</th>
<td>No</td>
<td>No</td>
<td>Varies</td>
<td>No</td>
</tr>
<tr>
<th>Draft Note</th>
<td>No</td>
<td>No</td>
<td>Varies</td>
<td>No</td>
</tr>
<tr>
<th>Note</th>
<td>No</td>
<td>No</td>
<td>Varies</td>
<td>No</td>
</tr>
<tr>
<th>Statement</th>
<td>No</td>
<td>No</td>
<td>N/A</td>
<td>Yes</td>
</tr>
<tr>
<th>Draft Registry</th>
<td>No</td>
<td>No</td>
<td>N/A</td>
<td>No</td>
</tr>
<tr>
<th>Candidate Registry</th>
<td>No</td>
<td>No</td>
<td>N/A</td>
<td>No</td>
</tr>
<tr>
<th>Registry</th>
<td>No</td>
<td>No</td>
<td>N/A</td>
<td>Yes</td>
</tr>
<tr>
<th>Discontinued Draft</th>
<td>No</td>
<td>Varies</td>
<td>Varies</td>
<td>No</td>
</tr>
<tr>
<th>Working Draft</th>
<td>Yes</td>
<td>Not yet</td>
<td>Varies</td>
<td>No</td>
</tr>
<tr>
<th>Candidate Recommendation</th>
<td>Yes</td>
<td>Varies</td>
<td>Varies</td>
<td>No</td>
</tr>
<tr>
<th>Proposed Recommendation</th>
<td>Yes</td>
<td>Yes</td>
<td>Varies</td>
<td>No</td>
</tr>
<tr>
<th>Recommendation</th>
<td>Yes</td>
<td>Yes</td>
<td>Varies</td>
<td>Yes</td>
</tr>
</tbody></table></div>
</section>
<section id="note-prestandards"><div class="header-wrapper"><h2 id="x2-pre-standardization-proposals-notes"><bdi class="secno">2. </bdi>Pre-standardization, proposals, notes</h2><a class="self-link" href="#note-prestandards" aria-label="Permalink for Section 2."></a></div>
<section id="reports"><div class="header-wrapper"><h3 id="x2-1-w3c-community-group-report-or-w3c-business-group-report"><bdi class="secno">2.1 </bdi><abbr title="World Wide Web Consortium">W3C</abbr> Community Group Report or <abbr title="World Wide Web Consortium">W3C</abbr> Business Group Report</h3><a class="self-link" href="#reports" aria-label="Permalink for Section 2.1"></a></div>
<p>A <abbr title="World Wide Web Consortium">W3C</abbr> Community or Business Group Report is a document produced by a <abbr title="World Wide Web Consortium">W3C</abbr>
Community or Business Group.</p>
<p>These reports follow the <abbr title="World Wide Web Consortium">W3C</abbr> Community and Business Group Process, designed to allow an easy way for
innovation by individuals, outside the formal <abbr title="World Wide Web Consortium">W3C</abbr> standards process. These reports have not received
formal review and are not endorsed by <abbr title="World Wide Web Consortium">W3C</abbr>.</p>
<p>These reports <em class="rfc2119">MUST NOT</em> be cited as <abbr title="World Wide Web Consortium">W3C</abbr> standards. They may or may not be brought to the <abbr title="World Wide Web Consortium">W3C</abbr> standardization track.
</p><p>Software <em class="rfc2119">MAY</em> implement these reports at their own risk. Implementation is neither discouraged
nor encouraged but can contribute to proposals for further action on the document.</p>
<p>These reports may be in Draft or Final form:
</p><ul>
<li>A Draft Report received patent licensing commitments from the participants for their contributions under the <abbr title="World Wide Web Consortium">W3C</abbr> Community
Licensing Agreement.</li>
<li>A Final Report receiving patent licensing commitments for the entire specification from the organizations who committed
to the <abbr title="World Wide Web Consortium">W3C</abbr> Community Final Specification Agreement.</li>
</ul>
<p>A <abbr title="World Wide Web Consortium">W3C</abbr> Community or Business Group report <em class="rfc2119">MAY</em> get picked up by a standards organization, including <abbr title="World Wide Web Consortium">W3C</abbr>, to incorporate into a future Standard.
</p></section>
<section id="SUBM"><div class="header-wrapper"><h3 id="x2-2-w3c-member-submission"><bdi class="secno">2.2 </bdi><abbr title="World Wide Web Consortium">W3C</abbr> Member Submission</h3><a class="self-link" href="#SUBM" aria-label="Permalink for Section 2.2"></a></div>
<span id="Member-SUBM"></span>
<p>A <abbr title="World Wide Web Consortium">W3C</abbr> Member Submission is a document produced by one or more <abbr title="World Wide Web Consortium">W3C</abbr> Members.</p>
<p>A submission is a document allowing <abbr title="World Wide Web Consortium">W3C</abbr> Members to propose technology or other ideas for consideration.
These submissions have not received formal review and are not endorsed <abbr title="World Wide Web Consortium">W3C</abbr>.</p>
<p>These submissions <em class="rfc2119">MUST NOT</em> be cited as <abbr title="World Wide Web Consortium">W3C</abbr> standards and may or may not become <abbr title="World Wide Web Consortium">W3C</abbr> standards.
</p><p>Software <em class="rfc2119">MAY</em> implement these reports at their own risk. Implementation is neither discouraged
nor encouraged but can contribute to proposals for further action on a specification.</p>
<p>The Member Submission process affords <abbr title="World Wide Web Consortium">W3C</abbr> Members a record of their contribution and gives them
a mechanism for disclosures (including IPR claims).
</p><p>A Member Submission <em class="rfc2119">MAY</em> get picked up by a standards organization, including <abbr title="World Wide Web Consortium">W3C</abbr>, to incorporate into a future Standard.
</p></section>
<section id="ED"><div class="header-wrapper"><h3 id="x2-3-editor-s-draft"><bdi class="secno">2.3 </bdi>Editor's draft</h3><a class="self-link" href="#ED" aria-label="Permalink for Section 2.3"></a></div>
<span id="editor-draft-finding"></span>
<p>An Editor's draft is a document produced by a <a href="https://www.w3.org/Consortium/Process/#w3c-group"><abbr title="World Wide Web Consortium">W3C</abbr> Group</a>.</p>
<p>An editor's draft is a document allowing the Group to iterate internally on its content for consideration.
Editor's Drafts are works in progress inside a <abbr title="World Wide Web Consortium">W3C</abbr> Group and are not required to have the consensus of the Group participants.
These drafts have not received formal review and are not endorsed <abbr title="World Wide Web Consortium">W3C</abbr>.</p>
<p>These drafts <em class="rfc2119">MUST NOT</em> be cited as <abbr title="World Wide Web Consortium">W3C</abbr> standards and may or may not become <abbr title="World Wide Web Consortium">W3C</abbr> standards.
</p><p>Software <em class="rfc2119">MAY</em> implement these drafts at their own risk. Implementation is neither discouraged
nor encouraged but can contribute to proposals for further action on a specification.</p>
<p>There are no patent protection covering the implementations of editor's drafts.</p>
<p>An Editor's Draft is a document that <abbr title="World Wide Web Consortium">W3C</abbr> has not yet published and the group responsible for the draft may publish eventually.</p>
</section>
<section id="Others"><div class="header-wrapper"><h3 id="x2-4-other-documents"><bdi class="secno">2.4 </bdi>Other documents</h3><a class="self-link" href="#Others" aria-label="Permalink for Section 2.4"></a></div>
<p>
The document listed in this section have no <abbr title="World Wide Web Consortium">W3C</abbr> standing, endorsement, or patent commitments. Those documents are not
part of <a href="https://www.w3.org/Consortium/Process/#w3c-group"><abbr title="World Wide Web Consortium">W3C</abbr> Group</a>.
</p>
<dl>
<dt id="unofficial">Unofficial Draft</dt>
<dd>
This type of documents are authored by individuals in the community.
</dd>
</dl>
</section>
<section id="notes"><div class="header-wrapper"><h3 id="x2-5-w3c-note-track"><bdi class="secno">2.5 </bdi><abbr title="World Wide Web Consortium">W3C</abbr> Note track</h3><a class="self-link" href="#notes" aria-label="Permalink for Section 2.5"></a></div>
<p><a href="https://www.w3.org/Consortium/Process/#recs-and-notes"><abbr title="World Wide Web Consortium">W3C</abbr>
Notes and <abbr title="World Wide Web Consortium">W3C</abbr> Statements</a> are published to either to document information
other than technical specifications, such as use cases motivating a
specification and best practices for its use.</p>
<section id="DNOTE"><div class="header-wrapper"><h4 id="x2-5-1-draft-note"><bdi class="secno">2.5.1 </bdi>Draft Note</h4><a class="self-link" href="#DNOTE" aria-label="Permalink for Section 2.5.1"></a></div>
<p>A <abbr title="World Wide Web Consortium">W3C</abbr> Draft Note is a document produced by a <abbr title="World Wide Web Consortium">W3C</abbr> Working Group, a <abbr title="World Wide Web Consortium">W3C</abbr> Interest Group, the Advisory Board (AB), or
the <abbr title="World Wide Web Consortium">W3C</abbr> Technical Architecture Group (TAG). A <abbr title="World Wide Web Consortium">W3C</abbr> Draft Note is a <a href="https://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> Technical Report</a>.
</p>
<p>Some Group Notes are developed through successive Draft Notes, with an expectation that they will become Group Notes eventually.</p>
<p>These draft notes have not received formal review and are not endorsed <abbr title="World Wide Web Consortium">W3C</abbr>.</p>
<p>These draft notes <em class="rfc2119">MUST NOT</em> be cited as <abbr title="World Wide Web Consortium">W3C</abbr> standards and may or may not become <abbr title="World Wide Web Consortium">W3C</abbr> Group Notes.
</p><p>Software <em class="rfc2119">MAY</em> implement these reports at their own risk. Implementation is neither discouraged nor encouraged
but can contribute to proposals for further action on a specification.</p>
<p>There are no patent protection covering the implementations of a Draft Note.</p>
</section>
<section id="NOTE"><div class="header-wrapper"><h4 id="x2-5-2-group-note"><bdi class="secno">2.5.2 </bdi>Group Note</h4><a class="self-link" href="#NOTE" aria-label="Permalink for Section 2.5.2"></a></div>
<p>A <abbr title="World Wide Web Consortium">W3C</abbr> Group Note is a document produced by a <abbr title="World Wide Web Consortium">W3C</abbr> Working Group, a <abbr title="World Wide Web Consortium">W3C</abbr> Interest Group, the Advisory Board (AB), or
the <abbr title="World Wide Web Consortium">W3C</abbr> Technical Architecture Group (TAG). A <abbr title="World Wide Web Consortium">W3C</abbr> Group Note is a <a href="https://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> Technical Report</a>.
</p>
<p>A Group Note is to provide a stable reference for a document that is not intended to be a formal standard.
These notes have not received formal review and are not endorsed <abbr title="World Wide Web Consortium">W3C</abbr>.</p>
<p>These notes <em class="rfc2119">MUST NOT</em> be cited as <abbr title="World Wide Web Consortium">W3C</abbr> standards and may or may not become <abbr title="World Wide Web Consortium">W3C</abbr> Statements.
</p><p>Software <em class="rfc2119">MAY</em> implement these reports at their own risk. Implementation is neither discouraged
nor encouraged but can contribute to proposals for further action on a specification.</p>
<p>There are no patent protection covering the implementations of the Group Note.</p>
</section>
<section id="STMT"><div class="header-wrapper"><h4 id="x2-5-3-statements"><bdi class="secno">2.5.3 </bdi>Statements</h4><a class="self-link" href="#STMT" aria-label="Permalink for Section 2.5.3"></a></div>
<p>A <abbr title="World Wide Web Consortium">W3C</abbr> Statement is a document produced by a <abbr title="World Wide Web Consortium">W3C</abbr> Working Group, a <abbr title="World Wide Web Consortium">W3C</abbr> Interest Group, the Advisory Board (AB), or
the <abbr title="World Wide Web Consortium">W3C</abbr> Technical Architecture Group (TAG). A <abbr title="World Wide Web Consortium">W3C</abbr> Statement is a <a href="https://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> Technical Report</a>.
</p>
<p>A Statement is to provide a stable reference for a document that is not intended to be a formal standard.
These statements have been formally reviewed and are endorsed <abbr title="World Wide Web Consortium">W3C</abbr>.</p>
<p>These statements <em class="rfc2119">MAY</em> be cited as <abbr title="World Wide Web Consortium">W3C</abbr> statements.</p>
<p><abbr title="World Wide Web Consortium">W3C</abbr> Statements should not contain implementable technology.</p>
<p>There are no patent protection covering the implementations of the <abbr title="World Wide Web Consortium">W3C</abbr> Statement.</p>
</section>
</section>
</section>
<section id="registries"><div class="header-wrapper"><h2 id="x3-w3c-registry-track"><bdi class="secno">3. </bdi><abbr title="World Wide Web Consortium">W3C</abbr> Registry Track</h2><a class="self-link" href="#registries" aria-label="Permalink for Section 3."></a></div>
<p><a href="https://www.w3.org/Consortium/Process/#recs-and-notes">Registries</a>
are published to document collections of values or other data.</p>
<section id="DRY"><div class="header-wrapper"><h3 id="x3-1-draft-registry"><bdi class="secno">3.1 </bdi>Draft Registry</h3><a class="self-link" href="#DRY" aria-label="Permalink for Section 3.1"></a></div>
<p>A <abbr title="World Wide Web Consortium">W3C</abbr> Draft Registry is a document produced by a <abbr title="World Wide Web Consortium">W3C</abbr> Working Group. A <abbr title="World Wide Web Consortium">W3C</abbr> Draft Registry is a <a href="https://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> Technical Report</a>.
</p>
<p>Some Registries are developed through successive Draft Registries, with an expectation that they will become Candidate Registries eventually.</p>
<p>These draft registries have not received formal review and are not endorsed <abbr title="World Wide Web Consortium">W3C</abbr>.</p>
<p>These draft registries <em class="rfc2119">MUST NOT</em> be cited as <abbr title="World Wide Web Consortium">W3C</abbr> Registries and may or may not become <abbr title="World Wide Web Consortium">W3C</abbr> Registries.
</p><p><abbr title="World Wide Web Consortium">W3C</abbr> Draft Registries should not contain implementable technology.</p>
<p>There are no patent protection covering the implementations of a Draft Registry.</p>
</section>
<section id="candidate-registry"><div class="header-wrapper"><h3 id="x3-2-candidate-registry"><bdi class="secno">3.2 </bdi>Candidate Registry</h3><a class="self-link" href="#candidate-registry" aria-label="Permalink for Section 3.2"></a></div>
<section id="CRYD"><div class="header-wrapper"><h4 id="x3-2-1-candidate-registry-draft"><bdi class="secno">3.2.1 </bdi>Candidate Registry Draft</h4><a class="self-link" href="#CRYD" aria-label="Permalink for Section 3.2.1"></a></div>
<p>A <abbr title="World Wide Web Consortium">W3C</abbr> Candidate Registry Draft is a document produced by a <abbr title="World Wide Web Consortium">W3C</abbr> Working Group. A <abbr title="World Wide Web Consortium">W3C</abbr> Candidate Registry Draft is a <a href="https://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> Technical Report</a>.
</p>
<p>A Candidate Registry Draft integrates changes from a previous Candidate Registry (Draft or Snapshot) to allow for review and for ease of reference to the integrated specification.</p>
<p>These changes have not received formal review.</p>
<p>These documents <em class="rfc2119">MUST NOT</em> be cited as <abbr title="World Wide Web Consortium">W3C</abbr> Registries and <em class="rfc2119">MAY</em> never become <abbr title="World Wide Web Consortium">W3C</abbr> Registries.
</p><p>There are no patent protection covering the implementations of a Candidate Registry Draft.</p>
</section>
<section id="CRY"><div class="header-wrapper"><h4 id="x3-2-2-candidate-registry-snapshot"><bdi class="secno">3.2.2 </bdi>Candidate Registry Snapshot</h4><a class="self-link" href="#CRY" aria-label="Permalink for Section 3.2.2"></a></div>
<p>A <abbr title="World Wide Web Consortium">W3C</abbr> Candidate Registry Snapshot is a document produced by a <abbr title="World Wide Web Consortium">W3C</abbr> Working Group. A <abbr title="World Wide Web Consortium">W3C</abbr> Candidate Registry Snapshot is a <a href="https://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> Technical Report</a>.
</p>
<p>A Candidate Registry Snapshot is published for a final review before endorsement by <abbr title="World Wide Web Consortium">W3C</abbr>.
</p><p>These documents <em class="rfc2119">MUST NOT</em> be cited as <abbr title="World Wide Web Consortium">W3C</abbr> Registries and may or may not become <abbr title="World Wide Web Consortium">W3C</abbr> Registries.
</p><p><abbr title="World Wide Web Consortium">W3C</abbr> Candidate Registries should not contain implementable technology.</p>
<p>There are no patent protection covering the implementations of a Candidate Registry Snapshot.</p>
</section>
</section>
<section id="RY"><div class="header-wrapper"><h3 id="x3-3-registry"><bdi class="secno">3.3 </bdi>Registry</h3><a class="self-link" href="#RY" aria-label="Permalink for Section 3.3"></a></div>
<p>A Registry is to provide a stable reference for a document whose purpose can include
non-collision,
non-duplication,
information,
submission, and
consensus. Each such specification <em class="rfc2119">SHOULD</em> document its own process for future registry definition updates.</p>
<p>A <abbr title="World Wide Web Consortium">W3C</abbr> Registry is a document produced by a <abbr title="World Wide Web Consortium">W3C</abbr> Working Group. A <abbr title="World Wide Web Consortium">W3C</abbr> Registry is a <a href="https://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> Technical Report</a>.
</p>
<p>These registries have been formally reviewed and are endorsed <abbr title="World Wide Web Consortium">W3C</abbr>.</p>
<p>These documents <em class="rfc2119">MAY</em> be cited as <abbr title="World Wide Web Consortium">W3C</abbr> Registries.</p>
<p><abbr title="World Wide Web Consortium">W3C</abbr> Registries should not contain implementable technology.</p>
<p>There are no patent protection covering the implementations of the <abbr title="World Wide Web Consortium">W3C</abbr> Registry.</p>
</section>
</section>
<section id="standardtrack"><div class="header-wrapper"><h2 id="x4-w3c-standardization-track"><bdi class="secno">4. </bdi><abbr title="World Wide Web Consortium">W3C</abbr> Standardization track</h2><a class="self-link" href="#standardtrack" aria-label="Permalink for Section 4."></a></div>
<p>The classes of specifications listed in this section have received different levels of review by <abbr title="World Wide Web Consortium">W3C</abbr> Members, by software developers, and by <a href="https://www.w3.org/Consortium/Process/#w3c-group"><abbr title="World Wide Web Consortium">W3C</abbr> Groups</a> and interested parties according to <abbr title="World Wide Web Consortium">W3C</abbr> Process. These specifications are intended to eventually receive endorsement by <abbr title="World Wide Web Consortium">W3C</abbr>.
</p><p><a href="https://www.w3.org/Consortium/Process/#recs-and-notes">Technical
reports on the <abbr title="World Wide Web Consortium">W3C</abbr> Recommendation Track</a> are developed in order to ultimately
produce normative specifications or guidelines as standards for the Web.</p>
<section id="WD"><div class="header-wrapper"><h3 id="x4-1-working-draft"><bdi class="secno">4.1 </bdi>Working Draft</h3><a class="self-link" href="#WD" aria-label="Permalink for Section 4.1"></a></div>
<p>A Working Draft is a document that <abbr title="World Wide Web Consortium">W3C</abbr> has published for review and for simple historical reference. A Working Draft is a work in progress and the content is not required to have full consensus of the Group participants, though the Group must have consensus to publish the draft. Per the <abbr title="World Wide Web Consortium">W3C</abbr> Patent Policy of September 2020, the first publication of the specification as a Working Draft marks the commencement of formal IPR licensing commitments.
</p><p>A <abbr title="World Wide Web Consortium">W3C</abbr> Working Draft is a document produced by a <abbr title="World Wide Web Consortium">W3C</abbr> Working Group. A <abbr title="World Wide Web Consortium">W3C</abbr> Working Draft is a <a href="https://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> Technical Report</a>.
</p>
<p><abbr title="World Wide Web Consortium">W3C</abbr> standard-track documents are developed through successive Working Drafts, with an expectation that they will become Canidate Recommendations eventually.</p>
<p>These working drafts have not received formal review and are not endorsed <abbr title="World Wide Web Consortium">W3C</abbr>.</p>
<p>These draft notes <em class="rfc2119">MUST NOT</em> be cited as <abbr title="World Wide Web Consortium">W3C</abbr> standards and may or may not become <abbr title="World Wide Web Consortium">W3C</abbr> standards.
</p><p>Software <em class="rfc2119">MAY</em> implement these specifications at their own risk but implementation feedback is encouraged.
</p><p>There are no patent protection covering the implementations of a <abbr title="World Wide Web Consortium">W3C</abbr> Working Draft.</p>
<section id="FPWD"><div class="header-wrapper"><h4 id="x4-1-1-first-public-working-draft"><bdi class="secno">4.1.1 </bdi>First Public Working Draft</h4><a class="self-link" href="#FPWD" aria-label="Permalink for Section 4.1.1"></a></div>
<p>A First Public Working Draft is a document that <abbr title="World Wide Web Consortium">W3C</abbr> has published for review and for simple historical reference. It is
the first publication of a <a href="#WD">Working Draft</a>.</p>
</section>
</section>
<section id="candidate-recommendation"><div class="header-wrapper"><h3 id="x4-2-candidate-recommendation"><bdi class="secno">4.2 </bdi>Candidate Recommendation</h3><a class="self-link" href="#candidate-recommendation" aria-label="Permalink for Section 4.2"></a></div>
<section id="CRD"><div class="header-wrapper"><h4 id="x4-2-1-candidate-recommendation-draft"><bdi class="secno">4.2.1 </bdi>Candidate Recommendation Draft</h4><a class="self-link" href="#CRD" aria-label="Permalink for Section 4.2.1"></a></div>
<p>A <abbr title="World Wide Web Consortium">W3C</abbr> Candidate Recommendation Draft is a document produced by a <abbr title="World Wide Web Consortium">W3C</abbr> Working Group. A <abbr title="World Wide Web Consortium">W3C</abbr> Candidate Recommendation Draft is a <a href="https://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> Technical Report</a>.
</p>
<p>A Candidate Recommendation Draft integrates changes from a previous Candidate Recommendation (Draft or Snapshot) to allow for review and for ease of reference to the integrated specification.
</p><p>These changes have not received formal review.</p>
<p>These documents <em class="rfc2119">MUST NOT</em> be cited as <abbr title="World Wide Web Consortium">W3C</abbr> standards and may or may not become <abbr title="World Wide Web Consortium">W3C</abbr> standards.
</p><p>Software <em class="rfc2119">MAY</em> implement these specifications at their own risk but implementation feedback is encouraged.</p>
<p>There are no patent protection covering the implementations of a Candidate Recommendation Draft.</p>
</section>
<section id="CR"><div class="header-wrapper"><h4 id="x4-2-2-candidate-recommendation-snapshot"><bdi class="secno">4.2.2 </bdi>Candidate Recommendation Snapshot</h4><a class="self-link" href="#CR" aria-label="Permalink for Section 4.2.2"></a></div>
<span id="CRS"></span>
<p>A <abbr title="World Wide Web Consortium">W3C</abbr> Candidate Recommendation Snapshot is a document produced by a <abbr title="World Wide Web Consortium">W3C</abbr> Working Group.
A <abbr title="World Wide Web Consortium">W3C</abbr> Candidate Recommendation Snapshot is a <a href="https://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> Technical Report</a>.
</p>
<p>A Candidate Recommendation Snapshot is a document that satisfies the technical requirements established in the Group charter or in subsequent requirements documents, has consensus of the Group participants, has gotten public review, and has received formal review from other <abbr title="World Wide Web Consortium">W3C</abbr> Groups. Such specification is intended to gather final feedback from implementers.
</p><p>A Candidate Recommendation Snapshot has been reviewed by <abbr title="World Wide Web Consortium">W3C</abbr> Groups and interested parties.</p>
<p>These documents <em class="rfc2119">MUST NOT</em> be cited as <abbr title="World Wide Web Consortium">W3C</abbr> standards and may or may not become <abbr title="World Wide Web Consortium">W3C</abbr> standards.
</p><p>Software <em class="rfc2119">MAY</em> implement these specifications and implementation feedback is encouraged.
</p><p>A Candidate Recommendation Snapshot has commitments from Working Group members to
<a href="https://www.w3.org/Consortium/Patent-Policy/#sec-Requirements">royalty-free licensing</a>
for implementations.</p>
</section>
</section>
<section id="PR"><div class="header-wrapper"><h3 id="x4-3-proposed-recommendation"><bdi class="secno">4.3 </bdi>Proposed Recommendation</h3><a class="self-link" href="#PR" aria-label="Permalink for Section 4.3"></a></div>
<p>A Proposed Recommendation is a specification that has been accepted by <abbr title="World Wide Web Consortium">W3C</abbr> as of sufficient quality to become a Standard. Such specification has been reviewed by software developers, as well as by <abbr title="World Wide Web Consortium">W3C</abbr> Groups and other interested parties. It is published for a final review by <abbr title="World Wide Web Consortium">W3C</abbr> Members before approval by the <abbr title="World Wide Web Consortium">W3C</abbr> Director.
</p></section>
<section id="DISC"><div class="header-wrapper"><h3 id="x4-4-discontinued-draft"><bdi class="secno">4.4 </bdi>Discontinued Draft</h3><a class="self-link" href="#DISC" aria-label="Permalink for Section 4.4"></a></div>
<p>A Discontinued Draft is a specification that is no
longer intended to advance or to be maintained. It was never and will
not be a Recommendation.
</p></section>
</section>
<section id="standard"><div class="header-wrapper"><h2 id="x5-standard"><bdi class="secno">5. </bdi>Standard</h2><a class="self-link" href="#standard" aria-label="Permalink for Section 5."></a></div>
<p>The classes of specifications listed in this section have been formally reviewed by <abbr title="World Wide Web Consortium">W3C</abbr> Members, by software developers, and by <a href="https://www.w3.org/Consortium/Process/#w3c-group"><abbr title="World Wide Web Consortium">W3C</abbr> Groups</a> and interested parties. These specifications are endorsed by the <abbr title="World Wide Web Consortium">W3C</abbr> Director and <abbr title="World Wide Web Consortium">W3C</abbr> Membership (except if Rescinded).
</p><section id="REC"><div class="header-wrapper"><h3 id="x5-1-recommendation"><bdi class="secno">5.1 </bdi>Recommendation</h3><a class="self-link" href="#REC" aria-label="Permalink for Section 5.1"></a></div>
<p>A <abbr title="World Wide Web Consortium">W3C</abbr> Recommendation is a specification or set of guidelines or requirements that, after extensive consensus-building,
has received the endorsement of <abbr title="World Wide Web Consortium">W3C</abbr>. A <abbr title="World Wide Web Consortium">W3C</abbr> Recommendation is a <a href="https://www.w3.org/TR/"><abbr title="World Wide Web Consortium">W3C</abbr> Technical Report</a>.</p>
<p><abbr title="World Wide Web Consortium">W3C</abbr> Recommendations have been formally reviewed by <abbr title="World Wide Web Consortium">W3C</abbr> Members, by software developers, and by <abbr title="World Wide Web Consortium">W3C</abbr> groups and interested parties.
</p><p><abbr title="World Wide Web Consortium">W3C</abbr> recommends the wide deployment of a Recommendation as a standard for the Web.
These documents <em class="rfc2119">MAY</em> be cited as <abbr title="World Wide Web Consortium">W3C</abbr> standards.
</p><p>
Some <abbr title="World Wide Web Consortium">W3C</abbr> Recommendation <em class="rfc2119">MAY</em> be continuously revised while others are maintained by creating a new version. Upcoming changes
are listed as candidate and proposed amendments in <abbr title="World Wide Web Consortium">W3C</abbr> Recommendations. Feedback on those amendments is encouraged.
</p><p>Software <em class="rfc2119">SHOULD</em> implement these specifications.
</p><p>A <abbr title="World Wide Web Consortium">W3C</abbr> Recommendation has commitments from Working Group members to
<a href="https://www.w3.org/Consortium/Patent-Policy/#sec-Requirements">royalty-free licensing</a>
for implementations.</p>
<section id="amendedrec"><div class="header-wrapper"><h4 id="x5-1-1-amended-recommendation"><bdi class="secno">5.1.1 </bdi>Amended Recommendation</h4><a class="self-link" href="#amendedrec" aria-label="Permalink for Section 5.1.1"></a></div>
<p>An Amended Recommendation is a specification that updates a previous Recommendation to include substantive changes that do not add new features. An Amended Recommendation is produced by the <abbr title="World Wide Web Consortium">W3C</abbr> Staff to update a Recommendation (e.g. to incorporate errata) when no <abbr title="World Wide Web Consortium">W3C</abbr> Working Group has a charter with a scope that covers the content of the Recommendation.
</p><p>These documents <em class="rfc2119">MAY</em> be cited as <abbr title="World Wide Web Consortium">W3C</abbr> standards.</p>
</section>
</section>
<section id="SPSD"><div class="header-wrapper"><h3 id="x5-2-superseded-recommendation"><bdi class="secno">5.2 </bdi>Superseded Recommendation</h3><a class="self-link" href="#SPSD" aria-label="Permalink for Section 5.2"></a></div>
<p>A Superseded Recommendation is a specification that has been replaced by a newer version that <abbr title="World Wide Web Consortium">W3C</abbr> recommends for new adoption.
</p><p>Software <em class="rfc2119">SHOULD</em> implement the newer versions.
</p></section>
<section id="OBS"><div class="header-wrapper"><h3 id="x5-3-obsolete-recommendation"><bdi class="secno">5.3 </bdi>Obsolete Recommendation</h3><a class="self-link" href="#OBS" aria-label="Permalink for Section 5.3"></a></div>
<p>An Obsolete Recommendation is a specification that <abbr title="World Wide Web Consortium">W3C</abbr> has determined lacks sufficient market relevance to continue recommending it for implementation.
</p><p>Software <em class="rfc2119">MAY</em> have implemented these specifications.
</p></section>
<section id="RSCND"><div class="header-wrapper"><h3 id="x5-4-rescinded-recommendation"><bdi class="secno">5.4 </bdi>Rescinded Recommendation</h3><a class="self-link" href="#RSCND" aria-label="Permalink for Section 5.4"></a></div>
<p>A Rescinded Recommendation is an entire Recommendation that <abbr title="World Wide Web Consortium">W3C</abbr> no longer endorses, and believes there is no reasonable prospect of it being restored to Recommendation status.
</p><p>Software <em class="rfc2119">SHOULD NOT</em> implement these specifications.
</p></section>
</section>
<section id="references"><div class="header-wrapper"><h2 id="x6-references"><bdi class="secno">6. </bdi>References</h2><a class="self-link" href="#references" aria-label="Permalink for Section 6."></a></div>
<dl>
<dt id="biblio-process">[PROCESS]</dt>
<dd><a href="https://www.w3.org/Consortium/Process/">World Wide Web Consortium Process Document</a>. URL: <a href="https://www.w3.org/Consortium/Process/">https://www.w3.org/Consortium/Process/</a></dd>
<dt id="biblio-patent-policy">[PATENT-POLICY]</dt>
<dd><a href="https://www.w3.org/Consortium/Patent-Policy/"><abbr title="World Wide Web Consortium">W3C</abbr> Patent Policy</a>. URL: <a href="https://www.w3.org/Consortium/Patent-Policy/">https://www.w3.org/Consortium/Patent-Policy/</a></dd>
<dt>[BCG-PROCESS]</dt>
<dd><a href="https://www.w3.org/community/about/process/">Community and Business Group Process</a>. URL: <a href="https://www.w3.org/community/about/process/">https://www.w3.org/community/about/process/</a></dd>
</dl>
</section>
<hr>
<address><a href="mailto:plh@w3.org">plh@w3.org</a></address>
Comments and issues are welcome in the <a href="https://github.com/w3c/tr-pages/">GitHub repo</a>.
<p role="navigation" id="back-to-top">
<a href="#title"><abbr title="Back to Top">↑</abbr></a>
</p><script id="respec-dfn-panel">(() => {
// @ts-check
if (document.respec) {
document.respec.ready.then(setupPanel);
} else {
setupPanel();
}
function setupPanel() {
const listener = panelListener();
document.body.addEventListener("keydown", listener);
document.body.addEventListener("click", listener);
}
function panelListener() {
/** @type {HTMLElement} */
let panel = null;
return event => {
const { target, type } = event;
if (!(target instanceof HTMLElement)) return;
// For keys, we only care about Enter key to activate the panel
// otherwise it's activated via a click.
if (type === "keydown" && event.key !== "Enter") return;
const action = deriveAction(event);
switch (action) {
case "show": {
hidePanel(panel);
/** @type {HTMLElement} */
const dfn = target.closest("dfn, .index-term");
panel = document.getElementById(`dfn-panel-for-${dfn.id}`);
const coords = deriveCoordinates(event);
displayPanel(dfn, panel, coords);
break;
}
case "dock": {
panel.style.left = null;
panel.style.top = null;
panel.classList.add("docked");
break;
}
case "hide": {
hidePanel(panel);
panel = null;
break;
}
}
};
}
/**
* @param {MouseEvent|KeyboardEvent} event
*/
function deriveCoordinates(event) {
const target = /** @type HTMLElement */ (event.target);
// We prevent synthetic AT clicks from putting
// the dialog in a weird place. The AT events sometimes
// lack coordinates, so they have clientX/Y = 0
const rect = target.getBoundingClientRect();
if (
event instanceof MouseEvent &&
event.clientX >= rect.left &&
event.clientY >= rect.top
) {
// The event probably happened inside the bounding rect...
return { x: event.clientX, y: event.clientY };
}
// Offset to the middle of the element
const x = rect.x + rect.width / 2;
// Placed at the bottom of the element
const y = rect.y + rect.height;
return { x, y };
}
/**
* @param {Event} event
*/
function deriveAction(event) {
const target = /** @type {HTMLElement} */ (event.target);
const hitALink = !!target.closest("a");
if (target.closest("dfn:not([data-cite]), .index-term")) {
return hitALink ? "none" : "show";
}
if (target.closest(".dfn-panel")) {
if (hitALink) {
return target.classList.contains("self-link") ? "hide" : "dock";
}
const panel = target.closest(".dfn-panel");
return panel.classList.contains("docked") ? "hide" : "none";
}
if (document.querySelector(".dfn-panel:not([hidden])")) {
return "hide";
}
return "none";
}
/**
* @param {HTMLElement} dfn
* @param {HTMLElement} panel
* @param {{ x: number, y: number }} clickPosition
*/
function displayPanel(dfn, panel, { x, y }) {
panel.hidden = false;
// distance (px) between edge of panel and the pointing triangle (caret)
const MARGIN = 20;
const dfnRects = dfn.getClientRects();
// Find the `top` offset when the `dfn` can be spread across multiple lines
let closestTop = 0;
let minDiff = Infinity;
for (const rect of dfnRects) {
const { top, bottom } = rect;
const diffFromClickY = Math.abs((top + bottom) / 2 - y);
if (diffFromClickY < minDiff) {
minDiff = diffFromClickY;
closestTop = top;
}
}
const top = window.scrollY + closestTop + dfnRects[0].height;
const left = x - MARGIN;
panel.style.left = `${left}px`;
panel.style.top = `${top}px`;
// Find if the panel is flowing out of the window
const panelRect = panel.getBoundingClientRect();
const SCREEN_WIDTH = Math.min(window.innerWidth, window.screen.width);
if (panelRect.right > SCREEN_WIDTH) {
const newLeft = Math.max(MARGIN, x + MARGIN - panelRect.width);
const newCaretOffset = left - newLeft;
panel.style.left = `${newLeft}px`;
/** @type {HTMLElement} */
const caret = panel.querySelector(".caret");
caret.style.left = `${newCaretOffset}px`;
}
// As it's a dialog, we trap focus.
// TODO: when <dialog> becomes a implemented, we should really
// use that.
trapFocus(panel, dfn);
}
/**
* @param {HTMLElement} panel
* @param {HTMLElement} dfn
* @returns
*/
function trapFocus(panel, dfn) {
/** @type NodeListOf<HTMLAnchorElement> elements */
const anchors = panel.querySelectorAll("a[href]");
// No need to trap focus
if (!anchors.length) return;
// Move focus to first anchor element
const first = anchors.item(0);
first.focus();
const trapListener = createTrapListener(anchors, panel, dfn);
panel.addEventListener("keydown", trapListener);
// Hiding the panel releases the trap
const mo = new MutationObserver(records => {
const [record] = records;
const target = /** @type HTMLElement */ (record.target);
if (target.hidden) {
panel.removeEventListener("keydown", trapListener);
mo.disconnect();
}
});
mo.observe(panel, { attributes: true, attributeFilter: ["hidden"] });
}
/**
*
* @param {NodeListOf<HTMLAnchorElement>} anchors
* @param {HTMLElement} panel
* @param {HTMLElement} dfn
* @returns
*/
function createTrapListener(anchors, panel, dfn) {
const lastIndex = anchors.length - 1;
let currentIndex = 0;
return event => {
switch (event.key) {
// Hitting "Tab" traps us in a nice loop around elements.
case "Tab": {
event.preventDefault();
currentIndex += event.shiftKey ? -1 : +1;
if (currentIndex < 0) {
currentIndex = lastIndex;
} else if (currentIndex > lastIndex) {
currentIndex = 0;
}
anchors.item(currentIndex).focus();
break;
}
// Hitting "Enter" on an anchor releases the trap.
case "Enter":
hidePanel(panel);
break;
// Hitting "Escape" returns focus to dfn.
case "Escape":
hidePanel(panel);
dfn.focus();
return;
}
};
}
/** @param {HTMLElement} panel */
function hidePanel(panel) {
if (!panel) return;
panel.hidden = true;
panel.classList.remove("docked");
}
})()</script><script src="https://www.w3.org/scripts/TR/2021/fixup.js"></script></body></html>