index.html
272 KB
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>HTML 5 Publication Notes</title>
<meta content="$Id: Overview.html,v 1.4 2008/06/11 00:58:09 mike Exp $" name="revision" />
<link href="style.css" type="text/css" rel="stylesheet" />
<link rel="stylesheet" href="http://www.w3.org/StyleSheets/TR/W3C-WG-NOTE" type="text/css" />
</head>
<body><div class="head"><div><a href="http://www.w3.org/"><img src="http://www.w3.org/Icons/w3c_home" width="72" height="48" alt="W3C" /></a></div><h1>HTML 5 Publication Notes</h1><h2>
W3C
Working Group Note <em>10 June 2008</em></h2><dl><dt>This Version:</dt><dd><a href="http://www.w3.org/TR/2008/NOTE-html5-pubnotes-20080610/">http://www.w3.org/TR/2008/NOTE-html5-pubnotes-20080610/</a></dd><dt>Latest Version:</dt><dd><a href="http://www.w3.org/TR/html5-pubnotes/">http://www.w3.org/TR/html5-pubnotes/</a></dd><dt>Editor:</dt><dd><a href="http://people.w3.org/mike">Michael(tm) Smith</a>, W3C <<a href="mailto:mike@w3.org">mike@w3.org</a>></dd></dl><p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2008 <a href="http://www.w3.org/"><acronym title="World Wide Web Consortium">W3C</acronym></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><acronym title="Massachusetts Institute of Technology">MIT</acronym></a>, <a href="http://www.ercim.org/"><acronym title="European Research Consortium for Informatics and Mathematics">ERCIM</acronym></a>, <a href="http://www.keio.ac.jp/">Keio</a>), All Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p></div><hr />
<div style="text-align: center" id="tocjump"><a href="#toc">skip to Table of Contents</a></div>
<div id="abstract">
<h2>Abstract</h2>
<p>This document provides supplemental information on the
10 June 2008 working draft of the <a href="http://www.w3.org/TR/2008/WD-html5-20080610/">HTML 5
specification</a> <a href="#html5">[HTML5]</a>. It
primarily documents changes that
have been made to the HTML 5 draft specification since the
time of its 22 January 2008 publication as a First Public
Working Draft <a href="#html5fpwd">[HTML5FPWD]</a>.</p>
</div>
<div id="status">
<h2>Status of this Document</h2>
<p><em>
This section describes the status of this document at the time of
its publication. Other documents may supersede this document. A list
of current W3C publications and the latest revision of this technical
report can be found in the <a href="http://www.w3.org/TR/">W3C technical
reports index</a> at http://www.w3.org/TR/.
</em></p><p>
Please send comments about this document to
<a href="mailto:public-html-comments@w3.org">public-html-comments@w3.org</a>
(<a href="http://lists.w3.org/Archives/Public/public-html-comments">archived</a>).
</p><p>
This document was produced by the <a href="http://www.w3.org/html/wg">HTML Working Group</a>,
part of the <a href="http://www.w3.org/MarkUp/Activity.html">HTML Activity</a>
in the W3C <a href="http://www.w3.org/Interaction/">Interaction Domain</a>.
You can find the source for the current version of this document in the
<a href="http://dev.w3.org/html5/pubnotes/Overview.src.html">W3C source repository</a>.
</p><p>
Publication as a Working Group Note does not imply endorsement by the
W3C Membership. This is a draft document and may be updated, replaced
or obsoleted by other documents at any time. It is inappropriate to cite
this document as other than work in progress.
</p><p>
This document was produced by a group operating under the
<a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5 February
2004 W3C Patent Policy</a>. W3C maintains a
<a href="http://www.w3.org/2004/01/pp-impl/40318/status">public list of
any patent disclosures</a> made in connection with the deliverables of
the group; that page also includes instructions for disclosing a patent.
An individual who has actual knowledge of a patent which the individual
believes contains
<a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#def-essential">Essential
Claim(s)</a> must disclose the information in accordance with
<a href="http://www.w3.org/Consortium/Patent-Policy-20040205/#sec-Disclosure">section
6 of the W3C Patent Policy</a>.
</p></div>
<div id="toc">
<h2>Table of Contents</h2>
<ul><li id="summary-toc"><a href="#summary">Summary: High-level list of selected changes</a></li><li id="fpwd-toc"><a href="#fpwd">Changes since the First Public Working Draft</a><ul><li id="introduction-toc"><a href="#introduction">Section 1, Introduction</a><ul><li id="structure-toc"><a href="#structure">Section 1.2, Structure of this specification</a></li><li id="conformance-toc"><a href="#conformance">Section 1.3, Conformance requirements</a></li><li id="terminology-toc"><a href="#terminology">Section 1.4, Terminology</a></li></ul></li><li id="dom-toc"><a href="#dom">Section 2, The Document Object Model</a><ul><li id="documents-toc"><a href="#documents">Section 2.1, Documents</a></li><li id="elements-toc"><a href="#elements">Section 2.2, Elements</a></li><li id="common0-toc"><a href="#common0">Section 2.3, Common DOM interfaces</a></li><li id="dom-tree-toc"><a href="#dom-tree">Section 2.4, DOM tree accessors</a></li><li id="dynamic-toc"><a href="#dynamic">Section 2.5, Dynamic markup insertion</a></li><li id="apis-in-toc"><a href="#apis-in">Section 2.6, APIs in HTML documents</a></li></ul></li><li id="semantics-toc"><a href="#semantics">Section 3, Semantics and structure of HTML elements</a><ul><li id="common1-toc"><a href="#common1">Section 3.2, Common microsyntaxes</a></li><li id="documents0-toc"><a href="#documents0">Section 3.3, Documents and document fragments</a></li><li id="global-toc"><a href="#global">Section 3.4, Global attributes</a></li><li id="interaction-toc"><a href="#interaction">Section 3.5, Interaction</a></li><li id="the-root-toc"><a href="#the-root">Section 3.6, The root element</a></li><li id="document-toc"><a href="#document">Section 3.7, Document metadata</a><ul><li id="the-base-toc"><a href="#the-base">Section 3.7.3, The base element</a></li><li id="the-link-toc"><a href="#the-link">Section 3.7.4, The link element</a></li><li id="meta-toc"><a href="#meta">Section 3.7.5, The meta element</a></li><li id="the-style0-toc"><a href="#the-style0">Section 3.7.6, The style element</a></li></ul></li><li id="sections-toc"><a href="#sections">Section 3.8, Sections</a><ul><li id="the-body-toc"><a href="#the-body">Section 3.8.1, The body element</a></li><li id="the-nav-toc"><a href="#the-nav">Section 3.8.3, The nav element</a></li><li id="blockquoteold-toc"><a href="#blockquoteold">Section 3.8.5 [now 3.9.6], The blockquote element</a></li><li id="the-aside-toc"><a href="#the-aside">Section 3.8.6 [now 3.8.5], The aside element</a></li><li id="the-header-toc"><a href="#the-header">Section 3.8.8 [now 3.8.7], The header element</a></li><li id="the-footer-toc"><a href="#the-footer">Section 3.8.9 [now 3.8.8], The footer element</a></li><li id="the-address-toc"><a href="#the-address">Section 3.8.10 [now 3.8.9], The address element</a></li><li id="headings-toc"><a href="#headings">Section 3.8.11 [now 3.8.10], Headings and sections</a></li></ul></li><li id="grouping-toc"><a href="#grouping">Section 3.9, Grouping content</a><ul><li id="the-pre-toc"><a href="#the-pre">Section 3.9.4 [was 3.10.1], The pre element</a></li><li id="the-blockquote-toc"><a href="#the-blockquote">Section 3.9.6 [was 3.8.5], The blockquote element</a></li><li id="the-ol-toc"><a href="#the-ol">Section 3.9.7 [was 3.11.1], The ol element</a></li><li id="the-ul-toc"><a href="#the-ul">Section 3.9.8 [was 3.11.2], The ul element</a></li><li id="the-li-toc"><a href="#the-li">Section 3.9.9 [was 3.11.3], The li element</a></li><li id="the-dl-toc"><a href="#the-dl">Section 3.9.10 [was 3.11.4], The dl element</a></li><li id="the-dt-toc"><a href="#the-dt">Section 3.9.11 [was 3.11.5], The dt element</a></li></ul></li><li id="text-level-toc"><a href="#text-level">Section 3.10 [was 3.12], Text-level semantics</a><ul><li id="the-a-toc"><a href="#the-a">Section 3.10.1, The a element</a></li><li id="the-q-toc"><a href="#the-q">Section 3.10.2, The q element</a></li><li id="the-cite-toc"><a href="#the-cite">Section 3.10.3, The cite element</a></li><li id="the-mark-toc"><a href="#the-mark">Section 3.10.7, The mark element [was: the m element]</a></li><li id="the-dfn-toc"><a href="#the-dfn">Section 3.10.8, The dfn element</a></li><li id="the-abbr-toc"><a href="#the-abbr">Section 3.10.9, The abbr element</a></li><li id="the-progress-toc"><a href="#the-progress">Section 3.10.11, The progress element</a></li><li id="the-meter-toc"><a href="#the-meter">Section 3.10.12, The meter element</a></li><li id="the-code-toc"><a href="#the-code">Section 3.10.13, The code element</a></li><li id="the-var-toc"><a href="#the-var">Section 3.10.14, The var element</a></li><li id="the-samp-toc"><a href="#the-samp">Section 3.10.15, The samp element</a></li><li id="the-sub-toc"><a href="#the-sub">Section 3.10.17, The sub and sup elements</a></li><li id="the-span-toc"><a href="#the-span">Section 3.10.18, The span element</a></li><li id="the-i-toc"><a href="#the-i">Section 3.10.19, The i element</a></li><li id="the-ruby-toc"><a href="#the-ruby">Section 3.10.22 [new], The ruby element</a></li><li id="the-rt-toc"><a href="#the-rt">Section 3.10.23 [new], The rt element</a></li><li id="the-rp-toc"><a href="#the-rp">Section 3.10.24 [new], The rp element</a></li><li id="usage-toc"><a href="#usage">Section 3.10.25 [new], Usage summary</a></li><li id="footnotes-toc"><a href="#footnotes">Section 3.10.26 [new], Footnotes</a></li></ul></li><li id="edits-toc"><a href="#edits">Section 3.11 [was 3.13], Edits</a><ul><li id="edits0-toc"><a href="#edits0">Section 3.11.4 [new], Edits and paragraphs</a></li><li id="edits1-toc"><a href="#edits1">Section 3.11.5 [new], Edits and lists</a></li></ul></li><li id="embedded0-toc"><a href="#embedded0">Section 3.12 [was 3.14], Embedded content</a><ul><li id="the-figure-toc"><a href="#the-figure">Section 3.12.1, The figure element</a></li><li id="the-img-toc"><a href="#the-img">Section 3.12.2, The img element</a></li><li id="the-iframe-toc"><a href="#the-iframe">Section 3.12.3, The iframe element</a></li><li id="the-embed-toc"><a href="#the-embed">Section 3.12.4, The embed element</a></li><li id="the-object-toc"><a href="#the-object">Section 3.12.5, The object element</a></li><li id="the-param-toc"><a href="#the-param">Section 3.12.6, The param element</a></li><li id="the-video-toc"><a href="#the-video">Section 3.12.7, The video element</a></li><li id="the-source-toc"><a href="#the-source">Section 3.12.9, The source element</a></li><li id="media-toc"><a href="#media">Section 3.12.10, Media elements</a></li><li id="the-canvas-toc"><a href="#the-canvas">Section 3.12.11, The canvas element</a><ul><li id="the-2d-toc"><a href="#the-2d">Section 3.12.11.1, The 2D context</a></li></ul></li><li id="the-map-toc"><a href="#the-map">Section 3.12.12, The map element</a></li><li id="the-area-toc"><a href="#the-area">Section 3.12.13, The area element</a></li><li id="image-maps-toc"><a href="#image-maps">Section 3.12.14, Image maps</a></li><li id="mathml-toc"><a href="#mathml">Section 3.12.15 [new], MathML</a></li><li id="svg-toc"><a href="#svg">Section 3.12.16 [new], SVG</a></li></ul></li><li id="tabular-toc"><a href="#tabular">Section 3.13 [was 3.15], Tabular data</a><ul><li id="the-table-toc"><a href="#the-table">Section 3.13.2, The table element</a></li><li id="the-colgroup-toc"><a href="#the-colgroup">Section 3.13.4, The colgroup element</a></li><li id="the-col-toc"><a href="#the-col">Section 3.13.5, The col element</a></li><li id="the-tbody-toc"><a href="#the-tbody">Section 3.13.6, The tbody element</a></li><li id="the-thead-toc"><a href="#the-thead">Section 3.13.7, The thead element</a></li><li id="the-tfoot-toc"><a href="#the-tfoot">Section 3.13.8, The tfoot element</a></li><li id="the-tr-toc"><a href="#the-tr">Section 3.13.9, The tr element</a></li><li id="the-td-toc"><a href="#the-td">Section 3.13.10, The td element</a></li><li id="the-th-toc"><a href="#the-th">Section 3.13.11, The th element</a></li><li id="attributes0-toc"><a href="#attributes0">Section 3.13.12 [new], Attributes common to td and th
elements</a></li><li id="processing-toc"><a href="#processing">Section 3.13.13, Processing model</a></li></ul></li><li id="forms-toc"><a href="#forms">Section 3.14 [was 3.16], Forms</a></li><li id="scripting0-toc"><a href="#scripting0">Section 3.15 [was 3.17], Scripting</a><ul><li id="script-toc"><a href="#script">Section 3.15.1, The script element</a></li><li id="the-noscript-toc"><a href="#the-noscript">Section 3.15.2, The noscript element</a></li><li id="the-event-source-toc"><a href="#the-event-source">Section 3.15.3, The event-source element</a></li></ul></li><li id="interactive-elements-toc"><a href="#interactive-elements">Section 3.16 [was 3.18], Interactive elements</a><ul><li id="datagrid-toc"><a href="#datagrid">Section 3.16.2, The datagrid element</a></li><li id="menus-toc"><a href="#menus">Section 3.16.4, The menu element</a></li><li id="commands-toc"><a href="#commands">Section 3.16.5, Commands</a></li></ul></li><li id="datatemplate-toc"><a href="#datatemplate">Section 3.17 [was 3.19], Data Templates</a></li><li id="miscellaneous-toc"><a href="#miscellaneous">Section 3.18 [was 3.20], Miscellaneous elements</a></li></ul></li><li id="web-browsers-toc"><a href="#web-browsers">Section 4, Web browsers</a><ul><li id="windows-toc"><a href="#windows">Section 4.1, Browsing context</a></li><li id="the-default0-toc"><a href="#the-default0">Section 4.2, The default view</a></li><li id="origin-toc"><a href="#origin">Section 4.3 [was 4.3.2], Origin</a></li><li id="scripting-toc"><a href="#scripting">Section 4.3 [now 4.4], Scripting</a></li><li id="user-prompts-toc"><a href="#user-prompts">Section 4.4 [now 4.5], User prompts</a></li><li id="browser-toc"><a href="#browser">Section 4.5 [now 4.6], Browser state</a></li><li id="offline-toc"><a href="#offline">Section 4.6 [now 4.7], Offline Web applications</a></li><li id="history-toc"><a href="#history">Section 4.7 [now 4.8], Session history and navigation</a></li><li id="browsing0-toc"><a href="#browsing0">Section 4.9 [new], Browsing the Web</a></li><li id="content-type-sniffing-toc"><a href="#content-type-sniffing">Section 4.9 [now 4.10], Determining the type of a
new resource in a browsing context</a></li><li id="structured-toc"><a href="#structured">Section 4.11 [new], Structured client-side storage</a></li><li id="links-toc"><a href="#links">Section 4.12, Links</a></li><li id="interfaces-toc"><a href="#interfaces">Section 4.13, Interfaces for URI manipulation</a></li></ul></li><li id="editing-toc"><a href="#editing">Section 5, Editing</a><ul><li id="contenteditable-toc"><a href="#contenteditable">Section 5.2, The contenteditable attribute</a></li><li id="dnd-toc"><a href="#dnd">Section 5.3, Drag and drop</a></li><li id="undo-toc"><a href="#undo">Section 5.4, Undo history</a></li><li id="command-toc"><a href="#command">Section 5.5 [now 5.6], Command APIs</a></li><li id="selection-toc"><a href="#selection">Section 5.6 [now 5.5], The text selection APIs</a></li></ul></li><li id="comms-toc"><a href="#comms">Section 6, Communication</a><ul><li id="event1-toc"><a href="#event1">Section 6.1, Event definitions</a></li><li id="server-sent-events-toc"><a href="#server-sent-events">Section 6.2, Server-sent DOM events</a></li><li id="network-toc"><a href="#network">Section 6.3, Network connections</a></li><li id="crossDocumentMessages-toc"><a href="#crossDocumentMessages">Section 6.4, Cross-document messaging</a></li></ul></li><li id="repetition-toc"><a href="#repetition">Section 7, Repetition templates</a></li><li id="syntax-toc"><a href="#syntax">Section 8, The HTML syntax</a><ul><li id="writing0-toc"><a href="#writing0">Section 8.1, Writing HTML documents</a></li><li id="parsing-toc"><a href="#parsing">Section 8.2, Parsing HTML documents</a></li><li id="namespaces-toc"><a href="#namespaces">Section 8.3, Namespaces</a></li><li id="serializing-toc"><a href="#serializing">Section 8.4, Serializing HTML fragments</a></li><li id="parsing2-toc"><a href="#parsing2">Section 8.5, Parsing HTML fragments</a></li><li id="named-toc"><a href="#named">Section 8.6, Entities [now "Named character references"]</a></li></ul></li><li id="wsiwyg-toc"><a href="#wsiwyg">Section 9 [now removed], WYSIWYG editors</a></li><li id="rendering-toc"><a href="#rendering">Section 10 [now section 9], Rendering and
user-agent behavior</a></li><li id="no-toc"><a href="#no">Section 11 [now section 10], Things that you
can't do with this specification…</a></li><li id="acknowledgements-toc"><a href="#acknowledgements">Acknowledgements</a></li></ul></li><li id="references-toc"><a href="#references">References</a></li></ul></div>
<div id="this_sections">
<div id="summary" class="section">
<h2>Summary: High-level list of selected changes <a class="hash" href="#summary">#</a> <a class="toc-bak" href="#summary-toc">T</a></h2>
<p>This section provides a high-level list of selected changes
made to the HTML 5 draft specification after 22 January
2008. For more detailed descriptions of the changes,
see the sections in this document that follow this one.
(Note: The source for this summary is maintained in the <a href="http://www.w3.org/TR/html5-diff/">HTML 5
differences from HTML 4</a> document <a href="#html4diffs">[HTML4DIFFS]</a>; the summary was
copied from that document into this one.)</p>
<ul>
<li>Implementation and authoring details around the <code>ping</code>
attribute have changed.
</li><li><code><meta http-equiv=content-type></code> is now a
conforming way to set the character encoding.</li>
<li>API for the <code>canvas</code> element has been cleaned up. Text
support has been added.
</li><li><code>globalStorage</code> is now restricted to the same-origin
policy and renamed to <code>localStorage</code>. Related event
dispatching has been clarified.
</li><li><code>postMessage()</code> API changed. Only the origin of the
message is exposed, no longer the URI. It also requires a second
argument that indicates the origin of the target document.
</li><li>Drag and drop API has got clarification. The
<code>dataTransfer</code> object now has a <code>types</code>
attribute indicating the type of data being transferred.
</li><li>The <code>m</code> element is now called <code>mark</code>.
</li><li>Server-sent events has changed and gotten clarification. It uses a
new format so that older implementations are not broken.
</li><li>The <code>figure</code> element no longer requires a caption.
</li><li>The <code>ol</code> element has a new <code>reversed</code>
attribute.
</li><li>Character encoding detection has changed in response to feedback.
</li><li>Various changes have been made to the HTML parser section in
response to implementation feedback.
</li><li>Various changes to the editing section have been made, including
adding <code>queryCommandEnabled()</code> and related methods.
</li><li>The <code>headers</code> attribute has been added for
<code>td</code> elements.
</li><li>The <code>table</code> element has a new <code>createTBody()</code>
method.
</li><li>MathML support has been added to the HTML parser section. (SVG
support is still awaiting input from the SVG WG.)
</li><li>Author defined attributes have been added. Authors can add
attributes to elements in the form of
<code>data-<var>name</var></code> and can access these through the DOM
using <code>dataset[<var>name</var>]</code> on the element in question.
</li><li>The <code>q</code> element has changed to require punctation inside
rather than having the browser render it.
</li><li>The <code>target</code> attribute can now have the value
<code>_blank</code>.
</li><li>The <code>showModalDialog</code> API has been added.
</li><li>The <code>document.domain</code> API has been defined.
</li><li>The <code>source</code> element now has a new
<code>pixelratio</code> attribute useful for videos that have some kind
encoding error.
</li><li><code>bufferedBytes</code>, <code>totalBytes</code> and
<code>bufferingThrottled</code> DOM attributes have been added to the
<code>video</code> element.
</li><li>Media <code>begin</code> event has been renamed to
<code>loadstart</code> for consistency with the Progress Events
specification.
</li><li><code>charset</code> attribute has been added to
<code>script</code>.
</li><li>The <code>iframe</code> element has gained the <code>sandbox</code>
and <code>seamless</code> attributes which provide sandboxing
functionality.
</li><li>The <code>ruby</code>, <code>rt</code> and <code>rp</code>
elements have been added to support ruby annotation.
</li><li>A <code>showNotification()</code> method has been added to show
notification messages to the user.
</li><li>Support for <code>beforeprint</code> and <code>afterprint</code>
events has been added.</li>
</ul>
</div>
<div id="fpwd" class="section">
<h2>Changes since the First Public Working Draft <a class="hash" href="#fpwd">#</a> <a class="toc-bak" href="#fpwd-toc">T</a></h2>
<p>This section provides a per-section record of changes
in the 10 June 2008 working draft of the <a href="http://www.w3.org/TR/2008/WD-html5-20080610/">HTML 5
specification</a> <a href="#html5">[HTML5]</a>
that were made after the <a href="http://www.w3.org/TR/2008/WD-html5-20080122/">22
January 2008 First Public Working Draft (FPWD)</a> <a href="#html5fpwd">[HTML5FPWD]</a>. Note that it
documents substantive changes only, and omits editorial
changes. It is intended to be readable as a “standalone”
document — meaning that readers are meant to be able to
use it to get an overview of the changes that have been
made, without necessarily needing to read the
specification itself or to read through the entire diff
document that shows all the changes.</p>
<div id="introduction" class="section">
<h2>Section 1, Introduction <a class="hash" href="#introduction">#</a> <a class="toc-bak" href="#introduction-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/introduction.html#introduction">Section 1, Introduction</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/introduction.html#introduction">Section 1, Introduction</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>The “Introduction” section of the specification
provides both non-normative (informative) background and
context information on the specification, as well as
normative information.</p>
<div id="structure" class="section">
<h2>Section 1.2, Structure of this specification <a class="hash" href="#structure">#</a> <a class="toc-bak" href="#structure-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/introduction.html#structure">Section 1.2, Structure of this specification</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/introduction.html#structure">Section 1.2, Structure of this specification</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This non-normative
section provides information about the major divisions
of information in the specification. In this section,
the following changes were made:</p>
<ul>
<li>A note that the specification included an
appendix regarding “shims for WYSIWYG editors” was
<strong>removed</strong> (because that appendix was
removed from the document).</li>
</ul>
</div>
<div id="conformance" class="section">
<h2>Section 1.3, Conformance requirements <a class="hash" href="#conformance">#</a> <a class="toc-bak" href="#conformance-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/introduction.html#conformance">Section 1.3, Conformance requirements</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/introduction.html#conformance">Section 1.3, Conformance requirements</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section
provides information about conformance requirements
for Web browsers and user agents, conformance
checkers, data mining tools, authoring tools, and
markup generators. In this section, the following
changes were made:</p>
<ul>
<li>In the introduction for this section, the words
“SHALL” and “SHALL NOT” were <strong>removed</strong>
from the list of words that “are to be interpreted as
described in
RFC2119”.</li>
<li>In the “Conformance checkers” subsection, the text
of a statement was updated to now read (added text
highlighted):
<blockquote>
<p><q><em class="highlight">Automated</em>
conformance checkers are exempt from detecting
errors that require interpretation of the author’s
intent (for example, while a document is
non-conforming if the content of a blockquote
element is not a quote, conformance checkers
<em class="highlight">running without the input of
human judgement</em> do not have to check that
blockquote elements only contain quoted
material).</q></p>
</blockquote>
Also, the text of a related statement was updated to
reference the concept of the <strong>browsing
context</strong>; the text of that statement now
reads:
<blockquote>
<p><q>Conformance checkers must check that
the input document conforms when parsed without a
browsing context (meaning that no scripts are run,
and that the parser’s scripting flag is disabled),
and should also check that the input document
conforms when parsed with a browsing context in
which scripts execute, and that the scripts never
cause non-conforming states to occur other than
transiently during script execution
itself.</q></p>
</blockquote></li>
<li>In the “Common conformance requirements for APIs
exposed to JavaScript” subsection, for consistency
with the Web IDL specification <a href="#webidl">[WebIDL]</a>, statements related
to cases for throwing NOT_SUPPORTED_ERR and
TYPE_MISMATCH_ERR exceptions were removed.</li>
<li>In a note that concerns XML processors, the
following statement was <strong>removed</strong>
completely: <q>For interoperability, authors are
advised to avoid optional features of XML.</q></li>
<li>In the “Dependencies” subsection, a note was
emended to now read (added text highlighted), <q>It is
possible for xml:base attributes to be present even
in HTML fragments, as such attributes can be added
dynamically using script. <em class="highlight">(Such
scripts would not be conforming, however, as
xml:base attributes as not allowed in HTML
documents.)</em></q></li>
</ul>
</div>
<div id="terminology" class="section">
<h2>Section 1.4, Terminology <a class="hash" href="#terminology">#</a> <a class="toc-bak" href="#terminology-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/introduction.html#terminology">Section 1.4, Terminology</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/introduction.html#terminology">Section 1.4, Terminology</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section
provides information about specific technical terms used
in the specification. In this section, the following
changes were made:</p>
<ul>
<li>A paragraph regarding usage of IDL in the
specification was shortened and refined to read:
<q>DOM interfaces defined in this specification use
Web IDL. User agents must implement these interfaces
as defined by the Web IDL specification.</q></li>
<li>The following text related to the term “plugin”
was added (with parts of it being moved here from the
section for the
<code class="element">embed</code>
element):
<blockquote>
<p><q>The term plugin is used to mean any content
handler, typically a third-party content handler,
for Web content types that are not supported by
the user agent natively, or for content types that
do not expose a DOM, that supports rendering the
content as part of the user agent’s
interface.</q></p>
<p><q>One example of a plugin would be a PDF viewer that
is instantiated in a browsing context when the
user navigates to a PDF file. This would count as
a plugin regardless of whether the party that
implemented the PDF viewer component was the same
as that which implemented the user agent itself.
However, a PDF viewer application that launches
separate from the user agent (as opposed to using
the same interface) is not a plugin by this
definition.</q></p>
<p><q>Note: This specification does not define a
mechanism for interacting with plugins, as it is
expected to be user-agent- and platform-specific.
Some UAs might opt to support a plugin mechanism
such as the Netscape Plugin API; others might use
remote content converters or have built-in support
for certain types.</q></p>
<p><q>Warning! Browsers should take extreme care when
interacting with external content intended for
plugins. When third-party software is run with the
same privileges as the user agent itself,
vulnerabilities in the third-party software become
as dangerous as those in the user agent.</q></p>
</blockquote>
</li>
</ul>
</div>
</div>
<div id="dom" class="section">
<h2>Section 2, The Document Object Model <a class="hash" href="#dom">#</a> <a class="toc-bak" href="#dom-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/dom.html#dom">Section 2, The Document Object Model</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/dom.html#dom">Section 2, The Document Object Model</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>Conformance criteria of HTML implementations are defined
in the specification in terms of operations on the Document
Object Model (DOM). This section of the specification
defines the language represented in the DOM, and forms a
basis for the other parts of the specification.</p>
<div id="documents" class="section">
<h2>Section 2.1, Documents <a class="hash" href="#documents">#</a> <a class="toc-bak" href="#documents-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/dom.html#documents">Section 2.1, Documents</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/dom.html#documents">Section 2.1, Documents</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines the
Document object. In this section, the following changes
were made:</p>
<ul>
<li>The following attributes were added to the
definition of the <code>HTMLDocument</code> interface:
<ul>
<li><code class="domattribute">charset</code></li>
<li><code class="domattribute">characterSet</code></li>
<li><code class="domattribute">defaultCharset</code></li>
<li><code class="domattribute">embeds</code></li>
<li><code class="domattribute">plugins</code></li>
<li><code class="domattribute">readyState</code></li>
<li><code class="domattribute">scripts</code></li>
<li><code class="domattribute">queryCommandEnabled</code></li>
<li><code class="domattribute">queryCommandIndeterm</code></li>
<li><code class="domattribute">queryCommandState</code></li>
<li><code class="domattribute">queryCommandSupported</code></li>
<li><code class="domattribute">queryCommandValue</code></li>
</ul>
The interface was also updated for consistency with
the Web IDL specification <a href="#webidl">[WebIDL]</a>, and to correctly document
the <code class="method">hasFocus()</code> method as a
method (previously, the interface definition had
incorrectly indicated that it was an
attribute).</li>
<li>In the “Resource metadata management” subsection,
content that related to the <code class="domattribute">domain</code> DOM attribute
(which is “used to enable pages on different hosts of
a domain to access each others’ DOMs”) was moved out
to form the basis for the algorithm in the “Relaxing
the same-origin restriction” in the “Origin” section.</li>
<li>Also in the “Resource metadata management”
subsection, conformance criteria for data returned by
the <code class="domattribute">referrer</code> DOM
attribute and other parts of the section was refined —
in particular, to reference
the concepts of the <strong>active document</strong>
and <strong>source browsing context</strong> —
and the following note was
added: <q>Typically user agents are configured to not
report referrers in the case where the referrer uses
an encrypted protocol and the current page does not
(e.g. when navigating from an https: page to an
http: page).</q> In the latter part of that same
subsection, additional language was added that relates to:
<ul>
<li>quirks mode</li>
<li>document character encoding and the
<code class="domattribute">charset</code>, <code class="domattribute">characterSet</code>, and <code class="domattribute">defaultCharset</code> DOM
attributes</li>
<li>document readiness, the
<code class="event">readystatechanged</code> event, and the
<code class="domattribute">readyState</code> DOM attribute</li>
</ul>
</li>
</ul>
</div>
<div id="elements" class="section">
<h2>Section 2.2, Elements <a class="hash" href="#elements">#</a> <a class="toc-bak" href="#elements-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/dom.html#elements">Section 2.2, Elements</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/dom.html#elements">Section 2.2, Elements</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines the basic
DOM interface for all HTML elements, the
<code>HTMLElement</code> interface. In this section, the
following changes were made:</p>
<ul>
<li>The following attributes were added to the
definition of the <code>HTMLElement</code> interface:
<ul>
<li><code class="domattribute">dataset</code></li>
<li><code class="domattribute">isContentEditable</code></li>
<li><code class="domattribute">style</code></li>
<li><code class="domattribute">onstorage</code></li>
</ul>
</li>
<li>A number of refinements were made to the language in
the “Reflecting content attributes in DOM attributes”
subsection, most extensively to the description that
relates to handling of DOM attributes that are of the
floating-point number type.</li>
</ul>
</div>
<div id="common0" class="section">
<h2>Section 2.3, Common DOM interfaces <a class="hash" href="#common0">#</a> <a class="toc-bak" href="#common0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/dom.html#common0">Section 2.3, Common DOM interfaces</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/dom.html#common0">Section 2.3, Common DOM interfaces</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines DOM interfaces known as
<strong>collections</strong>, the
<code>DOMTokenList</code> and <code>DOMStringMap</code>
interfaces, and DOM feature strings for HTML. In this
section, the following changes were made:</p>
<ul>
<li>In the “Collections” subsection, for consistency
with the Web IDL specification <a href="#webidl">[WebIDL]</a>, the definitions for the
<code>HTMLCollection</code>,
<code>HTMLFormControlsCollection</code>,
<code>HTMLOptionsCollection</code>, and
<code>DOMTokenList</code> interfaces were updated and
language that stated conformance criteria for
ECMAScript implementations was removed.</li>
<li>In the “DOMTokenList” subsection, the algorithms
for the
<code class="method">add()</code>
and
<code class="method">toggle()</code> methods were slightly
refined.</li>
<li>The “DOMStringMap” subsection was added. It
defines an interface for representing a set of
name-value pairs.</li>
</ul>
</div>
<div id="dom-tree" class="section">
<h2>Section 2.4, DOM tree accessors <a class="hash" href="#dom-tree">#</a> <a class="toc-bak" href="#dom-tree-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/dom.html#dom-tree">Section 2.4, DOM tree accessors</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/dom.html#dom-tree">Section 2.4, DOM tree accessors</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines the placement of the
<code class="element">html</code>,
<code class="element">head</code>,
<code class="element">title</code>,
and
<code class="element">body</code> elements in the DOM
tree, associated DOM attributes, and the
<code class="method">getElementsByName()</code>
and
<code class="method">getElementsByClassName()</code>
methods. In this section, the following changes were
made:</p>
<ul>
<li>A refinement was made to the algorithm that must
be run on setting the <code class="element">title</code>.</li>
<li>Conformance criteria related to the
<code class="domattribute">embeds</code>,
<code class="domattribute">plugins</code>,
and
<code class="domattribute">scripts</code> DOM attributes
was added.</li>
</ul>
</div>
<div id="dynamic" class="section">
<h2>Section 2.5, Dynamic markup insertion <a class="hash" href="#dynamic">#</a> <a class="toc-bak" href="#dynamic-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/dom.html#dynamic">Section 2.5, Dynamic markup insertion</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/dom.html#dynamic">Section 2.5, Dynamic markup insertion</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines mechanisms that enable
script authors to dynamically insert markup into a
document. In the section, the following changes were
made:</p>
<ul>
<li>In the “Controlling the input stream” subsection,
a “Change the document’s character encoding to UTF-16”
step was added to the algorithm that runs when the
<code class="method">open()</code>
method is called.</li>
<li>Some changes were made within the “Dynamic markup
insertion in XML” subsection in this section — among
them, the addition of a statement that <q>If any of
the elements in the serialisation are in the null
namespace, the default namespace in scope for those
elements must be explicitly declared as the empty
string.</q></li>
</ul>
</div>
<div id="apis-in" class="section">
<h2>Section 2.6, APIs in HTML documents <a class="hash" href="#apis-in">#</a> <a class="toc-bak" href="#apis-in-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/dom.html#apis-in">Section 2.6, APIs in HTML documents</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/dom.html#apis-in">Section 2.6, APIs in HTML documents</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section provides details about
case-insensitivity and case-changing behavior of data
returned by certain DOM APIs. No changes have been made
in this section.</p>
</div>
</div>
<div id="semantics" class="section">
<h2>Section 3, Semantics and structure of HTML elements <a class="hash" href="#semantics">#</a> <a class="toc-bak" href="#semantics-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#semantics">Section 3, Semantics and structure of HTML elements</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#semantics">Section 3, Semantics and structure of HTML elements</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines the meanings and content models
for each element in the HTML language, and includes both
“authoring conformance” or “document conformance”
requirements (to enable authors to produce conformant HTML
documents) with “implementation conformance” or
“user-agent conformance” requirements (to enable
implementors to produce conformant HTML user agents).</p>
<div id="common1" class="section">
<h2>Section 3.2, Common microsyntaxes <a class="hash" href="#common1">#</a> <a class="toc-bak" href="#common1-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#common1">Section 3.2, Common microsyntaxes</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#common1">Section 3.2, Common microsyntaxes</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section describes the conformance
criteria for instances of particular data types (such as
dates or numbers) used in HTML content, as well as
describing how to parse such instances. In this section,
the following changes were made:</p>
<ul>
<li>In the “Boolean attributes” subsection, the
conformance criteria for boolean attributes were
changed to state that a non-empty boolean-attribute
value must be “a case-insensitive match for the
attribute’s canonical name” (the statement had
previously required non-empty values to be in
lowercase).</li>
<li>A number of change were made to the “rules for
parsing a list of integers” algorithm in the “Numbers”
subsection.</li>
<li>A placeholder for a “URLs” subsection was added,
with editorial notes about what its intended purpose will
be.</li>
<li>In the “Tokens” subsection, the following
statement was added:
<blockquote>
<p><q>Sets of space-separated tokens sometimes have
a defined set of allowed values. When a set of
allowed values is defined, the tokens must all be
from that list of allowed values; other values are
non-conforming. If no such set of allowed values
is provided, then all values are
conforming.</q></p></blockquote></li>
<li>In the “References” section, instances of the
phrase “hashed ID reference” were changed to “hash-name reference”.</li>
</ul>
</div>
<div id="documents0" class="section">
<h2>Section 3.3, Documents and document fragments <a class="hash" href="#documents0">#</a> <a class="toc-bak" href="#documents0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#documents0">Section 3.3, Documents and document fragments</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#documents0">Section 3.3, Documents and document fragments</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section introduces the terms “semantics”,
“structure”, “transparent”, and “paragraph” in the
specific context of the HTML language, as well as
defining a number of categories that HTML content can be
grouped into. In this section, the following changes
were made:</p>
<ul>
<li>In the “Semantics” subsection, a general statement
about authoring conformance was re-written to now
read, <q>Authors must not use elements, attributes,
and attribute values for purposes other than their
appropriate intended semantic purpose.</q>, and a
minor refinement was made to the accompanying
example.</li>
<li>In the “Structure” subsection, the following
statement was <strong>removed</strong> completely:
<q>Authors must only put elements inside an element if
that element allows them to be there according to
its content model</q>, and (in a later part of the
same subsection), a general statement about authoring
conformance was re-written to now read, <q>Authors
must not use elements in the HTML namespace anywhere
except where they are explicitly allowed, as defined
for each element, or as explicitly required by other
specifications</q>.</li>
<li>Also in the “Structure” subsection, a statement
was added that cites an example of a structural
conformance requirement in the Atom specification, and
a statement was added that <q>elements in the HTML
namespace may be orphan nodes (i.e. without a parent
node)</q>, along with an example.</li>
<li>In the “Kinds of content” subsection (and
throughout the rest of the section and the
specification), the term “prose content” was changed
to <strong>flow content</strong>.</li>
<li>In the “Transparent content models” subsection, a
minor wording change was made.</li>
</ul>
</div>
<div id="global" class="section">
<h2>Section 3.4, Global attributes <a class="hash" href="#global">#</a> <a class="toc-bak" href="#global-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#global">Section 3.4, Global attributes</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#global">Section 3.4, Global attributes</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines attributes that may be specified
on all HTML elements. In this section, the following
changes were made:</p>
<ul>
<li>The <code class="htmlattribute">style</code> attribute
was added to the list of global attributes, and a
subsection defining it was added.</li>
<li>The <code class="htmlattribute">onstorage</code> attribute
was added to the list of global attributes.</li>
<li>The following conformance statement was added:
<blockquote>
<p><q>custom data attributes (e.g.
data-foldername or data-msgid) can be specified on
any HTML element, to store custom data specific to
the page.</q></p>
</blockquote>
Also, an “Embedding custom non-visible data” subsection
was added, with conformance criteria related to
<code class="htmlattribute">data-</code> attributes and
the associated <code class="domattribute">dataset</code>
DOM attribute.</li>
<li>The following conformance statement was added:
<blockquote>
<p><q>In HTML documents, the html element,
and any other elements in the HTML namespace whose
parent element is not in the HTML namespace, may
have an <code class="htmlattribute">xmlns</code>
attribute specified, if, and only if, it has the
exact value
“<code>http://www.w3.org/1999/xhtml</code>”. This
does not apply to XML documents.</q></p>
</blockquote>
Also, two notes were added regarding the effects of
the <code class="htmlattribute">xmlns</code> attribute in
content.</li>
<li>A new “The xml:base attribute (XML only)”
subsection was added, with the following text:
<blockquote>
<p><q>The xml:base attribute is defined in XML
Base.</q></p>
<p><q>The xml:base attribute may be used on elements of
XML documents. Authors must not use the xml:base
attribute in HTML documents.</q></p>
</blockquote>
</li>
<li>Some wording refinements were made to various
subsections.</li>
</ul>
</div>
<div id="interaction" class="section">
<h2>Section 3.5, Interaction <a class="hash" href="#interaction">#</a> <a class="toc-bak" href="#interaction-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#interaction">Section 3.5, Interaction</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#interaction">Section 3.5, Interaction</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines conformance requirements related
to interactive DOM behavior in user agents, including
activation of elements, element focus, and scrolling
elements into view. In this section, the following
changes were made:</p>
<ul>
<li>The wording for the entire “Focus” subsection was
refactored to make “define .focus(), .blur(),
onfocus, and onblur in a way that doesn’t require an
infinite loop in the face of a hostile author, and
that is better defined in terms of multiple iframes,
windows, and orphaned elements”, and to provide the
following definition of “focusable”: <q>An element is
focusable if the tabindex attribute’s definition
above defines the element to be focusable and the
element is being rendered.</q> and, for the case
where the <code class="method">scrollIntoView()</code>
method is called, to provide the following additional
requirement:
<q>Visual user agents should
further scroll horizontally as necessary to bring
the element to the attention of the user.</q></li>
<li>Also, in the “Focus” subsection, a change was made
to correctly document the <code class="method">hasFocus()</code> method as a method
(previously, the interface definition had incorrectly
indicated that it was an attribute).</li>
<li>
</li></ul>
</div>
<div id="the-root" class="section">
<h2>Section 3.6, The root element <a class="hash" href="#the-root">#</a> <a class="toc-bak" href="#the-root-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-root">Section 3.6, The root element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-root">Section 3.6, The root element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines the semantics and structure of
the <code class="element">html</code> element. In this
section, the only substantive change made was that a
statement related to the <code class="htmlattribute">xmlns</code> attribute was moved
out to an earlier point in the document, to the “Global
attributes” section.</p>
</div>
<div id="document" class="section">
<h2>Section 3.7, Document metadata <a class="hash" href="#document">#</a> <a class="toc-bak" href="#document-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#document">Section 3.7, Document metadata</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#document">Section 3.7, Document metadata</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines the semantics and structure of
the <code class="element">head</code> element and those of
its conformant descendant elements.</p>
<div id="the-base" class="section">
<h2>Section 3.7.3, The base element <a class="hash" href="#the-base">#</a> <a class="toc-bak" href="#the-base-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-base">Section 3.7.3, The base element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-base">Section 3.7.3, The base element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the phrase “valid browsing context
name” was emended to become <q>valid browsing context
name or keyword</q>.
</p>
</div>
<div id="the-link" class="section">
<h2>Section 3.7.4, The link element <a class="hash" href="#the-link">#</a> <a class="toc-bak" href="#the-link-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-link">Section 3.7.4, The link element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-link">Section 3.7.4, The link element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were
made:</p>
<ul>
<li>The
<code class="htmlattribute">sizes</code>
content attribute was added to the list of conformant
attributes for the element, and the
<code class="domattribute">sizes</code>
DOM attribute was added to the interface definition for
the <code>HTMLLinkElement</code> interface.</li>
<li>Conformance criteria for the
<code class="htmlattribute">sizes</code>
content attribute and
<code class="domattribute">sizes</code>
DOM attribute were added.</li>
<li>The following note was added: <q>Hyperlinks
created with the link element and its rel
attribute apply to the whole page. This contrasts
with the rel attribute of a and area elements,
which indicates the type of a link whose context
is given by the link’s location within the
document.</q></li>
<li>Other refinements were made
to language in this section, including the addition
of the following statements:
<blockquote>
<p><q>HTTP semantics must be followed when
fetching external resources. (For example,
redirects must be followed and 404 responses must
cause the external resource to not be
applied.)</q></p>
</blockquote>
<blockquote>
<p><q>If no type metadata is specified, but
the external resource link type has a default type
defined, then the user agent must assume that the
resource is of that type.</q></p>
</blockquote>
</li>
</ul>
</div>
<div id="meta" class="section">
<h2>Section 3.7.5, The meta element <a class="hash" href="#meta">#</a> <a class="toc-bak" href="#meta-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#meta">Section 3.7.5, The meta element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#meta">Section 3.7.5, The meta element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were
made:</p>
<ul>
<li>A statement was added that <q>The
<code class="domattribute">charset</code> attribute
specifies the character encoding used by the document.
This is called a character encoding
declaration</q>.</li>
<li>The text of the “Specifying the document’s
character encoding” subsection was refined, with the
following statements added:
<blockquote>
<p><q>If the document contains a meta element with
a charset attribute or a meta element in the
Encoding declaration state, then the character
encoding used must be an ASCII-compatible
character encoding.</q></p>
<p><q>An ASCII-compatible character encoding is one
that is a superset of US-ASCII (specifically,
ANSI_X3.4-1968) for bytes in the range 0x09 -
0x0D, 0x20, 0x21, 0x22, 0x26, 0x27, 0x2C - 0x3F,
0x41 - 0x5A, and 0x61 - 0x7A.</q></p>
</blockquote>
</li><li>The value <code>dns</code> was removed from the
list of pre-defined values for the
<code class="domattribute">name</code>
attribute.</li>
<li>The value
<code>description</code>
was added to the
list of pre-defined values for the
<code class="domattribute">name</code>
attribute, and defined as:
<blockquote>
<p><q>The value must be a free-form string that
describes the page. The value must be appropriate
for use in a directory of pages, e.g. in a search
engine.</q></p>
</blockquote>
</li>
<li>The value
<code>application-name</code>
was added to the
list of pre-defined values for the
<code class="domattribute">name</code>
attribute, and defined as:
<blockquote>
<p><q>The value must be a short free-form
string that giving the name of the Web application
that the page represents. If the page is not a Web
application, the application-name metadata name must
not be used. User agents may use the application
name in UI in preference to the page’s title, since
the title might include status messages and the like
relevant to the status of the page at a particular
moment in time instead of just being the name of the
application.</q></p>
</blockquote>
</li>
<li>The
<code>Content-Type</code> keyword
and corresponding
<code>Encoding declaration</code>
state added to a table that lists conformant keyword
values for the
<code class="domattribute">http-equiv</code>
attribute and their corresponding states; also, a
definition for the
<code>Encoding declaration</code>
state was added, and refinements were made in the
“Specifying the document’s character encoding”
subsection.</li>
<li>A part of the “Refresh state” algorithm was
revised to refer to the document’s <strong>source
browsing context</strong>.</li>
</ul>
</div>
<div id="the-style0" class="section">
<h2>Section 3.7.6, The style element <a class="hash" href="#the-style0">#</a> <a class="toc-bak" href="#the-style0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-style0">Section 3.7.6, The style element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-style0">Section 3.7.6, The style element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, a refinement was made to the
definition of the
<code class="domattribute">media</code>
attribute.</p>
</div>
</div>
<div id="sections" class="section">
<h2>Section 3.8, Sections <a class="hash" href="#sections">#</a> <a class="toc-bak" href="#sections-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#sections">Section 3.8, Sections</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#sections">Section 3.8, Sections</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines the semantics and structure of
the elements used for dividing documents into
sections.</p>
<div id="the-body" class="section">
<h2>Section 3.8.1, The body element <a class="hash" href="#the-body">#</a> <a class="toc-bak" href="#the-body-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-body">Section 3.8.1, The body element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-body">Section 3.8.1, The body element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, an interface definition was added
for the DOM interface for the
<code class="element">body</code>
element.</p>
</div>
<div id="the-nav" class="section">
<h2>Section 3.8.3, The nav element <a class="hash" href="#the-nav">#</a> <a class="toc-bak" href="#the-nav-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-nav">Section 3.8.3, The nav element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-nav">Section 3.8.3, The nav element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, an example was added, along with
the following statement:</p>
<blockquote>
<p><q>Not all groups of links on a page need
to be in a nav element — only sections that
consist of primary navigation blocks are
appropriate for the nav element. In particular, it
is common for footers to have a list of links to
various key parts of a site, but the footer
element is more appropriate in such
cases.</q></p>
</blockquote>
</div>
<div id="blockquoteold" class="section">
<h2>Section 3.8.5 [now 3.9.6], The blockquote element <a class="hash" href="#blockquoteold">#</a> <a class="toc-bak" href="#blockquoteold-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#blockquoteold">Section 3.8.5 [now 3.9.6], The blockquote element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#blockquoteold">Section 3.8.5 [now 3.9.6], The blockquote element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>The section on the
<code class="element">blockquote</code>
element was moved to become a subsection of the
“Grouping content” elements section.</p>
</div>
<div id="the-aside" class="section">
<h2>Section 3.8.6 [now 3.8.5], The aside element <a class="hash" href="#the-aside">#</a> <a class="toc-bak" href="#the-aside-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-aside">Section 3.8.6 [now 3.8.5], The aside element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-aside">Section 3.8.6 [now 3.8.5], The aside element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, two examples were added.</p>
</div>
<div id="the-header" class="section">
<h2>Section 3.8.8 [now 3.8.7], The header element <a class="hash" href="#the-header">#</a> <a class="toc-bak" href="#the-header-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-header">Section 3.8.8 [now 3.8.7], The header element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-header">Section 3.8.8 [now 3.8.7], The header element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, some wording refinements were made.</p>
</div>
<div id="the-footer" class="section">
<h2>Section 3.8.9 [now 3.8.8], The footer element <a class="hash" href="#the-footer">#</a> <a class="toc-bak" href="#the-footer-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-footer">Section 3.8.9 [now 3.8.8], The footer element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-footer">Section 3.8.9 [now 3.8.8], The footer element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, an example was added.</p>
</div>
<div id="the-address" class="section">
<h2>Section 3.8.10 [now 3.8.9], The address element <a class="hash" href="#the-address">#</a> <a class="toc-bak" href="#the-address-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-address">Section 3.8.10 [now 3.8.9], The address element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-address">Section 3.8.10 [now 3.8.9], The address element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, a statement was added that if an
<code class="element">address</code> element <q>applies
to the body element, then it instead applies to the
document as a whole</q>, and in several places, the
phrase “sectioning element” was changed to
<q>sectioning content element</q>.</p>
</div>
<div id="headings" class="section">
<h2>Section 3.8.11 [now 3.8.10], Headings and sections <a class="hash" href="#headings">#</a> <a class="toc-bak" href="#headings-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#headings">Section 3.8.11 [now 3.8.10], Headings and sections</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#headings">Section 3.8.11 [now 3.8.10], Headings and sections</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>Several parts of this section were extensively
re-written. Among some of the specific changes:</p>
<ul>
<li>The term <strong>sectioning roots</strong> has
been introduced and defined.</li>
<li>In the “Creating an outline”, a numbered set of
steps was added to define the outline algorithm, and
other details were added.</li>
<li>In the final subsection, the term “headers” has
been replaced by “headings”, including in the title,
which now reads “Distinguishing site-wide headings
from page headings”, and some refinements were made
to the wording of the subsection.</li>
</ul>
</div>
</div>
<div id="grouping" class="section">
<h2>Section 3.9, Grouping content <a class="hash" href="#grouping">#</a> <a class="toc-bak" href="#grouping-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#grouping">Section 3.9, Grouping content</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#grouping">Section 3.9, Grouping content</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section concerns elements that are used to group
phrasing content into logical structures such as
paragraphs and lists. The title of the section was
changed from “Prose” to “Grouping content”.</p>
<div id="the-pre" class="section">
<h2>Section 3.9.4 [was 3.10.1], The pre element <a class="hash" href="#the-pre">#</a> <a class="toc-bak" href="#the-pre-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-pre">Section 3.9.4 [was 3.10.1], The pre element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-pre">Section 3.9.4 [was 3.10.1], The pre element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This subsection was created when the previous section
for the <code class="element">pre</code> element was moved
down in the sectioning hierarchy to become a subsection
the “Grouping content” section. Also, the following note
was added:</p>
<blockquote>
<p><q> In the HTML serialisation, a leading
newline character immediately following the pre
element start tag is stripped.</q></p>
</blockquote>
</div>
<div id="the-blockquote" class="section">
<h2>Section 3.9.6 [was 3.8.5], The blockquote element <a class="hash" href="#the-blockquote">#</a> <a class="toc-bak" href="#the-blockquote-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-blockquote">Section 3.9.6 [was 3.8.5], The blockquote element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-blockquote">Section 3.9.6 [was 3.8.5], The blockquote element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This subsection was created when the previous section
for the <code class="element">blockquote</code> element
was moved out of the “Sections” section and into the
“Grouping content” section. Also, some small
refinements were made to the wording of the section.</p>
</div>
<div id="the-ol" class="section">
<h2>Section 3.9.7 [was 3.11.1], The ol element <a class="hash" href="#the-ol">#</a> <a class="toc-bak" href="#the-ol-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-ol">Section 3.9.7 [was 3.11.1], The ol element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-ol">Section 3.9.7 [was 3.11.1], The ol element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were
made:</p>
<ul>
<li>The
<code class="htmlattribute">reversed</code>
content attribute was added to the list of conformant
attributes for the element, and the
<code class="domattribute">reversed</code>
DOM attribute was added to the interface definition for
the <code>HTMLOListElement</code> interface.</li>
<li>Conformance criteria for the
<code class="htmlattribute">reversed</code>
content attribute and
<code class="domattribute">reversed</code>
DOM attribute were added.</li>
<li>A statement defining the meaning of the element,
which had read, “The ol element represents an
ordered list of items (which are represented by li
elements)“, was revised to read, <q>The ol element
represents a list of items, where the items have
been intentionally ordered, such that changing the
order would change the meaning of the
document.</q></li>
<li>The following statements were added: <q>The
reversed attribute is a boolean attribute. If
present, it indicates that the list is a
descending list (..., 3, 2, 1). If the attribute
is omitted, the list is an ascending list (1, 2,
3, ...).</q></li>
<li>Conformance statements relevant to the
<code class="htmlattribute">reversed</code>
content attribute
and
<code class="domattribute">reversed</code>
DOM attribute were updated or added where needed
throughout the text.</li>
<li>Two examples were added.</li>
</ul>
</div>
<div id="the-ul" class="section">
<h2>Section 3.9.8 [was 3.11.2], The ul element <a class="hash" href="#the-ul">#</a> <a class="toc-bak" href="#the-ul-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-ul">Section 3.9.8 [was 3.11.2], The ul element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-ul">Section 3.9.8 [was 3.11.2], The ul element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the definition of the meaning of
the <code class="element">ul</code> element, which had read,
“The ul element represents an unordered list of items”
was changed to read, <q>The ul element represents a
list of items, where the order of the items is not
important — that is, where changing the order would
not materially change the meaning of the
document</q>, and two examples were added.</p>
</div>
<div id="the-li" class="section">
<h2>Section 3.9.9 [was 3.11.3], The li element <a class="hash" href="#the-li">#</a> <a class="toc-bak" href="#the-li-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-li">Section 3.9.9 [was 3.11.3], The li element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-li">Section 3.9.9 [was 3.11.3], The li element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, two examples were added.</p>
</div>
<div id="the-dl" class="section">
<h2>Section 3.9.10 [was 3.11.4], The dl element <a class="hash" href="#the-dl">#</a> <a class="toc-bak" href="#the-dl-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-dl">Section 3.9.10 [was 3.11.4], The dl element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-dl">Section 3.9.10 [was 3.11.4], The dl element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were
made:</p>
<ul>
<li>a sentence in the definition of the meaning of
the <code class="element">dl</code> element was
slightly modified to remove the criterion that it
introduces an “unordered association list”, such
that the sentences now reads, <q>The dl element
introduces an association list consisting of zero
or more name-value groups (a description
list).</q></li>
<li>Significant refinements and additions were made
to the language in the section.</li>
<li>The set of examples was expanded.</li>
</ul>
</div>
<div id="the-dt" class="section">
<h2>Section 3.9.11 [was 3.11.5], The dt element <a class="hash" href="#the-dt">#</a> <a class="toc-bak" href="#the-dt-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-dt">Section 3.9.11 [was 3.11.5], The dt element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-dt">Section 3.9.11 [was 3.11.5], The dt element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following statement was
added:</p>
<blockquote>
<p><q>If the dt element is the child of a
dialog element, and it further contains a time
element, then that time element represents a
timestamp for when the associated discourse (dd
element) was said, and is not part of the name of
the talker.</q></p>
</blockquote>
<p>Also, two examples were added.</p>
</div>
</div>
<div id="text-level" class="section">
<h2>Section 3.10 [was 3.12], Text-level semantics <a class="hash" href="#text-level">#</a> <a class="toc-bak" href="#text-level-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#text-level">Section 3.10 [was 3.12], Text-level semantics</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#text-level">Section 3.10 [was 3.12], Text-level semantics</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section concerns elements used to mark up
content at the “text level” (as opposed to the
“sectioning” or “grouping” levels). The title of the
section was changed from “Phrase elements” to
“Text-level semantics”.</p>
<div id="the-a" class="section">
<h2>Section 3.10.1, The a element <a class="hash" href="#the-a">#</a> <a class="toc-bak" href="#the-a-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-a">Section 3.10.1, The a element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-a">Section 3.10.1, The a element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the interface definition for the
<code>HTMLAnchorElement</code> interface was updated
for consistency with the Web IDL specification <a href="#webidl">[WebIDL]</a>.</p>
</div>
<div id="the-q" class="section">
<h2>Section 3.10.2, The q element <a class="hash" href="#the-q">#</a> <a class="toc-bak" href="#the-q-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-q">Section 3.10.2, The q element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-q">Section 3.10.2, The q element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, some wording changes were made,
four examples were added, and the following statement
was added:</p>
<blockquote>
<p><q>Quotation punctuation (such as
quotation marks), if any, must be placed inside
the q element.</q></p>
</blockquote>
</div>
<div id="the-cite" class="section">
<h2>Section 3.10.3, The cite element <a class="hash" href="#the-cite">#</a> <a class="toc-bak" href="#the-cite-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-cite">Section 3.10.3, The cite element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-cite">Section 3.10.3, The cite element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, more examples were added, and the
text defining the meaning of the <code class="element">cite</code> element, which had read
simply, “The cite element represents a citation: the
source, or reference, for a quote or statement made in
the document”, was expanded to read:</p>
<blockquote>
<p><q>The cite element represents the title
of a work (e.g. a book, a paper, an essay, a poem,
a score, a song, a script, a film, a TV show, a
game, a sculpture, a painting, a theatre
production, a play, an opera, a musical, an
exhibition, etc). This can be a work that is being
quoted or referenced in detail (i.e. a citation),
or it can just be a work that is mentioned in
passing.</q></p>
</blockquote>
<blockquote>
<p><q>A person’s name is not the title of a
work — even if people call that person a piece of
work — and the element must therefore not be used
to mark up people’s names. (In some cases, the b
element might be appropriate for names; e.g. in a
gossip article where the names of famous people
are keywords rendered with a different style to
draw attention to them. In other cases, if an
element is really needed, the span element can be
used.)</q></p>
</blockquote>
<blockquote>
<p><q>A ship is similarly not a work, and the
element must not be used to mark up ship names
(the i element can be used for that
purpose).</q></p>
</blockquote>
</div>
<div id="the-mark" class="section">
<h2>Section 3.10.7, The mark element [was: the m element] <a class="hash" href="#the-mark">#</a> <a class="toc-bak" href="#the-mark-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-mark">Section 3.10.7, The mark element [was: the m element]</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-mark">Section 3.10.7, The mark element [was: the m element]</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>The <code class="element">m</code> element was
renamed <code class="element">mark</code>; in this
section, the set of examples was
significantly enlarged, and the text defining the
meaning of the element, which had read simply, “The m
element represents a run of text marked or
highlighted”, was expanded to read:</p>
<blockquote>
<p><q>The mark element represents a run of
text in one document marked or highlighted for
reference purposes, due to its relevance in
another context. When used in a quotation or other
block of text referred to from the prose, it
indicates a highlight that was not originally
present but which has been added to bring the
reader’s attention to a part of the text that
might not have been considered important by the
original author when the block was originally
written, but which is now under previously
unexpected scrutiny. When used in the main prose
of a document, it indicates a part of the document
that has been highlighted due to its likely
relevance to the user’s current
activity.</q></p>
</blockquote>
</div>
<div id="the-dfn" class="section">
<h2>Section 3.10.8, The dfn element <a class="hash" href="#the-dfn">#</a> <a class="toc-bak" href="#the-dfn-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-dfn">Section 3.10.8, The dfn element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-dfn">Section 3.10.8, The dfn element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>The text defining the
<code class="element">dfn</code>
elements has changed significantly. The changes
include:</p>
<ul>
<li>The most significant change is that text
describing a mechanism by which the <code class="element">dfn</code> element could be used to
enable automatic cross-references has been removed
completely, and replaced by a statement that <q>An a
element that links to a dfn element represents an
instance of the term defined by the dfn
element.</q></li>
<li>Text that had previously read, “The paragraph,
description list group, or section that contains the
dfn element contains the definition for the term given
by the contents of the dfn element” now reads
(change highlighted): <q>The
paragraph, description list group, or section that
is the <em class="highlight">nearest ancestor</em> of the dfn element
must also contain the definition(s) for the term
given by the dfn element.</q></li>
<li>The following conformance requirement was
<strong>removed</strong> completely: “There must only
be one dfn element per document for each term defined
(i.e. there must not be any duplicate
terms).”</li>
<li>An additional example was added to illustrate use
of the <code class="element">a</code> element in
conjunction with the
<code class="element">dfn</code> element (to make an
explicit cross-reference to a defining instance of a
particular term).</li>
</ul>
</div>
<div id="the-abbr" class="section">
<h2>Section 3.10.9, The abbr element <a class="hash" href="#the-abbr">#</a> <a class="toc-bak" href="#the-abbr-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-abbr">Section 3.10.9, The abbr element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-abbr">Section 3.10.9, The abbr element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>Refinements and changes were made to the text in
this section; the changes include:</p>
<ul>
<li>The text defining the meaning of the <code class="element">abbr</code> element was refined to
now read (changes highlighted): <q>The abbr element
represents an abbreviation or acronym, <em class="highlight">optionally with its
expansion</em>. The title attribute <em class="highlight">may</em> be used to provide an
expansion of the abbreviation. <em class="highlight">The attribute, if
specified</em>, must <del>only</del> contain an
expansion of the abbreviation, <em class="highlight">and nothing else</em>.</q>
</li>
<li>The following statement was
<strong>removed</strong> completely: “The title
attribute may be omitted if there is a dfn element
in the document whose defining term is the
abbreviation (the textContent of the abbr
element).”</li>
<li>The following authoring-conformance requirement
was added: <q>If an abbreviation is pluralised, the
expansion’s grammatical number (plural vs
singular) must match the grammatical number of the
contents of the element.</q></li>
<li>The set of examples was expanded and includes
the addition of an example prefaced by the following
text: <q>This paragraph marks up an abbreviation
without giving an expansion, possibly as a hook to
apply styles for abbreviations (e.g.
smallcaps).</q>
</li>
</ul>
</div>
<div id="the-progress" class="section">
<h2>Section 3.10.11, The progress element <a class="hash" href="#the-progress">#</a> <a class="toc-bak" href="#the-progress-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-progress">Section 3.10.11, The progress element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-progress">Section 3.10.11, The progress element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, a conformance statement was
updated to read: <q>If the progress bar is an
indeterminate progress bar, then the position DOM
attribute must return <code>-1</code></q>. (The
statement had previously indicated that is should
return <code>1</code>.) Also, the following note was
added:
<q>The progress element is the wrong element to use
for something that is just a gauge, as opposed to
task progress. For instance, indicating disk space
usage using progress would be inappropriate.
Instead, the meter element is available for such use
cases.</q></p>
</div>
<div id="the-meter" class="section">
<h2>Section 3.10.12, The meter element <a class="hash" href="#the-meter">#</a> <a class="toc-bak" href="#the-meter-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-meter">Section 3.10.12, The meter element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-meter">Section 3.10.12, The meter element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were
made:</p>
<ul>
<li>In the interface definition for the
<code>HTMLMeterElement</code> interface, the data
type for all attributes was changed from
<code>long</code> to <code>float</code>.</li>
<li>A statement providing authoring requirements was
changed to now read (change highlighted): <q> The
recommended way of giving the value is to include
it as contents of the element, either as two
numbers (the higher number represents the maximum,
the other number the current value, <em class="highlight">and the minimum is assumed to be
zero</em>), or as a percentage or similar (using
one of the characters such as “%”), or as a
fraction.</q></li>
<li>A statement regarding the conformant values for
the attributes on the <code class="element">meter</code> was added; it states
that “their values must satisfy the following
inequalities”:
<ul>
<li>min ≤ value ≤ max</li>
<li>min ≤ low ≤ high ≤ max</li>
<li>min ≤ optimum ≤ max</li>
</ul>
</li>
</ul>
</div>
<div id="the-code" class="section">
<h2>Section 3.10.13, The code element <a class="hash" href="#the-code">#</a> <a class="toc-bak" href="#the-code-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-code">Section 3.10.13, The code element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-code">Section 3.10.13, The code element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following statement was
<strong>removed</strong> completely: “the title
attribute has special semantics on this element when
used with the dfn element”,
and another example was
added.</p>
</div>
<div id="the-var" class="section">
<h2>Section 3.10.14, The var element <a class="hash" href="#the-var">#</a> <a class="toc-bak" href="#the-var-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-var">Section 3.10.14, The var element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-var">Section 3.10.14, The var element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following statement was
<strong>removed</strong> completely: “the title
attribute has special semantics on this element when
used with the dfn element”.</p>
</div>
<div id="the-samp" class="section">
<h2>Section 3.10.15, The samp element <a class="hash" href="#the-samp">#</a> <a class="toc-bak" href="#the-samp-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-samp">Section 3.10.15, The samp element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-samp">Section 3.10.15, The samp element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following statement was
<strong>removed</strong> completely: “the title
attribute has special semantics on this element when
used with the dfn element”.</p>
</div>
<div id="the-sub" class="section">
<h2>Section 3.10.17, The sub and sup elements <a class="hash" href="#the-sub">#</a> <a class="toc-bak" href="#the-sub-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-sub">Section 3.10.17, The sub and sup elements</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-sub">Section 3.10.17, The sub and sup elements</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following note was added:
<q>Authors are encouraged to use MathML for marking up
mathematics, but authors may opt to use sub and sup
if detailed mathematical markup is not
desired.</q></p>
</div>
<div id="the-span" class="section">
<h2>Section 3.10.18, The span element <a class="hash" href="#the-span">#</a> <a class="toc-bak" href="#the-span-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-span">Section 3.10.18, The span element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-span">Section 3.10.18, The span element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following statement was
<strong>removed</strong> completely: “the title
attribute has special semantics on this element when
used with the dfn element”; also removed was a
statement that the <code class="element">span</code>
element can be useful “when used in conjunction with
the dfn element”.</p>
</div>
<div id="the-i" class="section">
<h2>Section 3.10.19, The i element <a class="hash" href="#the-i">#</a> <a class="toc-bak" href="#the-i-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-i">Section 3.10.19, The i element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-i">Section 3.10.19, The i element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were
made:</p>
<ul>
<li>A statement was <strong>removed</strong>
completely: “the title attribute has special
semantics on this element when used with the dfn
element”.</li>
<li>A refinement was made to one of the
examples.</li>
<li>The following note was added:
<blockquote>
<p><q>Authors are encouraged to use the
class attribute on the i element to identify why
the element is being used, so that if the style
of a particular use (e.g. dream sequences as
opposed to taxonomic terms) is to be changed at
a later date, the author doesn’t have to go
through the entire document (or series of
related documents) annotating each
use.</q></p>
</blockquote>
</li>
</ul>
</div>
<div id="the-ruby" class="section">
<h2>Section 3.10.22 [new], The ruby element <a class="hash" href="#the-ruby">#</a> <a class="toc-bak" href="#the-ruby-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-ruby">Section 3.10.22 [new], The ruby element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-ruby">Section 3.10.22 [new], The ruby element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section is newly added. It concerns the
<code class="element">ruby</code>
element, which allows more spans of content to be
marked up with ruby annotations (sometimes used, for
example, with East Asian characters to provide
“readings” or pronunciations for the characters).</p>
</div>
<div id="the-rt" class="section">
<h2>Section 3.10.23 [new], The rt element <a class="hash" href="#the-rt">#</a> <a class="toc-bak" href="#the-rt-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-rt">Section 3.10.23 [new], The rt element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-rt">Section 3.10.23 [new], The rt element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section is newly added. It concerns the
<code class="element">rt</code>
element, which is used to mark up the “text
component” of a ruby annotation.</p>
</div>
<div id="the-rp" class="section">
<h2>Section 3.10.24 [new], The rp element <a class="hash" href="#the-rp">#</a> <a class="toc-bak" href="#the-rp-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-rp">Section 3.10.24 [new], The rp element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-rp">Section 3.10.24 [new], The rp element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section is newly added. It concerns the
<code class="element">rp</code>
element, which can be used to provide parentheses
around a ruby “text component” of a ruby annotation,
to be shown by user agents that don’t support ruby
annotations.</p>
</div>
<div id="usage" class="section">
<h2>Section 3.10.25 [new], Usage summary <a class="hash" href="#usage">#</a> <a class="toc-bak" href="#usage-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#usage">Section 3.10.25 [new], Usage summary</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#usage">Section 3.10.25 [new], Usage summary</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section is newly added. It is a placeholder
with an editorial note that reads, “We need to
summarise the various elements, in particular to
distinguish b/i/em/strong/var/q/mark/cite.”</p>
</div>
<div id="footnotes" class="section">
<h2>Section 3.10.26 [new], Footnotes <a class="hash" href="#footnotes">#</a> <a class="toc-bak" href="#footnotes-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#footnotes">Section 3.10.26 [new], Footnotes</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#footnotes">Section 3.10.26 [new], Footnotes</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section is newly added. The introduction to
the section states, ”HTML does not have a dedicated
mechanism for marking up footnotes. Here are the
recommended alternatives”, and the section includes
descriptions and examples of use of the
<code class="htmlattribute">title</code> attribute,
<code class="element">a</code> element,
and the
<code class="element">aside</code> element
in marking up footnote content.</p>
</div>
</div>
<div id="edits" class="section">
<h2>Section 3.11 [was 3.13], Edits <a class="hash" href="#edits">#</a> <a class="toc-bak" href="#edits-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#edits">Section 3.11 [was 3.13], Edits</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#edits">Section 3.11 [was 3.13], Edits</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section concerns the
<code class="element">ins</code>
and
<code class="element">del</code>
elements. In the introduction
to this section, a large note with examples was moved
out to form a separate subsection, “Edits and
paragraphs” (which notes and illustrates the
difficulties of attempting to mark up edits that cross
<strong>implied paragraphs</strong>). The text of the
sections on the
<code class="element">ins</code>
and
<code class="element">del</code>
themselves remains unchanged.</p>
<div id="edits0" class="section">
<h2>Section 3.11.4 [new], Edits and paragraphs <a class="hash" href="#edits0">#</a> <a class="toc-bak" href="#edits0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#edits0">Section 3.11.4 [new], Edits and paragraphs</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#edits0">Section 3.11.4 [new], Edits and paragraphs</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This subsection was created by moving a large note
out of the introduction to its parent section,
“Edits”. The content of this subsection provides
information and examples illustrating the difficulties
of attempting to mark up edits that cross
<strong>implied paragraphs</strong>).</p>
</div>
<div id="edits1" class="section">
<h2>Section 3.11.5 [new], Edits and lists <a class="hash" href="#edits1">#</a> <a class="toc-bak" href="#edits1-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#edits1">Section 3.11.5 [new], Edits and lists</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#edits1">Section 3.11.5 [new], Edits and lists</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section, which is newly added, relates to use
of the
<code class="element">ins</code>
and
<code class="element">del</code>
elements with list items. The text provides both
examples and authoring-conformance requirements, and
begins with the following statement: <q>The content
models of the ol and ul elements do not allow ins
and del elements as children. Lists always represent
all their items, including items that would
otherwise have been marked as deleted.</q></p>
</div>
</div>
<div id="embedded0" class="section">
<h2>Section 3.12 [was 3.14], Embedded content <a class="hash" href="#embedded0">#</a> <a class="toc-bak" href="#embedded0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#embedded0">Section 3.12 [was 3.14], Embedded content</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#embedded0">Section 3.12 [was 3.14], Embedded content</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section concerns elements used to embed non-text
content in HTML pages, primarily binary media content
(such as video and audio content, static images, images
that are dynamically created through scripting), but
also content in other markup languages (SVG and
MathML).</p>
<div id="the-figure" class="section">
<h2>Section 3.12.1, The figure element <a class="hash" href="#the-figure">#</a> <a class="toc-bak" href="#the-figure-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-figure">Section 3.12.1, The figure element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-figure">Section 3.12.1, The figure element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were made:</p>
<ul>
<li>The category “sectioning root” was added to the
list of categories to which the <code class="element">figure</code> element belongs.</li>
<li>The content model for the element was changed to
make the <code class="element">legend</code> element
optional as a child of <code class="element">figure</code> (instead of being a
required child), and the first statement in the prose
description of the element was updated to read, “The
figure element represents some flow content, <em class="highlight">optionally with a caption, which can
be moved away from the main flow of the document
without affecting the document’s meaning.</em></li>
<li>The following statement was added:
<blockquote>
<p><q>The element can thus be used to
annotate illustrations, diagrams, photos, code
listings, etc, that are referred to from the main
content of the document, but that could, without
affecting the flow of the document, be moved away
from that primary content, e.g. to the side of the
page, to dedicated pages, or to an
appendix.</q></p>
</blockquote></li>
<li>Several examples were added.</li>
</ul>
</div>
<div id="the-img" class="section">
<h2>Section 3.12.2, The img element <a class="hash" href="#the-img">#</a> <a class="toc-bak" href="#the-img-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-img">Section 3.12.2, The img element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-img">Section 3.12.2, The img element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were made:</p>
<ul>
<li>The title of a subsection that discusses
specific use cases from the element was changed from
“A key part of the content that doesn’t have an
obvious textual alternative” to simply, “A key part of
the content”. The text of that same subsection was
changed to now read:
<blockquote>
<p><q>In some cases, the image is a critical
part of the content. This could be the case, for
instance, on a page that is part of a photo
gallery. The image is the whole point of the page
containing it.</q></p>
</blockquote>
<blockquote>
<p><q>When it is possible for alternative
text to be provided, for example if the image is
part of a series of screenshots in a magazine
review, or part of a comic strip, or is a
photograph in a blog entry about that photograph,
text that conveys can serve as a substitute for
the image must be given as the contents of the alt
attribute.</q></p>
</blockquote>
<blockquote>
<p><q>In a rare subset of these cases, there
might be no alternative text available. This could
be the case, for instance, on a photo upload site,
if the site has received 8000 photos from a user
without the user annotating any of them. In such
cases, the alt attribute may be omitted, but the
alt attribute should be included, with a useful
value, if at all possible.</q></p>
</blockquote>
<blockquote>
<p><q>In any case, if an image is a key part
of the content, the alt attribute must not be
specified with an empty value.</q></p>
</blockquote>
</li>
<li>The <code class="htmlattribute">alt</code> text for the
“Screenshot of a KDE desktop” example was expanded.</li>
<li>The prefatory text for one of the examples was updated
to read: <q>A photo on a photo-sharing site, if the site
received the image with no metadata other than the
caption.</q></li>
<li>A portion of a note that had read, “the alt attribute
should only be omitted when no alternative text is
available and none can be made available, e.g. on
automated image gallery sites” was revised to now read
(change portion highlighted), <q>the alt attribute <em class="highlight">is only allowed to</em> be omitted
when no alternative text is available and none can be
made available, e.g. on automated image gallery
sites.</q></li>
<li>A statement that had read, “Once the download has
completed, if the image is a valid image, the user agent
must fire a load event on the img element” was emended to
read (added text highlighted), <q>Once the download has
completed, if the image is a valid image, the user agent
must fire a load event on the img element <em class="highlight">(this happens after complete starts
returning true)</em>.</q></li>
<li>A note was added with the following text: <q>The value
of complete can change while a script is
executing.</q></li>
<li>Some additional examples were added, prefaced by the
following text:
<blockquote>
<p><q>A single image can have different
appropriate alternative text depending on the
context.</q></p>
</blockquote>
<blockquote>
<p><q> In each of the following cases, the same
image is used, yet the alt text is different each
time.</q></p>
</blockquote>
</li>
</ul>
</div>
<div id="the-iframe" class="section">
<h2>Section 3.12.3, The iframe element <a class="hash" href="#the-iframe">#</a> <a class="toc-bak" href="#the-iframe-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-iframe">Section 3.12.3, The iframe element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-iframe">Section 3.12.3, The iframe element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>Very substantial changes were made in this section
to introduce the following:</p>
<ul>
<li>An
<code class="element">iframe</code>
<strong>name</strong>,
a <strong>valid browsing
context name</strong> associated with the iframe.</li>
<li>An
<code class="element">iframe</code>
<strong>sandbox</strong>,
which <q>enables a set of extra restrictions on any
content hosted by the iframe</q>.</li>
<li>An
<code class="element">iframe</code>
<strong>seamless</strong>
flag, which <q>indicates that the iframe element’s
browsing context is to be rendered in a manner that
makes it appear to be part of the containing
document (seamlessly included in the parent
document).</q></li>
</ul>
<p>A number of specific changes were made to introduce the above —
among them, the following:</p>
<ul>
<li>The
<code class="htmlattribute">name</code>,
<code class="htmlattribute">sandbox</code>,
<code class="htmlattribute">seamless</code>,
<code class="htmlattribute">width</code>,
and
<code class="htmlattribute">height</code>
content attributes were added to the list of conformant
attributes for the element, and the
<code class="domattribute">name</code>,
<code class="domattribute">sandbox</code>,
<code class="domattribute">seamless</code>,
<code class="domattribute">width</code>,
and
<code class="domattribute">height</code>
DOM attributes were added to the interface definition
for the <code>HTMLIFrameElement</code> interface.</li>
<li>Conformance criteria for the
<code class="htmlattribute">name</code>,
<code class="htmlattribute">sandbox</code>,
<code class="htmlattribute">seamless</code>,
<code class="htmlattribute">width</code>,
and
<code class="htmlattribute">height</code>
content attributes and
<code class="domattribute">name</code>,
<code class="domattribute">sandbox</code>,
<code class="domattribute">seamless</code>,
<code class="domattribute">width</code>,
and
<code class="domattribute">height</code>
DOM attribute were added.</li>
<li>Extensive text related to the
<code class="htmlattribute">name</code>,
<code class="htmlattribute">sandbox</code>,
and
<code class="htmlattribute">seamless</code>
attributes was added.</li>
</ul>
</div>
<div id="the-embed" class="section">
<h2>Section 3.12.4, The embed element <a class="hash" href="#the-embed">#</a> <a class="toc-bak" href="#the-embed-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-embed">Section 3.12.4, The embed element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-embed">Section 3.12.4, The embed element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were made:</p>
<ul>
<li>Conformance criteria were added in relation to
behavior when the <strong>sandboxed plugins browsing
context flag</strong> is set.</li>
<li>In a number of places in the section, the word
“handler” was replaced by the word
<strong>plugin</strong>.</li>
<li>Two statements related to plugins were revised
and moved out of this section and into the
“Terminology” section.</li>
</ul>
</div>
<div id="the-object" class="section">
<h2>Section 3.12.5, The object element <a class="hash" href="#the-object">#</a> <a class="toc-bak" href="#the-object-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-object">Section 3.12.5, The object element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-object">Section 3.12.5, The object element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were made:</p>
<ul>
<li>The
<code class="htmlattribute">name</code>
content attribute was added to the list of conformant
attributes for the element, and the
<code class="domattribute">name</code>
DOM attribute was added to the interface definition
for the <code>HTMLObjectElement</code> interface.</li>
<li>Conformance criteria for the
<code class="htmlattribute">name</code>
content attribute and
<code class="domattribute">name</code>
DOM attribute were added.</li>
<li>In a number of places in the section, the word
“handler” was replaced by the word
<strong>plugin</strong>.</li>
<li>The phrase “third-party software package” was
replaced with the term <strong>plugin</strong>.</li>
<li>Some specific statements were added in relation
to the case
when <strong>plugins aren’t being sandboxed</strong>
and the case when the <strong>sandboxed plugins browsing
context flag</strong> is set.</li>
<li>The following statement was added:
<blockquote>
<p><q>Whenever
the name attribute is set, if the object element
has a nested browsing context, its name must be
changed to the new value. If the attribute is
removed, if the object element has a browsing
context, the browsing context name must be set to
the empty string.</q></p>
</blockquote></li>
<li>Significant revisions and additions were made to
the algorithm for checking what the object element
represents, including a step for checking for the
presence of the <code class="htmlattribute">classid</code> attribute and
acting on its value, and changes to the requirements
for the case where the <code class="htmlattribute">data</code> attribute is
present.</li>
<li>The following note was added:
<blockquote>
<p><q>The object
element can, in certain cases as described above,
instantiate third-party handlers. This
specification does not define a mechanism for
interacting with third-party handlers, as it is
expected to be user-agent-specific. Some UAs might
opt to support a plugin mechanism such as the
Netscape Plugin API; others may use remote content
convertors or have built-in support for certain
types.</q></p>
</blockquote>
</li>
<li>Two examples were added.</li>
</ul>
</div>
<div id="the-param" class="section">
<h2>Section 3.12.6, The param element <a class="hash" href="#the-param">#</a> <a class="toc-bak" href="#the-param-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-param">Section 3.12.6, The param element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-param">Section 3.12.6, The param element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, an instance of the term “handlers”
was replaced by the term <strong>plugins</strong>.</p>
</div>
<div id="the-video" class="section">
<h2>Section 3.12.7, The video element <a class="hash" href="#the-video">#</a> <a class="toc-bak" href="#the-video-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-video">Section 3.12.7, The video element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-video">Section 3.12.7, The video element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were made:</p>
<ul>
<li>Revisions were made to conformance requirements
related to the case where the
<code class="element">video</code>
element is paused.</li>
<li>In a section of the text that concerns where
video content is rendered inside the element’s
playback area, the term “aspect ratio” was changed
to <q>adjusted aspect ratio</q>, and a statement was
added to say, <q>The
adjusted aspect ratio of a video is the ratio of
its adjusted width to its intrinsic height. The
adjusted width of a video is its intrinsic width
multiplied by its pixel ratio.</q></li>
<li>The following editorial note was added: “The
spec does not currently define the interaction of
the “controls” attribute with the “height” and
“width” attributes. This will likely be defined in
the rendering section based on implementation
experience. So far, browsers seem to be making the
controls overlay-only, thus somewhat sidestepping
the issue.”</li>
</ul>
</div>
<div id="the-source" class="section">
<h2>Section 3.12.9, The source element <a class="hash" href="#the-source">#</a> <a class="toc-bak" href="#the-source-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-source">Section 3.12.9, The source element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-source">Section 3.12.9, The source element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were made:</p>
<ul>
<li>The
<code class="htmlattribute">pixelratio</code>
content attribute was added to the list of conformant
attributes for the element, and the
<code class="domattribute">pixelratio</code>
DOM attribute was added to the interface definition for
the <code>HTMLSourceElement</code> interface.</li>
<li>Conformance criteria for the
<code class="htmlattribute">pixelratio</code>
content attribute and
<code class="domattribute">pixelratio</code>
DOM attribute were added, including the following
statement:
<blockquote>
<p><q>The pixelratio attribute allows the
author to specify the pixel ratio of anamorphic
media resources that do not self-describe their
pixel ratio. The attribute value, if specified,
must be a valid floating point number giving the
ratio of the correct rendered width of each
pixel to the actual width of each pixel in the
image (i.e., the multiple by which the video’s
intrinsic width is to be multiplied to obtain
the rendered width that gives the correct aspect
ratio). The default value, if the attribute is
omitted or cannot be parsed, is
1.0.</q></p>
</blockquote></li>
</ul>
</div>
<div id="media" class="section">
<h2>Section 3.12.10, Media elements <a class="hash" href="#media">#</a> <a class="toc-bak" href="#media-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#media">Section 3.12.10, Media elements</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#media">Section 3.12.10, Media elements</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were made:</p>
<ul>
<li>The
<code class="domattribute">bufferingThrottled</code>,
<code class="domattribute">bufferedBytes</code>,
and
<code class="domattribute">totalBytes</code>
attributes were added to the interface definition
for the <code>HTMLMediaElement</code> interface.</li>
<li>Conformance criteria for the
<code class="domattribute">bufferingThrottled</code>,
<code class="domattribute">bufferedBytes</code>,
and
<code class="domattribute">totalBytes</code>
DOM attributes were added.</li>
<li>The algorithm for picking a media resource for a
media element was revised to include checking for
the presence and value of the
<code class="htmlattribute">pixelratio</code>
attribute.</li>
<li>In the algorithm that runs when the <code class="method">load()</code> method on a media
element is invoked, a step that had read, “The user
agent must then set the begun flag to true and fire
a progress event called begin at the media element”
was revised to read (change highlighted), <q>The
user agent must then set the begun flag to true
and fire a progress event called <em class="highlight">loadstart</em> at the
media element.</q></li>
<li>A part of the of the <strong>seeking
algorithm</strong> was revised, and conformance
statement that concerns determining when to fire the
<code>waiting</code> event at a media element was
revised to incorporate the case of the seeking
algorithm being invoked</li>
<li>The algorithm for responding to the invocation
of the <code class="method">play()</code> method was
revised.</li>
<li>Language that stated conformance
requirements for ECMAScript implementations in
relation to the <code>VoidCallback</code> interface
was removed.</li>
<li>In the “User interface” subsection, an instance
of the phrase “if scripting is disabled” was changed
to read, “if the media element is <strong>without
script</strong>”.</li>
<li>A small revision was made to a statement in the
“Time ranges” subsection.</li>
<li>A new “Byte ranges” subsection was added. It
defines the <code>ByteRanges</code>
interface and related conformance requirements.</li>
<li>In the table of events in the “Event summary”
subsection, the event that had been named <code class="event">begin</code> was re-named to <code class="event">loadstart</code>, and entries in the
table were added for the
<code class="event">seeking</code>
and
<code class="event">seeked</code>
events.</li>
</ul>
</div>
<div id="the-canvas" class="section">
<h2>Section 3.12.11, The canvas element <a class="hash" href="#the-canvas">#</a> <a class="toc-bak" href="#the-canvas-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-canvas">Section 3.12.11, The canvas element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-canvas">Section 3.12.11, The canvas element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were
made:</p>
<ul>
<li>The following statements were added:
<blockquote>
<p><q>Arguments other than the contextId
must be ignored, and must not cause the user
agent to raise an exception (as would normally
occur if a method was called with the wrong
number of arguments).</q></p>
</blockquote>
<blockquote>
<p><q>If the canvas has no pixels (i.e.
either its horizontal dimension or its vertical
dimension is zero) then the method must return
the string “data:,”. (This is the shortest data:
URI; it represents the empty string in a
text/plain resource.)</q></p>
</blockquote>
</li>
<li>Some instances of the phrase “with scripting
enabled” and “with scripting disabled” were changed
to refer instead to the states <strong>with
script</strong> and <strong>without
script</strong>.</li>
<li>A note concerning the case of trying to use the
<code class="method">toDataURL()</code> method with
image types other than PNG was emended to read
(added text highlighted):
<blockquote>
<p><q>When trying to use types other than
image/png, authors can check if the image was
really returned in the requested format by
checking to see if the returned string starts
with one the exact strings “data:image/png,” or
“data:image/png;”. If it does, the image is PNG,
and thus the requested type was not supported.
(The one exception to this is if the canvas has
either no height or no width, in which case the
result might simply be
“data:,”.)</q></p>
</blockquote>
</li>
<li>A statement regarding preventing information
leakage from the
<code class="method">toDataURL()</code>
and
<code class="method">getImageData()</code>
methods
was moved to become part of a newly added “Security
with canvas elements” subsection.</li>
</ul>
<div id="the-2d" class="section">
<h2>Section 3.12.11.1, The 2D context <a class="hash" href="#the-2d">#</a> <a class="toc-bak" href="#the-2d-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-2d">Section 3.12.11.1, The 2D context</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-2d">Section 3.12.11.1, The 2D context</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section provides an extensive
<strong>immediate-mode graphics API</strong> for use
with the <code class="element">canvas</code>
element. In this section, the following changes were
made:</p>
<ul>
<li>In the interface definition for the
<code>CanvasRenderingContext2D</code> interface,
the following DOM attributes were added:
<ul>
<li><code class="domattribute">font</code></li>
<li><code class="domattribute">textAlign</code></li>
<li><code class="domattribute">textBaseline</code></li>
</ul>
Also, the following methods were added:
<ul>
<li><code class="method">fillText</code></li>
<li><code class="method">strokeText</code></li>
<li><code class="method">measureText</code></li>
<li><code class="method">createImageData</code></li>
</ul>
In addition, the <code>TextMetrics</code>
interface was added.</li>
<li>A number of significant refinements were made
to existing text throughout various
subsections.</li>
<li>A new and extensive “Text” subsection was
added. It concerns rendering of text to a
canvas.</li>
<li>A new “Security with canvas elements”
subsection was added. It begins with the following
statement:
<blockquote><p>
<q>Information leakage can occur if
scripts from one origin are exposed to images
from another origin (one that isn’t the
same).</q></p>
</blockquote>
<blockquote>
<p><q>To mitigate this, canvas elements
are defined to have a flag indicating whether
they are origin-clean. All canvas elements
must start with their origin-clean set to
true.</q></p>
</blockquote>
It then lists a specific set actions, each of
which must cause the <var>origin-clean</var> flag
to be set to <code>false</code>. In addition, it
includes the following statements:
<blockquote>
<p><q>Whenever the toDataURL() method of
a canvas element whose origin-clean flag is
set to false is called, the method must
immediately raise a security
exception.</q></p>
</blockquote>
<blockquote>
<p><q>Whenever the getImageData() method
of the 2D context of a canvas element whose
origin-clean flag is set to false is called,
the method must immediately raise a security
exception.</q></p>
</blockquote>
</li>
</ul>
</div>
</div>
<div id="the-map" class="section">
<h2>Section 3.12.12, The map element <a class="hash" href="#the-map">#</a> <a class="toc-bak" href="#the-map-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-map">Section 3.12.12, The map element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-map">Section 3.12.12, The map element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were made:</p>
<ul>
<li>The content model for the element was changed to
add as an element-specific attribute the
<code class="htmlattribute">name</code>
attribute, which “gives the map a name so that it can
be referenced”.</li>
<li>The
<code class="domattribute">name</code>
DOM attribute was added to the interface definition
for the
<code>HTMLMapElement</code>
interface.</li>
</ul>
</div>
<div id="the-area" class="section">
<h2>Section 3.12.13, The area element <a class="hash" href="#the-area">#</a> <a class="toc-bak" href="#the-area-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-area">Section 3.12.13, The area element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-area">Section 3.12.13, The area element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following statement was added:
“The DOM attribute shape must reflect the shape
content attribute, limited to only known values.”</p>
</div>
<div id="image-maps" class="section">
<h2>Section 3.12.14, Image maps <a class="hash" href="#image-maps">#</a> <a class="toc-bak" href="#image-maps-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#image-maps">Section 3.12.14, Image maps</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#image-maps">Section 3.12.14, Image maps</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, some instances of the phrase
“hashed ID reference” were changed to “hash-name reference”.</p>
</div>
<div id="mathml" class="section">
<h2>Section 3.12.15 [new], MathML <a class="hash" href="#mathml">#</a> <a class="toc-bak" href="#mathml-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#mathml">Section 3.12.15 [new], MathML</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#mathml">Section 3.12.15 [new], MathML</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This short section is newly added. It reads in
whole:</p>
<blockquote>
<p><q>The math element from the MathML
namespace falls into the embedded content category
for the purposes of the content models in this
specification.</q></p>
</blockquote>
<blockquote>
<p><q>User agents must handle text other than
inter-element whitespace found in MathML elements
whose content models do not allow raw text by
pretending for the purposes of MathML content
models, layout, and rendering that that text is
actually wrapped in an mtext element in the MathML
namespace. (Such text is not, however,
conforming.)</q></p>
</blockquote>
<blockquote>
<p><q>User agents must act as if any MathML element
whose contents does not match the element’s
content model was replaced, for the purposes of
MathML layout and rendering, by an merror element
in the MathML namespace containing some appropiate
error message.</q></p>
</blockquote>
<blockquote>
<p><q>To enable authors to use MathML tools that only
accept MathML in its XML form, interactive HTML
user agents are encouraged to provide a way to
export any MathML fragment as a
namespace-well-formed XML
fragment.</q></p>
</blockquote>
</div>
<div id="svg" class="section">
<h2>Section 3.12.16 [new], SVG <a class="hash" href="#svg">#</a> <a class="toc-bak" href="#svg-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#svg">Section 3.12.16 [new], SVG</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#svg">Section 3.12.16 [new], SVG</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This short section is newly added. It reads in
whole:</p>
<blockquote>
<p><q>The svg element from the SVG namespace
falls into the embedded content category for the
purposes of the content models in this
specification.</q></p>
</blockquote>
<blockquote>
<p><q>To enable authors to use SVG tools that only
accept SVG in its XML form, interactive HTML user
agents are encouraged to provide a way to export
any SVG fragment as a namespace-well-formed XML
fragment.</q></p>
</blockquote>
</div>
</div>
<div id="tabular" class="section">
<h2>Section 3.13 [was 3.15], Tabular data <a class="hash" href="#tabular">#</a> <a class="toc-bak" href="#tabular-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#tabular">Section 3.13 [was 3.15], Tabular data</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#tabular">Section 3.13 [was 3.15], Tabular data</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section concerns the
<code class="element">table</code>
element and its descendant-element hierarchy.</p>
<div id="the-table" class="section">
<h2>Section 3.13.2, The table element <a class="hash" href="#the-table">#</a> <a class="toc-bak" href="#the-table-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-table">Section 3.13.2, The table element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-table">Section 3.13.2, The table element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were
made:</p>
<ul>
<li>The
<code class="method">createTBody()</code>
method was added to the interface definition for the
<code>HTMLTableElement</code> interface.</li>
<li>Following a statement of the conformance
requirement that a
<code class="element">table</code>
element must have “Zero or more tbody elements, or
One or more tr elements”, the following note was
added: <strong>(Only expressible in the XML
serialization.)</strong></li>
<li>A statement giving conformance requirements for the
<code class="domattribute">caption</code>
DOM attribute was emended to read (added text
highlighted),
<q>The caption DOM attribute must
return, on getting, the first caption element
child of the table element<em class="highlight">, if
any, or null otherwise</em></q>.</li>
<li>A statement giving conformance requirements for the
<code class="domattribute">tHead</code>
DOM attribute was emended to read (added text
highlighted),
<q>The tHead DOM attribute must return, on getting,
the first thead element child of the table
element<em class="highlight">, if any, or null
otherwise</em></q>.</li>
<li>A statement giving conformance requirements for the
<code class="domattribute">tFoot</code>
DOM attribute was emended to read (added text
highlighted),
<q>The tFoot DOM attribute must return, on getting,
the first tfoot element child of the table
element<em class="highlight">, if any, or null
otherwise</em></q>.</li>
<li>The following new statement was added: <q>The
createTBody() method must create a new tbody
element, insert it immediately after the last
tbody element in the table element, if any, or at
the end of the table element if the table element
has no tbody element children, and then must
return the new tbody element.</q></li>
<li>The algorithm that must run when the
<code class="method">deleteRow()</code>
method is called was revised.</li>
</ul>
</div>
<div id="the-colgroup" class="section">
<h2>Section 3.13.4, The colgroup element <a class="hash" href="#the-colgroup">#</a> <a class="toc-bak" href="#the-colgroup-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-colgroup">Section 3.13.4, The colgroup element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-colgroup">Section 3.13.4, The colgroup element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were
made:</p>
<ul>
<li>The following statement that concerns requirements
for the
<code class="htmlattribute">span</code>
attribute on the
<code class="element">colgroup</code>
element
was <strong>removed</strong> completely: “Its default
value, which must be used if parsing the attribute as
a non-negative integer returns either an error or
zero, is 1.”</li>
<li>A statement that concerns requirements
for the
<code class="htmlattribute">span</code>
DOM attribute was revised to now read, <strong>The
span DOM attribute must reflect the content
attribute of the same name. The value must be
limited to only positive non-zero
numbers.</strong> (it had previously stated, “on
setting, if the new value is 0, then an
INDEX_SIZE_ERR exception must be raised”.</li>
</ul>
</div>
<div id="the-col" class="section">
<h2>Section 3.13.5, The col element <a class="hash" href="#the-col">#</a> <a class="toc-bak" href="#the-col-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-col">Section 3.13.5, The col element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-col">Section 3.13.5, The col element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were
made:</p>
<ul>
<li>The following statement that concerns requirements
for the
<code class="htmlattribute">span</code>
attribute on the
<code class="element">col</code>
element
was <strong>removed</strong> completely: “Its default
value, which must be used if parsing the attribute as
a non-negative integer returns either an error or
zero, is 1.”</li>
<li>A statement that concerns requirements
for the
<code class="htmlattribute">span</code>
DOM attribute was revised to now read, <strong>The
span DOM attribute must reflect the content
attribute of the same name. The value must be
limited to only positive non-zero
numbers.</strong> (it had previously stated, “on
setting, if the new value is 0, then an
INDEX_SIZE_ERR exception must be raised”.</li>
</ul>
</div>
<div id="the-tbody" class="section">
<h2>Section 3.13.6, The tbody element <a class="hash" href="#the-tbody">#</a> <a class="toc-bak" href="#the-tbody-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-tbody">Section 3.13.6, The tbody element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-tbody">Section 3.13.6, The tbody element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were
made:</p>
<ul>
<li>The content model for the element was changed to
require <q>Zero or more tr elements</q>. (It had
previously required “One or more tr elements”.)</li>
</ul>
</div>
<div id="the-thead" class="section">
<h2>Section 3.13.7, The thead element <a class="hash" href="#the-thead">#</a> <a class="toc-bak" href="#the-thead-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-thead">Section 3.13.7, The thead element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-thead">Section 3.13.7, The thead element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were
made:</p>
<ul>
<li>The content model for the element was changed to
require <q>Zero or more tr elements</q>. (It had
previously required “One or more tr elements”.)</li>
</ul>
</div>
<div id="the-tfoot" class="section">
<h2>Section 3.13.8, The tfoot element <a class="hash" href="#the-tfoot">#</a> <a class="toc-bak" href="#the-tfoot-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-tfoot">Section 3.13.8, The tfoot element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-tfoot">Section 3.13.8, The tfoot element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were
made:</p>
<ul>
<li>The content model for the element was changed to
require <q>Zero or more tr elements</q>. (It had
previously required “One or more tr elements”.)</li>
</ul>
</div>
<div id="the-tr" class="section">
<h2>Section 3.13.9, The tr element <a class="hash" href="#the-tr">#</a> <a class="toc-bak" href="#the-tr-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-tr">Section 3.13.9, The tr element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-tr">Section 3.13.9, The tr element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were
made:</p>
<ul>
<li>The content model for the element was changed to
require <q>Zero or more td or th elements</q> (It had
previously required “One or more tr elements”.)</li>
<li>In a statement that gives conformance requirements
for the
<code class="domattribute">rowIndex</code>
DOM attribute,
for the case where no table exists that meets
particular criteria, the text was changed to state
that the attribute must return <code>-1</code>. (It
had stated that it must return 0.)</li>
<li>In a statement that gives conformance requirements
for the
<code class="domattribute">sectionRowIndex</code>
DOM attribute,
for the case where no parent element exists that meets
particular criteria, the text was changed to state
that the attribute must return <code>-1</code>. (It
had stated that it must return 0.)</li>
</ul>
</div>
<div id="the-td" class="section">
<h2>Section 3.13.10, The td element <a class="hash" href="#the-td">#</a> <a class="toc-bak" href="#the-td-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-td">Section 3.13.10, The td element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-td">Section 3.13.10, The td element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were
made:</p>
<ul>
<li>The category to which the
<code class="element">td</code>
element belongs was changed from “None” to
<strong>sectioning root</strong>.</li>
<li>The interface that corresponds to the
element was renamed from “HTMLTableCellElement” to
<code>HTMLTableDataCellElement</code>.</li>
<li>The
<code class="htmlattribute">headers</code>
content attribute was added to the list of conformant
attributes for the element, and the
<code class="domattribute">headers</code>
DOM attribute was added to the interface definition for
the <code>HTMLTableDataCellElement</code> interface.</li>
<li> The
<code class="domattribute">colSpan</code>
and
<code class="domattribute">rowSpan</code>
DOM attributes were <strong>removed</strong> from
the interface definition for the
<code>HTMLTableDataCellElement</code>
interface.</li>
<li>The text of the section was revised to remove
references to the
<code class="domattribute">colSpan</code>
and
<code class="domattribute">rowSpan</code>
DOM attributes
and to add references to the
<code class="domattribute">headers</code>
DOM attribute.</li>
</ul>
</div>
<div id="the-th" class="section">
<h2>Section 3.13.11, The th element <a class="hash" href="#the-th">#</a> <a class="toc-bak" href="#the-th-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-th">Section 3.13.11, The th element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-th">Section 3.13.11, The th element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were
made:</p>
<ul>
<li>The text of the section was revised to remove
references to the
<code class="htmlattribute">colspan</code>
and
<code class="htmlattribute">rowSpan</code>
content attributes.</li>
</ul>
</div>
<div id="attributes0" class="section">
<h2>Section 3.13.12 [new], Attributes common to td and th
elements <a class="hash" href="#attributes0">#</a> <a class="toc-bak" href="#attributes0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#attributes0">Section 3.13.12 [new], Attributes common to td and th
elements</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#attributes0">Section 3.13.12 [new], Attributes common to td and th
elements</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section is newly added. It provides</p>
<ul>
<li>an
interface definition for the
<code>HTMLTableCellElement</code>
interface; the
conformance requirements for the
<code class="element">td</code>
and
<code class="element">th</code>
elements
now state that they implement interfaces that inherit
from that interface</li>
<li>Conformance criteria for the
<code class="htmlattribute">colspan</code>
and
<code class="htmlattribute">rowSpan</code>
content attributes.</li>
<li>Conformance criteria for the
<code class="domattribute">colSpan</code>,
<code class="domattribute">rowSpan</code>,
and
<code class="domattribute">cellIndex</code>
DOM attributes.</li>
</ul>
</div>
<div id="processing" class="section">
<h2>Section 3.13.13, Processing model <a class="hash" href="#processing">#</a> <a class="toc-bak" href="#processing-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#processing">Section 3.13.13, Processing model</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#processing">Section 3.13.13, Processing model</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were
made:</p>
<ul>
<li>Changes were made in the introduction to this
section to bring it in alignment with related change
made in other parts of the specification.</li>
<li>A large number of substantive changes were made
to the algorithms in the “Forming a table”
subsection; among those changes were the addition of
steps related to the <code class="element">tfoot</code> and <code class="element">caption</code> elements, as well as a
number of other changes, including a reformulation and
refinement of a part of the previous text to form an
<strong>algorithm for growing downward-growing
cells</strong>.</li>
</ul>
</div>
</div>
<div id="forms" class="section">
<h2>Section 3.14 [was 3.16], Forms <a class="hash" href="#forms">#</a> <a class="toc-bak" href="#forms-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#forms">Section 3.14 [was 3.16], Forms</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#forms">Section 3.14 [was 3.16], Forms</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section is currently a placeholder without any
content except the following editorial notes.</p>
<blockquote>
<p><q> This section will contain definitions of
the form element and so forth.</q></p>
<p><q>This section will be a rewrite of the
HTML4 Forms and <a href="http://www.whatwg.org/specs/web-forms/current-work/">Web Forms 2.0</a> specifications, with hopefully
no normative changes.</q></p>
<p><q>If a form is in a browsing context whose
sandboxed forms browsing context flag is set, it
must not be submitted.</q></p>
</blockquote>
</div>
<div id="scripting0" class="section">
<h2>Section 3.15 [was 3.17], Scripting <a class="hash" href="#scripting0">#</a> <a class="toc-bak" href="#scripting0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#scripting0">Section 3.15 [was 3.17], Scripting</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#scripting0">Section 3.15 [was 3.17], Scripting</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>An introduction was added for this section. The full
text of that introduction reads:</p>
<blockquote>
<p><q>Scripts allow authors to add interactivity
to their documents.</q></p>
<p><q>Authors are encouraged to use declarative
alternatives to scripting where possible, as declarative
mechanisms are often more maintainable, and many users
disable scripting.</q></p>
<p><q>For example, instead of using script to show or hide
a section to show more details, the details element
could be used.</q></p>
<p><q>Authors are also encouraged to make their
applications degrade gracefully in the absence of
scripting support.</q></p>
<p><q>For example, if an author provides a link in a table
header to dynamically resort the table, the link could
also be made to function without scripts by requesting
the sorted table from the server.</q></p>
</blockquote>
<div id="script" class="section">
<h2>Section 3.15.1, The script element <a class="hash" href="#script">#</a> <a class="toc-bak" href="#script-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#script">Section 3.15.1, The script element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#script">Section 3.15.1, The script element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, a number of significant changes
were made made:</p>
<ul>
<li>The
<code class="htmlattribute">charset</code>
content attribute was added to the list of conformant
attributes for the element, and the
<code class="domattribute">charset</code>
DOM attribute was added to the interface definition for
the <code>HTMLScriptElement</code> interface.</li>
<li>Conformance criteria for the
<code class="htmlattribute">charset</code>
content attribute and
<code class="domattribute">charset</code>
DOM attribute were added.</li>
<li>An part of conformance statement that read, “If
scripting is disabled, or if the Document has
designMode enabled” was revised to now read, “If the
script element is <strong>without
script</strong>“.</li>
<li>The text providing the conformance requirements
for the <code class="element">script</code> element
and the algorithm for running scripts in script
blocks within documents were revised
extensively.</li>
</ul>
</div>
<div id="the-noscript" class="section">
<h2>Section 3.15.2, The noscript element <a class="hash" href="#the-noscript">#</a> <a class="toc-bak" href="#the-noscript-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-noscript">Section 3.15.2, The noscript element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-noscript">Section 3.15.2, The noscript element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were
made:</p>
<ul>
<li>The content model for the element was updated to
change instances of the phrases “when scripting is
disabled” and “when scripting is enabled” to instead
use the terms “without script” and “with
script”, and statements within the text of the
section were revised to use those terms.</li>
<li>The following note was added:
<q>The noscript element is only effective in the HTML
serialization, it has no effect in the XML
serialization.</q></li>
<li>The following note was added: <q>The noscript
element interacts poorly with the designMode
feature. Authors are encouraged to not use
noscript elements on pages that will have
designMode enabled.</q></li>
</ul>
</div>
<div id="the-event-source" class="section">
<h2>Section 3.15.3, The event-source element <a class="hash" href="#the-event-source">#</a> <a class="toc-bak" href="#the-event-source-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#the-event-source">Section 3.15.3, The event-source element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#the-event-source">Section 3.15.3, The event-source element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, a statement regarding the
<code class="htmlattribute">src</code> attribute was
changed to now read (changed text highlighted), <q>The
src attribute, if specified, must give a URI (or IRI)
pointing to a resource that uses the
<em class="highlight">text/event-stream</em>
format.</q> (The highlighted part had previously read,
“application/x-dom-event-stream”.</p>
</div>
</div>
<div id="interactive-elements" class="section">
<h2>Section 3.16 [was 3.18], Interactive elements <a class="hash" href="#interactive-elements">#</a> <a class="toc-bak" href="#interactive-elements-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#interactive-elements">Section 3.16 [was 3.18], Interactive elements</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#interactive-elements">Section 3.16 [was 3.18], Interactive elements</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section concerns the <code class="element">details</code>, <code class="element">datagrid</code>, <code class="element">command</code>, <code class="element">menu</code> elements.</p>
<div id="datagrid" class="section">
<h2>Section 3.16.2, The datagrid element <a class="hash" href="#datagrid">#</a> <a class="toc-bak" href="#datagrid-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#datagrid">Section 3.16.2, The datagrid element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#datagrid">Section 3.16.2, The datagrid element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p><code class="element">datagrid</code>
is a new element and feature introduced in HTML 5. It
is an interactive representation of a tree, a list, or
a set of tabular data. Support for the <code class="element">datagrid</code> feature has not yet
been implemented in any user agents.</p>
<p>In this section, the following changes were
made:</p>
<ul>
<li>The category “sectioning root” was added to the
list of categories to which the <code class="element">datagrid</code> element belongs.</li>
<li>Part of the content model for the element was
emended to read (highlighting added), <q>Flow
content, but where the first element child node,
if any, is not a table, <em class="highlight">select, or datalist</em>
element</q></li>
<li>The interface definition for the
<code>DataGridDataProvider</code> interface was
updated for consistency with the Web IDL
specification <a href="#webidl">[WebIDL]</a>.</li>
<li>In the “Requirements for interactive user
agents” subsection, a statement that concerns
invocation of a data provider’s <code class="method">setCellCheckedState()</code> method
was revised to read (change highlighted), “The state
should be represented by the number 1 if the new
state is checked, 0 if the new state is unchecked,
and <em class="highlight">−1</em> if the new state is
indeterminate.”</li>
<li>The interface definition for the
<code>DataGridSelection</code> interface was
updated for consistency with the Web IDL
specification <a href="#webidl">[WebIDL]</a>.</li>
</ul>
</div>
<div id="menus" class="section">
<h2>Section 3.16.4, The menu element <a class="hash" href="#menus">#</a> <a class="toc-bak" href="#menus-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#menus">Section 3.16.4, The menu element</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#menus">Section 3.16.4, The menu element</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following editorial comment
was added: “Context menus should inherit (so clicking
on a span in a paragraph with a context menu should
show the menu).”</p>
</div>
<div id="commands" class="section">
<h2>Section 3.16.5, Commands <a class="hash" href="#commands">#</a> <a class="toc-bak" href="#commands-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#commands">Section 3.16.5, Commands</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#commands">Section 3.16.5, Commands</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section concerns the <strong>command</strong>
abstraction behind menu items, buttons, and links. In
this section, the interface definition for the
<code>Command</code> interface was updated for
consistency with the Web IDL specification <a href="#webidl">[WebIDL]</a>.</p>
</div>
</div>
<div id="datatemplate" class="section">
<h2>Section 3.17 [was 3.19], Data Templates <a class="hash" href="#datatemplate">#</a> <a class="toc-bak" href="#datatemplate-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#datatemplate">Section 3.17 [was 3.19], Data Templates</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#datatemplate">Section 3.17 [was 3.19], Data Templates</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section concerns the
<code class="element">datatemplate</code>,
<code class="element">rule</code>,
and
<code class="element">nest</code>
elements. No substantive changes were added to this
section, and support for the
<code class="element">datatemplate</code>
elements and its associated elements remains
unimplemented in any user agents.</p>
</div>
<div id="miscellaneous" class="section">
<h2>Section 3.18 [was 3.20], Miscellaneous elements <a class="hash" href="#miscellaneous">#</a> <a class="toc-bak" href="#miscellaneous-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/semantics.html#miscellaneous">Section 3.18 [was 3.20], Miscellaneous elements</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/semantics.html#miscellaneous">Section 3.18 [was 3.20], Miscellaneous elements</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section concerns the
<code class="element">legend</code>,
and
<code class="element">div</code>
elements. No substantive changes were made in this
section (other than global changes that were made to
other parts of the specification as well; for example,
the replacement of the term “prose content” with the
term <strong>flow content</strong>).</p>
</div>
</div>
<div id="web-browsers" class="section">
<h2>Section 4, Web browsers <a class="hash" href="#web-browsers">#</a> <a class="toc-bak" href="#web-browsers-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#web-browsers">Section 4, Web browsers</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#web-browsers">Section 4, Web browsers</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section, which applies most directly to Web
browsers, defines features affecting environments that
deal with multiple pages, links between pages, and running
scripts.</p>
<div id="windows" class="section">
<h2>Section 4.1, Browsing context <a class="hash" href="#windows">#</a> <a class="toc-bak" href="#windows-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#windows">Section 4.1, Browsing context</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#windows">Section 4.1, Browsing context</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines a <strong>browsing
context</strong> as “a collection of one or more
Document objects, and one or more
<strong>views</strong>, as well as particular browsing
contexts, including the <strong>active
document</strong>“. In this section, the following
changes were made:</p>
<ul>
<li>A statement related to creation of a browsing
context was updated to read (added text highlighted):
<q>When a browsing context is first created, it must
be created with a single Document in its session
history, whose address is about:blank, which is
marked as being an HTML document, <em class="highlight">and whose character encoding is
UTF-8</em>.</q></li>
<li>A description was added of how the
<strong>origin</strong> of the
<code>about:blank</code> <code>Document</code> object
is set.</li>
<li>In the “Nested browsing contexts” subsection, the
following statements were added:
<blockquote>
<p><q>The transitive closure of parent browsing
contexts for a nested browsing context
gives the list of ancestor browsing
contexts.</q></p>
<p><q>A nested browsing context can have a
seamless browsing context flag set, if it is
embedded through an iframe element with a
seamless attribute.</q></p>
</blockquote></li>
<li>A definition of the concept of an <strong>ancestor of
a browsing context</strong> was added.</li>
<li>A “Security” subsection was added, with a
definition of the concept of <strong>allowed to
navigate</strong>.</li>
<li>In the “Browsing context names” subsection, a
number of changes were made — among them, the addition
of conformance statements related to the condition of
the <strong>sandboxed navigation browsing context
flag</strong> being set — and a statement was added
that <q>User agent implementors are encouraged to
provide a way for users to configure the user agent
to always reuse the current browsing
context.</q></li>
</ul>
</div>
<div id="the-default0" class="section">
<h2>Section 4.2, The default view <a class="hash" href="#the-default0">#</a> <a class="toc-bak" href="#the-default0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#the-default0">Section 4.2, The default view</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#the-default0">Section 4.2, The default view</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines the interface for the
<code>Window</code> object. In this section, the
following changes were made:</p>
<ul>
<li>The interface definition was updated for
consistency with the Web IDL specification <a href="#webidl">[WebIDL]</a> and to refer
to the <code class="domattribute">localStorage</code>
attribute (which was previously named <code class="domattribute">globalStorage</code> and to add
the <code class="method">showModalDialog</code> and
<code class="method">XXX4</code>
methods and <code class="domattribute">onstorage</code> attribute.
(Note that the “<code class="method">XXX4</code>“
name is simply a placeholder; it is not intended that
the method will be implemented with that literal name.)</li>
<li>In the “Security” subsection, the <code class="method">XXX4</code> and <code class="domattribute">frames</code> attribute were
added to the list of exceptions.</li>
<li>In the “APIs for creating and navigating browsing
contexts by name” subsection, the phrase “valid
browsing context name” was emended to become <q>valid
browsing context name or keyword</q>, and
conformance requirements related to using the
<strong>script execution context</strong> were
added.</li>
<li>In the “Accessing other browsing contexts”
subsection, for consistency with the Web IDL <a href="#webidl">[WebIDL]</a>
specification, language that stated conformance
requirements for ECMAScript implementations was
removed, and requirements were added in relation to
the condition of the <strong>sandboxed origin browsing
context flag</strong> being set.</li>
</ul>
</div>
<div id="origin" class="section">
<h2>Section 4.3 [was 4.3.2], Origin <a class="hash" href="#origin">#</a> <a class="toc-bak" href="#origin-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#origin">Section 4.3 [was 4.3.2], Origin</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#origin">Section 4.3 [was 4.3.2], Origin</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section, which had been a subsection
of the “Scripting” section, was moved up a level in the
section hierarchy to instead become a sibling to section
to the “Scripting” section. This section defines the
<strong>origin</strong> and <strong>effective script
origin</strong> of a resource (a URI, a script, or a
<code>Document</code> object or image). In this section,
the following changes were made:</p>
<ul>
<li>The term <strong>effective script origin</strong>
has been introduced, and its characteristics defined
along with those of the term <strong>origin</strong>.</li>
<li>The word “origin” was replaced by “value” in the
sentence that now reads, “If the scheme is ‘file’, then
the user agent may return a UA-specific value”</li>
<li>Some instances of the phrase “the same as the
origin” were refined to read “equal to the
origin”.</li>
<li>The criteria for determining origin and effective
script origin were reorganized and expanded, with the
“Unscripted same-origin checks” subsection being moved
to become the “For URIs” part of that list of
criteria.</li>
<li>An algorithm was added for determining the whether
any two given origins are of the <strong>same
origin</strong></li>
<li>A new “Relaxing the same-origin restriction”
subsection was added, with most of the content of that
subsection being content moved out from the “Resource
metadata management” subsection within the “The Document
Object Model” major section. This “Relaxing the
same-origin restriction” now more explicitly defines an
algorithm that must be run when setting the <code class="domattribue">domain</code> attribute on
<code>Document</code> objects.</li>
</ul>
</div>
<div id="scripting" class="section">
<h2>Section 4.3 [now 4.4], Scripting <a class="hash" href="#scripting">#</a> <a class="toc-bak" href="#scripting-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#scripting">Section 4.3 [now 4.4], Scripting</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#scripting">Section 4.3 [now 4.4], Scripting</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section provides conformance criteria
related to mechanisms that can cause author-provided
executable code to run in the context of a document
scripting, as well as defining the states
<strong>scripting is enabled</strong> and
<strong>scripting is disabled</strong>.</p>
<ul>
<li>A new “Script execution contexts” subsection was
added to define the <strong>script execution
context</strong> of a script. It also introduces the
term <strong>without script</strong> and the term
<strong>with script</strong> (<q>A
node is said to be with script if it is not without
script</q>), along with the following editorial
note: <q>If you can find a better pair of terms than
“with script” and “without script” let me know. The
only things I can find that are less confusing are
also way, way longer.</q></li>
<li>In the “The javascript: protocol” subsection, some
clarifying language was added, and the case for the
“dereference context” that had previously stated that it
must be “the browsing context of the Document to which
belongs the element for which the URI is being
dereferenced, or to which the style sheet for which the
URI is being dereferenced applies, whichever is
appropriate” was changed to instead say that it must be
an empty object for that same case; also, the
following note was added: <q>The rules for handling
script execution in a script execution context
include making the script not execute (and just
return void) in certain cases, e.g. in a sandbox or
when the user has disabled scripting altogether.</q></li>
<li>In the “Events” subsection, a
number of changes were made — among them, the addition
of the <code class="event">onstorage</code> event to the list of
event handler attributes that must be supported by all
HTML elements and on <code>Window</code> objects. Also,
a statement related to the <strong>script execution
context</strong> was added, and, in the
same subsection, a clarifying statement that <q>The
listener argument is emphatically not the event
handler attribute itself.</q> Also, for consistency
with the Web IDL specification <a href="#webidl">[WebIDL]</a>, some statements that
provided conformance criteria for ECMAScript DOM
bindings were removed. </li>
</ul>
</div>
<div id="user-prompts" class="section">
<h2>Section 4.4 [now 4.5], User prompts <a class="hash" href="#user-prompts">#</a> <a class="toc-bak" href="#user-prompts-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#user-prompts">Section 4.4 [now 4.5], User prompts</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#user-prompts">Section 4.4 [now 4.5], User prompts</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section provides conformance criteria
related to dialogs presented to users. In this section,
the following changes were made:</p>
<ul>
<li>The existing content of this section was moved,
unchanged, to become the “Simple dialogs”
subsection.</li>
<li>A new “Dialogs implemented using separate
documents” subsection was added. That subsection defines
how user agents must behave when the <code class="method">showModalDialog()</code> method is
invoked.</li>
<li>A new “Notifications” subsection was added. That
subsection concerns <q>short, transient messages that
bring the user’s attention to new information, or
remind the user of scheduled events</q>, and defines
a new <code class="method">showNotification()</code>
method.</li>
<li>A new “Printing” subsection was added. It defines
steps that take place when the
<code class="method">print()</code>
method is invoked, including steps related to the
<code class="event">beforeprint</code>
and
<code class="event">afterprint</code>
events</li>
</ul>
</div>
<div id="browser" class="section">
<h2>Section 4.5 [now 4.6], Browser state <a class="hash" href="#browser">#</a> <a class="toc-bak" href="#browser-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#browser">Section 4.5 [now 4.6], Browser state</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#browser">Section 4.5 [now 4.6], Browser state</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines how Web sites can
register themselves as potential protocol and content
handlers; for example, how a Web-based mail application
can register itself as a potential handler for the
<code>mailto:</code> protocol.</p>
<p>No changes at all were made to this section since the
FPWD.</p>
</div>
<div id="offline" class="section">
<h2>Section 4.6 [now 4.7], Offline Web applications <a class="hash" href="#offline">#</a> <a class="toc-bak" href="#offline-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#offline">Section 4.6 [now 4.7], Offline Web applications</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#offline">Section 4.6 [now 4.7], Offline Web applications</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines a mechanism by which Web
applications can maintain an <strong>application
cache</strong>, with an accompanying
<strong>manifest</strong>, that allows some limited use
of the application even when the user is offline.</p>
<p>A variety of refinements have been made to this
section since the FPWD.</p>
</div>
<div id="history" class="section">
<h2>Section 4.7 [now 4.8], Session history and navigation <a class="hash" href="#history">#</a> <a class="toc-bak" href="#history-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#history">Section 4.7 [now 4.8], Session history and navigation</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#history">Section 4.7 [now 4.8], Session history and navigation</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines the <strong>session
history</strong> for a browsing context and its
associated <code>History</code> interface. In this
section, the following changes were made:</p>
<ul>
<li>Language defining the <strong>last activated
entry</strong> was added.</li>
<li>A significant part of what had been in this
section was moved out to form the basis for the
“History traversal” subsection in the “Browsing the
Web” section.</li>
<li>A number of other changes were made, including the
addition of more explicit steps in the “Activating
state object entries” subsection, and, for consistency
with the Web IDL specification <a href="#webidl">[WebIDL]</a>, the removal of
conformance requirements for the ECMAScript DOM binding
for the <code>Location</code> interface, and a
statement related to the <strong>script execution
context</strong> was added.</li>
</ul>
</div>
<div id="browsing0" class="section">
<h2>Section 4.9 [new], Browsing the Web <a class="hash" href="#browsing0">#</a> <a class="toc-bak" href="#browsing0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#browsing0">Section 4.9 [new], Browsing the Web</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#browsing0">Section 4.9 [new], Browsing the Web</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section was formed by moving the
contents of the existing “Navigating across documents”
section down one level in the section hierarchy and adding to it
a subsection on “History traversal”, which was moved
here from the “Session history and navigation”
section.</p>
<p>A number of changes were made to the content that was
moved to form this section — among them, the addition of
statements related to the <strong>source browsing
context</strong> and some criteria
related to the “opportunistic caching namespace” and
“opportunistically cached entries”, to setting of
document character encoding, and to the
<strong>sandboxed plugins browsing context
flag</strong>.</p>
</div>
<div id="content-type-sniffing" class="section">
<h2>Section 4.9 [now 4.10], Determining the type of a
new resource in a browsing context <a class="hash" href="#content-type-sniffing">#</a> <a class="toc-bak" href="#content-type-sniffing-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#content-type-sniffing">Section 4.9 [now 4.10], Determining the type of a
new resource in a browsing context</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#content-type-sniffing">Section 4.9 [now 4.10], Determining the type of a
new resource in a browsing context</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section provides conformance criteria
related to content-type sniffing. In this section, the
following changes were made:
</p><ul>
<li>Some changes were made to the algorithm for
finding the “sniffed type of a resource”, as well as
to the “Content-Type sniffing: feed or HTML” and
“Content-Type metadata” subsections.</li>
<li>References to UTF-32 were <strong>removed</strong>
from the table in the “Content-Type sniffing: text or
binary” subsection.</li>
<li>An item for the <code>
image/vnd.microsoft.icon</code> type was added in two
tables that list byte sequences used in the
type-sniffing algorithm.</li>
<li>revisions were made to the specific <strong>algorithm for
extracting an encoding from a
Content-Type</strong>.</li>
<li>The following note was added: <q>The above algorithm
is a willful violation of the HTTP
specification.</q></li>
</ul>
</div>
<div id="structured" class="section">
<h2>Section 4.11 [new], Structured client-side storage <a class="hash" href="#structured">#</a> <a class="toc-bak" href="#structured-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#structured">Section 4.11 [new], Structured client-side storage</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#structured">Section 4.11 [new], Structured client-side storage</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section was formed by combining the existing
“Client-side session and persistent storage of
name/value pairs” and “Client-side database storage”
sections with common sections related to disk space,
security, and privacy. A number of changes were made in
these content that is now in this section — among those
changes are the following:</p>
<ul>
<li>Some instances of “origin” were changed to
“site”.</li>
<li>In the “Storing name/value pairs” subsection, the
<code class="domattribute">globalStorage</code> DOM
attribute was renamed to <code class="domattribute">localStorage</code>.</li>
<li>The “Storing name/value pairs” subsection also
adds an definition for the <code class="interface">StorageEvent</code> interface, with
<code class="method">initStorageEvent()</code> and <code class="method">initStorageEventNS()</code>
methods.</li>
<li>Also in the “Storing name/value pairs” subsection,
some instances of the term “origin” were changed to
“site”; for example, in the statement that now reads
<q>Each site has its own separate storage area.</q></li>
<li>The “Disk space” and “Security and privacy” parts
of the “Miscellaneous implementation requirements for
storage areas” subsection of the “Client-side session
and persistent storage of name/value pairs” section
were moved to become shared sibling sections of both
the “Storing name/value pairs” and “Database storage”
subsections.</li>
<li>In the “Database storage” subsection, the
following editorial note was added:
<blockquote>
<p><q>Implementation feedback is requested on
what to do with arguments that are of types that
are not supported by the underlying SQL backend.
For example, SQLite doesn’t support booleans, so
what should the UA do if passed a boolean? The
Gears team suggests failing, not silently
converting types.</q></p>
</blockquote>
</li>
<li>Also in the “Database storage” subsection, the
interface definition for the
<code>SQLResultSetRowList</code> interface was updated
for consistency with the Web IDL specification <a href="#webidl">[WebIDL]</a>.</li>
</ul>
</div>
<div id="links" class="section">
<h2>Section 4.12, Links <a class="hash" href="#links">#</a> <a class="toc-bak" href="#links-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#links">Section 4.12, Links</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#links">Section 4.12, Links</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section provides conformance criteria
related to handling of hyperlinks. This section remains
largely unchanged, though some significant changes were
made to — among those, the following:</p>
<ul>
<li>In the “Hyperlink elements” subsection, the phrase
“valid browsing context name” was emended to become
<q>valid browsing context name or keyword</q>.</li>
<li>In the “Following hyperlinks” subsection, a
statement related to the <strong>source browsing
context</strong> was added.</li>
<li>Particularly significant changes were made to the
“Hyperlink auditing” subsection (which states
requirements for HTTP-request behavior when a user
follows a hyperlink for an <code class="element">a</code>
or <code class="element">area</code> element that has a
<code class="htmlattribute">ping</code> attribute); a
statement was added that <q>All relevant cookie and HTTP
authentication headers must be included in the
request. Which other headers are required depends on
the URIs involved</q>, and criteria was added for
conditions under which <code>Ping-From</code>,
<code>Ping-To</code>, and <code>Referer</code> HTTP
headers must be included.</li>
<li>In the “Link types” section, the link type
“contact” was removed from the table that lists
conformant link types.</li>
<li>The subsection that defined that “contact” link
type was completely removed.</li>
<li>In the subsection that defines the “icon” link
type, the following changes were made:
<ul>
<li>A definition was added for the <code class="htmlattribute">sizes</code> attribute (for
specifying sizes for icon link types) and its
conformant values</li>
<li>The
<code class="htmlattribute">type</code> attribute was
added to the set of attributes that user agents must
use when to select the most appropriate icon when
multiple icons are available.</li>
<li>The following statement was added:
<blockquote>
<p><q>If the user agent tries to use an icon but
that icon is determined, upon closer
examination, to in fact be inappropriate (e.g.
because it uses an unsupported format), then the
user agent must try the next-most-appropriate
icon as determined by the attributes.</q></p>
</blockquote>
</li>
<li>Text which had stated that “If there are multiple
equally appropriate icons, user agents must use the
first one declared in tree order” was revised to read,
<q>If there are multiple equally appropriate icons,
user agents must use the <em class="highlight">last</em> one declared in tree
order.</q></li>
<li>In reference to the
<code class="htmlattribute">sizes</code>
attribute, the following statement was added:
<blockquote>
<p><q>If the attribute is not specified, then
the user agent must assume that the given
icon is appropriate, but less appropriate
than an icon of a known and appropriate
size.</q></p>
</blockquote>
</li>
</ul>
</li>
<li>In the subsection that defines the “nofollow” link
type, a statement was emended to now read (add text
highlighted), <q>The nofollow keyword indicates that
the link is not endorsed by the original author or
publisher of the page<em class="highlight">, or that
the link to the referenced document was included
primarily because of a commercial relationship
between people affiliated with the two
pages</em>.</q>
</li><li>In the subsection that defines the “prefetch”
link
type, a statement was added that <q>There is no
default type for resources given by the “prefetch”
keyword.</q></li>
<li>In the subsection that defines the “stylesheet” link
type, a statement was added that <q>The default type
for resources given by the stylesheet keyword is
text/css</q>, and a description was added of
quirks-mode behavior with respect to this link
type.</li>
<li>In the subsection that defines the “UP” link
type, a statement was added that <q>Only one link is
created for the set of one or more “up” keywords
and, if present, the “index” keyword.</q>
</li>
</ul>
</div>
<div id="interfaces" class="section">
<h2>Section 4.13, Interfaces for URI manipulation <a class="hash" href="#interfaces">#</a> <a class="toc-bak" href="#interfaces-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/web-browsers.html#interfaces">Section 4.13, Interfaces for URI manipulation</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/web-browsers.html#interfaces">Section 4.13, Interfaces for URI manipulation</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section specifies a set of attributes for any
interface that has a “complement of URI decomposition
attributes”. In this section, a statement was added to
specify conformant behavior when replacing a component
in a URI, and a change was made to the parsing rules for
the <code class="domattribute">port</code> attribute.</p>
</div>
</div>
<div id="editing" class="section">
<h2>Section 5, Editing <a class="hash" href="#editing">#</a> <a class="toc-bak" href="#editing-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/editing.html#editing">Section 5, Editing</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/editing.html#editing">Section 5, Editing</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section describes various features that
allow authors to enable users to interactively edit documents
and parts of documents.</p>
<div id="contenteditable" class="section">
<h2>Section 5.2, The contenteditable attribute <a class="hash" href="#contenteditable">#</a> <a class="toc-bak" href="#contenteditable-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/editing.html#contenteditable">Section 5.2, The contenteditable attribute</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/editing.html#contenteditable">Section 5.2, The contenteditable attribute</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines handling of HTML
elements that have the <code class="htmlattribute">contenteditable</code> attribute.
In this section, the following changes were made:</p>
<ul>
<li>Language defining the <strong>inherit
state</strong> and related handling was added.</li>
<li>A sentence was added to define handling of the
<code class="domattribute">isContentEditable</code> DOM
attribute.</li>
<li>In the “User editing actions” subsection, the
following statement was added: “User agents may
prevent selections from being made in ways that cross
from editable elements into non-editable elements
(e.g. by making each non-editable descendant
atomically selectable, but not allowing text selection
within them).”</li>
<li>Language was added to state that UAs should should
offer a way for the user to delete “non-editable
descendants”.</li>
<li>A general statement that “UAs should offer a way
for the user to mark text as having stress emphasis
and as being important” was removed, and the following
statements were added:
<blockquote>
<p><q>In response to a request from a user to
mark text up in italics, user agents should use
the <code class="element">i</code> element to
represent the semantic. The <code class="element">em</code> element should be used
only if the user agent is sure that the user means
to indicate stress emphasis.</q></p>
</blockquote>
<blockquote>
<p><q>In response to a request from a user to
mark text up in bold, user agents should use the
<code class="element">b</code> element to represent
the semantic. The <code class="element">strong</code> element should be
used only if the user agent is sure that the user
means to indicate importance.</q></p>
</blockquote>
</li>
<li>In the “Making entire documents editable”
subsection, refinements were made to the description
of handling for the case when the <code class="domattribute">designMode</code> DOM attribute
on the <code>Document</code> object is set.</li>
</ul>
</div>
<div id="dnd" class="section">
<h2>Section 5.3, Drag and drop <a class="hash" href="#dnd">#</a> <a class="toc-bak" href="#dnd-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/editing.html#dnd">Section 5.3, Drag and drop</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/editing.html#dnd">Section 5.3, Drag and drop</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines an event-based drag-and-drop
mechanism. The bulk of this section remains unchanged
from the FPWD, with the exception of a handful of
statements that were refined or removed from the
section, and the single significant addition to the
section being the addition of a <code class="domattribute">types</code> DOM attribute to the
<code>DataTransfer</code> interface, and a description of its
handling.</p>
</div>
<div id="undo" class="section">
<h2>Section 5.4, Undo history <a class="hash" href="#undo">#</a> <a class="toc-bak" href="#undo-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/editing.html#undo">Section 5.4, Undo history</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/editing.html#undo">Section 5.4, Undo history</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines how to associate an <strong>undo
transaction history</strong> with each
<code>HTMLDocument</code> object, and an
<code>UndoManager</code> interface for
manipulating that undo transaction history. The bulk of
this section remains unchanged from the FPWD, and the
mechanism is specifies remains unimplemented in any user
agents. The only changes to this section were, for
consistency with the Web IDL specification <a href="#webidl">[WebIDL]</a>, the removal
of a sentence stating conformance requirements for the
associated ECMAScript DOM binding for the
<code>UndoManager</code> interface, and a change to the
interface definition for the <code>UndoManager</code>
interface.</p>
</div>
<div id="command" class="section">
<h2>Section 5.5 [now 5.6], Command APIs <a class="hash" href="#command">#</a> <a class="toc-bak" href="#command-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/editing.html#command">Section 5.5 [now 5.6], Command APIs</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/editing.html#command">Section 5.5 [now 5.6], Command APIs</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines an <code class="methog">execCommand</code> method on the
<code>HTMLDocument</code> interface, mainly to allow
scripts to editor UI that allows users to perform
actions on the current selection or at the current caret
position. In this section, the following changes were
made:</p>
<ul>
<li>The following additional methods were added:
<ul>
<li><code class="method">queryCommandEnabled</code></li>
<li><code class="method">queryCommandIndeterm</code></li>
<li><code class="method">queryCommandState</code></li>
<li><code class="method">queryCommandSupported</code></li>
<li><code class="method">queryCommandValue</code></li>
</ul>
</li>
<li>A number of additional commands have been added and
defined.</li>
</ul>
</div>
<div id="selection" class="section">
<h2>Section 5.6 [now 5.5], The text selection APIs <a class="hash" href="#selection">#</a> <a class="toc-bak" href="#selection-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/editing.html#selection">Section 5.6 [now 5.5], The text selection APIs</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/editing.html#selection">Section 5.6 [now 5.5], The text selection APIs</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines a <strong>selection</strong>
that exists for each instance of a browsing context, and
a <code>Selection</code> interface with a <code class="method">getSelection()</code> method for
retrieving the selection. In this section, the following
changes were made:</p>
<ul>
<li>The interface definition for the
<code>Selection</code> interface was updated for
consistency with the Web IDL specification <a href="#webidl">[WebIDL]</a>.</li>
<li>Explicit references to the <code class="method">toString()</code> method in this
section were changed to refer instead to
<q>stringification</q>.</li>
<li>Statements were added to specify that User agents
<q>may selectively ignore attempts to use the API to
adjust the selection made after the user has
modified the selection</q> and <q>may also allow
the user to create selections that are not exposed
to the API.</q></li>
</ul>
</div>
</div>
<div id="comms" class="section">
<h2>Section 6, Communication <a class="hash" href="#comms">#</a> <a class="toc-bak" href="#comms-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/comms.html#comms">Section 6, Communication</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/comms.html#comms">Section 6, Communication</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>Applications written in HTML often require mechanisms
to communicate with remote servers, as well mechanisms
for applications from different domains running on the
same client to communicate with each other (so-called
“cross-document messaging”). This section defines APIs for
enabling those classes of communication; specifically,
APIs for cross-document messaging, for server-sent DOM
events, and for network connections — as well as providing
the interface definitions for messages sent in
cross-document messaging and server-sent DOM events.</p>
<div id="event1" class="section">
<h2>Section 6.1, Event definitions <a class="hash" href="#event1">#</a> <a class="toc-bak" href="#event1-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/comms.html#event1">Section 6.1, Event definitions</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/comms.html#event1">Section 6.1, Event definitions</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines the <code>MessageEvent</code>
interface. In this section, the following changes were
made:</p>
<ul>
<li>The <code class="domattribute">domain</code>
attribute was renamed <code class="domattribute">origin</code> (and its definition
was refined), the <code class="domattribute">uri</code> attribute was removed,
and the <code class="domattribute">lastEventId</code>
attribute was added.</li>
</ul>
</div>
<div id="server-sent-events" class="section">
<h2>Section 6.2, Server-sent DOM events <a class="hash" href="#server-sent-events">#</a> <a class="toc-bak" href="#server-sent-events-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/comms.html#server-sent-events">Section 6.2, Server-sent DOM events</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/comms.html#server-sent-events">Section 6.2, Server-sent DOM events</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section describes a mechanism for allowing
servers to dispatch DOM events into documents that
expect it. In this section, the specification for the
server-sent events format was rewritten; among the specific
changes made were the addition of language related to
<strong>reconnection time</strong> and the <strong>last
event ID string</strong>, and extensive changes to the
“Interpreting an event stream” subsection.</p>
</div>
<div id="network" class="section">
<h2>Section 6.3, Network connections <a class="hash" href="#network">#</a> <a class="toc-bak" href="#network-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/comms.html#network">Section 6.3, Network connections</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/comms.html#network">Section 6.3, Network connections</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines a <code>Connection</code>
interface to enable Web applications to communicate with
each other in local area networks, and to maintain
bidirectional communications with their originating
server. In this section, the only substantive changes
made were the addition of the <code class="domattribute">readyState</code> attribute to the
<code>Connection</code> interface, and corrections in
the “TCP connections” subsection to replace some
instances of “domain” with “host”. No other significant
changes were made (and the interface remains
unimplemented in any user agents).</p>
</div>
<div id="crossDocumentMessages" class="section">
<h2>Section 6.4, Cross-document messaging <a class="hash" href="#crossDocumentMessages">#</a> <a class="toc-bak" href="#crossDocumentMessages-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/comms.html#crossDocumentMessages">Section 6.4, Cross-document messaging</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/comms.html#crossDocumentMessages">Section 6.4, Cross-document messaging</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section introduces a messaging system, using the
<code class="method">postMessage()</code> method, that
allows documents to communicate with each other
regardless of their source domain, in a way designed to
not enable cross-site scripting attacks. In this
section, the following changes were made:</p>
<ul>
<li>The <code class="method">postMessage()</code> method
was changed from being synchronous to being
asynchronous.</li>
<li>A <var>targetOrigin</var> argument was added to
the <code class="method">postMessage()</code>
method.</li>
<li>The description of required user-agent behavior
when a script invokes the <code class="method">postMessage()</code> method was
expanded and made into a numbered set of steps.</li>
<li>In the “Processing model”, a clarification related
to non-<strong>same origin</strong> behavior was added
to a warning note.</li>
</ul>
</div>
</div>
<div id="repetition" class="section">
<h2>Section 7, Repetition templates <a class="hash" href="#repetition">#</a> <a class="toc-bak" href="#repetition-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/repetition.html#repetition">Section 7, Repetition templates</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/repetition.html#repetition">Section 7, Repetition templates</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section was an empty placeholder in the FPWD, and
not additions were made to it, so it remains so. Its
intended purpose is to define a mechanism to support
repeating sections in forms.</p>
</div>
<div id="syntax" class="section">
<h2>Section 8, The HTML syntax <a class="hash" href="#syntax">#</a> <a class="toc-bak" href="#syntax-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/syntax.html#syntax">Section 8, The HTML syntax</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/syntax.html#syntax">Section 8, The HTML syntax</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section describes syntax rules for the
<code>text/html</code> serialization of the HTML language,
as well as rules for parsing and serializing it.</p>
<div id="writing0" class="section">
<h2>Section 8.1, Writing HTML documents <a class="hash" href="#writing0">#</a> <a class="toc-bak" href="#writing0-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/syntax.html#writing0">Section 8.1, Writing HTML documents</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/syntax.html#writing0">Section 8.1, Writing HTML documents</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section provides basic syntax conformance
requirements that apply to documents, authoring tools, and
markup generators. In this section, the following changes
were made:</p>
<ul>
<li>The following statement was
<strong>removed</strong> completely: <q>The U+0000
NULL character must not appear anywhere in a
document.</q></li>
<li>A note describing handling of comments and space
characters around the
<code class="element">html</code>,
<code class="element">head</code>, and
<code class="element">body</code>
elements and handling of newlines inserted after the
<code>DOCTYPE</code> was refined.</li>
<li>In the “Elements” subsection, the category
<strong>foreign elements</strong> was added to the
list of kinds of elements, the definition of
foreign elements as <q>Elements from the MathML
namespace</q> was added, and other parts of the section
were updated to add language related to foreign
elements.</li>
<li>Also in the “Elements” subsection, the range
“U+0030 DIGIT ZERO .. U+0039 DIGIT NINE” was added to
the set of allowed characters in tag names.</li>
<li>Also in the “Elements” subsection, the description
of allowed characters for attribute names and unquoted
attribute value syntax were refined, and statements
were added to make it clear that a space is required
after a quoted attribute value and any following
attribute.</li>
<li>Also in the “Elements” subsection, refinements
were made to the description of conditions under which
certain tags can be omitted.</li>
<li>Also in the “Elements” subsection, the following
statement was <strong>removed</strong> completely:
<blockquote>
<p><q>A p element must not contain
blockquote, dl, menu, ol, pre, table, or ul
elements, even though these elements are
technically allowed inside p elements according to
the content models described in this
specification. (In fact, if one of those elements
is put inside a p element in the markup, it will
instead imply a p element end tag before
it.)</q></p>
</blockquote>
</li>
<li>Also in the “Elements” subsection, the
definition of <strong>escaping text span</strong> was
refined.</li>
<li>The title of the “Character entity references”
subsection was changed to “Character references”, the
term “Named entities” was changed to <q>Named character
references</q>, and other instances of the term
“character entity references” were changed to
“character references”.</li>
<li>Also in the “Character references” subsection, the
definition of <strong>ambiguous ampersand</strong> was
refined.</li>
<li>A new “CDATA blocks” subsection was added.</li>
<li>In the “Comments” subsection, the description of
comments was refined to add the constraint that
comments <q>must not start with a single U+003E
GREATER-THAN SIGN (‘>‘) character, nor start with a
U+002D HYPHEN-MINUS (-) character followed by a
U+003E GREATER-THAN SIGN (‘>‘) character</q>
</li>
</ul>
</div>
<div id="parsing" class="section">
<h2>Section 8.2, Parsing HTML documents <a class="hash" href="#parsing">#</a> <a class="toc-bak" href="#parsing-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/syntax.html#parsing">Section 8.2, Parsing HTML documents</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/syntax.html#parsing">Section 8.2, Parsing HTML documents</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section defines parsing rules used by
user agents, data mining tools, and conformance
checkers in parsing <code>text/html</code> content. In
this section, the following changes were made:</p>
<ul>
<li>In the “The input stream” subsection, the
following changes were made:
<ul>
<li>In the parts of the that deal with preprocessing
the input stream, character encoding requirements,
and determining the character encoding of the input
stream, a number of refinements were made, including
the addition of a clarification related to the
<strong>source browsing context</strong>.</li>
<li>The following note was added:
<blockquote>
<p><q>This specification does not make any
attempt to support UTF-32 in its algorithms;
support and use of UTF-32 can thus lead to
unexpected behavior in implementations of this
specification.</q></p>
</blockquote></li>
<li>In the “Changing the encoding while parsing”
subsection, the first step in the algorithm for
changing the encoding, which had read, “If the new
encoding is UTF-16, change it to UTF-8”, was updated
to now read (changed text highlighted), <q>If the
new encoding is <em class="highlight">a UTF-16
encoding</em>, change it to UTF-8.</q></li>
<li>Also, in the “Changing the encoding while
parsing” subsection, the following statement,
which had been placed at the end of the algorithm,
was <strong>removed</strong> completely: <q>While
the invocation of this algorithm is not a parse
error, it is still indicative of non-conforming
content.</q></li>
</ul>
</li>
<li>Significant revisions were made to the “Character
encoding requirements” subsection, including the
addition of a “Character encoding overrides” table,
and the refinement of an accompanying note to now
read, <q>The requirement to treat certain encodings as
other encodings according to the table above is a
willful violation of the W3C Character Model
specification.</q></li>
<li>A new “Parse state” subsection was added.</li>
<li>The algorithm for resetting the insertion mode was
refined for the case of <code class="domattribute">innerHTML</code> used with
<code class="element">td</code>
and
<code class="element">th</code>.</li>
<li>A new “The scripting state” subsection was added,
with the following text: <q>The scripting flag
is set to “enabled” if the Document with which
the parser is associated was with script when
the parser was created, and “disabled”
otherwise.</q></li>
<li>In the “Tokenisation” subsection, a number of
changes were made — among them, the addition of an
<q>After attribute value (quoted) state</q>, a
<q>Self-closing start tag state</q>, and a <q>CDATA
block state</q>. Also, statements that had referred
to setting the public identifier and system identifier
to “the empty string” were emended to read refer to
setting them to <q>the empty string (not missing)</q>;
statements that referred to the state in which the
public identifier or system identifier was “not set”
were revised to instead refer to those as being the
case were a public identifier or system identifier
was “missing”, and the following statement was
added: <q>A system identifier whose value is the
empty string is not considered missing for the
purposes of the conditions above.</q></li>
<li>In the “Tree construction” subsection, a number of
changes were made — among them, the following:
<ul>
<li>Descriptions were added for handling
<strong>foreign elements</strong> and
<strong>foreign attributes</strong>.</li>
<li>More doctypes were added to the list of
“quirks mode” doctypes, all doctypes that ended in
<code>//EN</code> were revised to drop the
<code>//EN</code>, and the accompanying text was
changed to say that instead of the public
identifier being “set to” a particular doctype
string that it instead “starts with” that
particular doctype string.</li>
<li>A new “Foster parenting” subsection was
created; its contents were formed by moving
statements out from algorithms in other parts of
the “Tree construction” section to form this new
subsection.</li>
<li>Statements related to handling of the
<code class="element">ruby</code>,
<code class="element">rp</code>,
and
<code class="element">rt</code>
elements
were added.</li>
<li>The tree-construction algorithm was refined to
allow the
<code class="element">noframes</code>
element
as a child of the
<code class="element">head</code>
element, and to cause a
<code class="element">textarea</code>
element
within a
<code class="element">select</code>
element to imply an end tag for the
<code class="element">select</code>
element.</li>
<li>Algorithms in this section were updated to
define handling of a number of elements that are
newly added in HTML5, including
<code class="element">command</code>,
<code class="element">event-source</code>,
<code class="element">article</code>,
<code class="element">aside</code>,
<code class="element">datagrid</code>,
<code class="element">dialog</code>,
<code class="element">footer</code>,
<code class="element">header</code>,
<code class="element">nav</code>,
<code class="element">section</code>,
<code class="element">param</code>,
<code class="element">source</code>,
</li>
<li>The following step was added in the “The ‘in
body’ insertion mode” subsection:
<blockquote>
<p><q>An end tag whose tag name is
“sarcasm”</q></p>
<p><q>Take a deep breath, then act as described
in the “any other end tag” entry
below.</q></p>
</blockquote>
</li>
</ul>
</li>
<li>A number of instances of the phrase “if
scripting is enabled” were changed to read, <q>if the
scripting flag is enabled.</q></li>
<li>In the “The end” subsection, language related to
<strong>current document readiness</strong> was
added.</li>
</ul>
</div>
<div id="namespaces" class="section">
<h2>Section 8.3, Namespaces <a class="hash" href="#namespaces">#</a> <a class="toc-bak" href="#namespaces-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/syntax.html#namespaces">Section 8.3, Namespaces</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/syntax.html#namespaces">Section 8.3, Namespaces</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, namespace URIs were added for the
following: MathML, SVG, XLink, XML, XMLNS.</p>
</div>
<div id="serializing" class="section">
<h2>Section 8.4, Serializing HTML fragments <a class="hash" href="#serializing">#</a> <a class="toc-bak" href="#serializing-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/syntax.html#serializing">Section 8.4, Serializing HTML fragments</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/syntax.html#serializing">Section 8.4, Serializing HTML fragments</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, some language refinements were made,
and <strong>ProcessingInstruction</strong> handling was
added to the HTML fragment serialization algorithm.</p>
</div>
<div id="parsing2" class="section">
<h2>Section 8.5, Parsing HTML fragments <a class="hash" href="#parsing2">#</a> <a class="toc-bak" href="#parsing2-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/syntax.html#parsing2">Section 8.5, Parsing HTML fragments</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/syntax.html#parsing2">Section 8.5, Parsing HTML fragments</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, some minor refinements were made,
and a requirement about switching the HTML parser‘s tree
construction stage was removed from one of the parsing
steps.</p>
</div>
<div id="named" class="section">
<h2>Section 8.6, Entities [now "Named character references"] <a class="hash" href="#named">#</a> <a class="toc-bak" href="#named-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/syntax.html#named">Section 8.6, Entities [now "Named character references"]</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/syntax.html#named">Section 8.6, Entities [now "Named character references"]</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>In this section, the following changes were made:</p>
<ul>
<li>The title of the section was changed to “Named
character references”, and the table listing character
reference names that are supported by HTML, and the
code points to which they refer, was greatly expanded
— mainly to include named character references
of potential use in MathML documents.</li>
</ul>
</div>
</div>
<div id="wsiwyg" class="section">
<h2>Section 9 [now removed], WYSIWYG editors <a class="hash" href="#wsiwyg">#</a> <a class="toc-bak" href="#wsiwyg-toc">T</a></h2>
<p>The entire “WYSIWYG editors” section was removed from
the specification. It had provided information that
attempted to “allow a way for WYSIWYG editors, which
aren’t going to use semantic markup, to still write
conforming documents, while not letting it be ok for
hand-coding authors to not use semantic markup”.</p>
</div>
<div id="rendering" class="section">
<h2>Section 10 [now section 9], Rendering and
user-agent behavior <a class="hash" href="#rendering">#</a> <a class="toc-bak" href="#rendering-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/rendering.html#rendering">Section 10 [now section 9], Rendering and
user-agent behavior</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/rendering.html#rendering">Section 10 [now section 9], Rendering and
user-agent behavior</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This section is intended to provide
descriptions of expected user-agent rendering behavior as
well as other user-agent behavior, but remains mostly just
a placeholder at this point, with the plan being to
complete the section later. In this section, the following
changes were made:</p>
<ul>
<li>The title of the section was changed from
“Rendering” to “Rendering and user-agent behavior”.</li>
<li>Within this section, a new subsection was added,
with the title “Obsolete elements, attributes, and
APIs”. It contains descriptions of the obsoleted <code class="element">applet</code> element and obsolete parts
of DOM interface for the <code class="element">body</code>
element.</li>
</ul>
</div>
<div id="no" class="section">
<h2>Section 11 [now section 10], Things that you
can't do with this specification… <a class="hash" href="#no">#</a> <a class="toc-bak" href="#no-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/no.html#no">Section 11 [now section 10], Things that you
can't do with this specification…</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/no.html#no">Section 11 [now section 10], Things that you
can't do with this specification…</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>This mostly non-normative section describes certain
features that the specification, by design, does not
address — because “a client-side markup language is not
the right level for them, or because the features exist in
other languages that can be integrated into” HTML. In this
section, the following changes were made:</p>
<ul>
<li>In the “Timers” subsection, which is
planned to be integrated into the Window Object
specification, the following changes were made: For
consistency with the Web IDL specification <a href="#webidl">[WebIDL]</a>, the interface
definition for the <code>WindowTimers</code> and
<code>TimeoutHandler</code> interfaces were updated, and
a paragraph was removed that stated conformance
requirements for the <code class="method">handleEvent()</code> method in the
<code>TimeoutHandler</code> interface of the ECMAScript
DOM binding.</li>
</ul>
</div>
<div id="acknowledgements" class="section">
<h2>Acknowledgements <a class="hash" href="#acknowledgements">#</a> <a class="toc-bak" href="#acknowledgements-toc">T</a></h2><div class="spec-links"><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/acknowledgements.html#acknowledgements">Acknowledgements</a>” in the
10 June 2008 version of the specification.</p><p class="spec-link">View “<a href="http://www.w3.org/TR/2008/WD-html5-20080610/diff/acknowledgements.html#acknowledgements">Acknowledgements</a>” in a
diff-marked version of the specification, showing
changes made between 22 January 2008 and 10 June
2008.</p></div>
<p>The following names were added to the list of names in
the Acknowledgements:</p>
<blockquote>
<p>Adam Barth, Addison Phillips, Adele Peterson, Alastair
Campbell, Anders Carlsson, Anthony Ricaud, Arphen Lin,
Ashley Sheridan, Aurelien Levy, Ben Millard, Brian
Smith, Bruce Miller, Cameron McCormack, Daniel Glazman,
Danny Sullivan,
Dave Camp, David Bloom, David Carlisle, Dean Edridge,
Debi Orton, Evan Prodromou, Geoffrey Garen, Henry Mason,
Hugh Winkler, Jacques Distler, James Justin Harrell,
Jason White, Jens Fendler, Jjgod Jiang, Johan Herland,
Jim Jewett, Jim Meehan, Joe Clark, Julian Reschke, Laura
L. Carlson, Laura Wisewell, Lee Kowalkowski, Leif
Halvard Silli, Magnus Kristiansen, Masataka Yakura,
Michael Carter, Michael(tm) Smith, Neil Soiffer, Olaf
Hoffmann, Oliver Hunt, Peter Karlsson, Philip TAYLOR,
Ralf Stoltze, Raphael Champeimont, Rene Saarsoo, Richard
Ishida, Steve Faulkner, Sunava Dutta, Terrence Wood, Tim
Johansson, Wayne Pollock, Yi-An Huang</p>
</blockquote>
</div>
</div>
<div id="references" class="section">
<h2>References <a class="hash" href="#references">#</a> <a class="toc-bak" href="#references-toc">T</a></h2>
<dl>
<dt id="html5fpwd">[HTML5FPWD]</dt>
<dd><a href="http://www.w3.org/TR/2008/WD-html5-20080122/">HTML 5: A vocabulary and associated APIs for HTML and
XHTML</a> (First Public Working Draft), I. Hickson,
D. Hyatt, editors. W3C, January 2008.</dd>
<dt id="html5">[HTML5]</dt>
<dd><a href="http://www.w3.org/TR/2008/WD-html5-20080610/">HTML 5: A vocabulary and associated APIs for HTML and
XHTML</a> (current Working Draft), I. Hickson,
D. Hyatt, editors. W3C, June 2008.</dd>
<dt id="html4diffs">[HTML4DIFFS]</dt>
<dd><a href="http://www.w3.org/TR/2008/WD-html5-diff-20080610/">HTML 5 differences from HTML 4</a>, A. van Kesteren, editor. W3C, June 2008.</dd>
<dt id="webidl">[WebIDL]</dt>
<dd><a href="http://www.w3.org/TR/2008/WD-DOM-Bindings-20080410/">Language Bindings for DOM Specifications</a>, C. McCormack, editor. W3C, April 2008.</dd>
</dl>
</div>
</div>
</body></html>