Skip to content

Commit e09efb8

Browse files
authored
Chrome 143 / Firefox 149 allow more characters in DOM APIs (#29217)
* FF149 Allow more characters in DOM APIs * Add spec URL to name validation * Dbeck - html name validity suggestion * Clarify changes affect elements, attributes, and namespace prefix * Tweak text on description
1 parent 844043b commit e09efb8

File tree

3 files changed

+288
-0
lines changed

3 files changed

+288
-0
lines changed

api/CustomElementRegistry.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,38 @@
208208
"deprecated": false
209209
}
210210
}
211+
},
212+
"html_name_validity": {
213+
"__compat": {
214+
"description": "Emoji and more Unicode in element and attribute names and namespace prefix (valid names match HTML parser)",
215+
"spec_url": "https://dom.spec.whatwg.org/#namespaces",
216+
"support": {
217+
"chrome": {
218+
"version_added": "143"
219+
},
220+
"chrome_android": "mirror",
221+
"edge": "mirror",
222+
"firefox": {
223+
"version_added": "149"
224+
},
225+
"firefox_android": "mirror",
226+
"oculus": "mirror",
227+
"opera": "mirror",
228+
"opera_android": "mirror",
229+
"safari": {
230+
"version_added": false
231+
},
232+
"safari_ios": "mirror",
233+
"samsunginternet_android": "mirror",
234+
"webview_android": "mirror",
235+
"webview_ios": "mirror"
236+
},
237+
"status": {
238+
"experimental": false,
239+
"standard_track": true,
240+
"deprecated": false
241+
}
242+
}
211243
}
212244
},
213245
"get": {
@@ -387,6 +419,38 @@
387419
"standard_track": true,
388420
"deprecated": false
389421
}
422+
},
423+
"html_name_validity": {
424+
"__compat": {
425+
"description": "Emoji and more Unicode in element and attribute names and namespace prefix (valid names match HTML parser)",
426+
"spec_url": "https://dom.spec.whatwg.org/#namespaces",
427+
"support": {
428+
"chrome": {
429+
"version_added": "143"
430+
},
431+
"chrome_android": "mirror",
432+
"edge": "mirror",
433+
"firefox": {
434+
"version_added": "149"
435+
},
436+
"firefox_android": "mirror",
437+
"oculus": "mirror",
438+
"opera": "mirror",
439+
"opera_android": "mirror",
440+
"safari": {
441+
"version_added": false
442+
},
443+
"safari_ios": "mirror",
444+
"samsunginternet_android": "mirror",
445+
"webview_android": "mirror",
446+
"webview_ios": "mirror"
447+
},
448+
"status": {
449+
"experimental": false,
450+
"standard_track": true,
451+
"deprecated": false
452+
}
453+
}
390454
}
391455
}
392456
}

api/Document.json

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1806,6 +1806,38 @@
18061806
"standard_track": true,
18071807
"deprecated": false
18081808
}
1809+
},
1810+
"html_name_validity": {
1811+
"__compat": {
1812+
"description": "Emoji and more Unicode in element and attribute names and namespace prefix (valid names match HTML parser)",
1813+
"spec_url": "https://dom.spec.whatwg.org/#namespaces",
1814+
"support": {
1815+
"chrome": {
1816+
"version_added": "143"
1817+
},
1818+
"chrome_android": "mirror",
1819+
"edge": "mirror",
1820+
"firefox": {
1821+
"version_added": "149"
1822+
},
1823+
"firefox_android": "mirror",
1824+
"oculus": "mirror",
1825+
"opera": "mirror",
1826+
"opera_android": "mirror",
1827+
"safari": {
1828+
"version_added": false
1829+
},
1830+
"safari_ios": "mirror",
1831+
"samsunginternet_android": "mirror",
1832+
"webview_android": "mirror",
1833+
"webview_ios": "mirror"
1834+
},
1835+
"status": {
1836+
"experimental": false,
1837+
"standard_track": true,
1838+
"deprecated": false
1839+
}
1840+
}
18091841
}
18101842
},
18111843
"createAttributeNS": {
@@ -1850,6 +1882,38 @@
18501882
"standard_track": true,
18511883
"deprecated": false
18521884
}
1885+
},
1886+
"html_name_validity": {
1887+
"__compat": {
1888+
"description": "Emoji and more Unicode in element and attribute names and namespace prefix (valid names match HTML parser)",
1889+
"spec_url": "https://dom.spec.whatwg.org/#namespaces",
1890+
"support": {
1891+
"chrome": {
1892+
"version_added": "143"
1893+
},
1894+
"chrome_android": "mirror",
1895+
"edge": "mirror",
1896+
"firefox": {
1897+
"version_added": "149"
1898+
},
1899+
"firefox_android": "mirror",
1900+
"oculus": "mirror",
1901+
"opera": "mirror",
1902+
"opera_android": "mirror",
1903+
"safari": {
1904+
"version_added": false
1905+
},
1906+
"safari_ios": "mirror",
1907+
"samsunginternet_android": "mirror",
1908+
"webview_android": "mirror",
1909+
"webview_ios": "mirror"
1910+
},
1911+
"status": {
1912+
"experimental": false,
1913+
"standard_track": true,
1914+
"deprecated": false
1915+
}
1916+
}
18531917
}
18541918
},
18551919
"createCDATASection": {
@@ -2030,6 +2094,38 @@
20302094
"deprecated": false
20312095
}
20322096
},
2097+
"html_name_validity": {
2098+
"__compat": {
2099+
"description": "Emoji and more Unicode in element and attribute names and namespace prefix (valid names match HTML parser)",
2100+
"spec_url": "https://dom.spec.whatwg.org/#namespaces",
2101+
"support": {
2102+
"chrome": {
2103+
"version_added": "143"
2104+
},
2105+
"chrome_android": "mirror",
2106+
"edge": "mirror",
2107+
"firefox": {
2108+
"version_added": "149"
2109+
},
2110+
"firefox_android": "mirror",
2111+
"oculus": "mirror",
2112+
"opera": "mirror",
2113+
"opera_android": "mirror",
2114+
"safari": {
2115+
"version_added": false
2116+
},
2117+
"safari_ios": "mirror",
2118+
"samsunginternet_android": "mirror",
2119+
"webview_android": "mirror",
2120+
"webview_ios": "mirror"
2121+
},
2122+
"status": {
2123+
"experimental": false,
2124+
"standard_track": true,
2125+
"deprecated": false
2126+
}
2127+
}
2128+
},
20332129
"options_parameter": {
20342130
"__compat": {
20352131
"description": "`options` parameter",
@@ -2178,6 +2274,38 @@
21782274
"deprecated": false
21792275
}
21802276
},
2277+
"html_name_validity": {
2278+
"__compat": {
2279+
"description": "Emoji and more Unicode in element and attribute names and namespace prefix (valid names match HTML parser)",
2280+
"spec_url": "https://dom.spec.whatwg.org/#namespaces",
2281+
"support": {
2282+
"chrome": {
2283+
"version_added": "143"
2284+
},
2285+
"chrome_android": "mirror",
2286+
"edge": "mirror",
2287+
"firefox": {
2288+
"version_added": "149"
2289+
},
2290+
"firefox_android": "mirror",
2291+
"oculus": "mirror",
2292+
"opera": "mirror",
2293+
"opera_android": "mirror",
2294+
"safari": {
2295+
"version_added": false
2296+
},
2297+
"safari_ios": "mirror",
2298+
"samsunginternet_android": "mirror",
2299+
"webview_android": "mirror",
2300+
"webview_ios": "mirror"
2301+
},
2302+
"status": {
2303+
"experimental": false,
2304+
"standard_track": true,
2305+
"deprecated": false
2306+
}
2307+
}
2308+
},
21812309
"options_parameter": {
21822310
"__compat": {
21832311
"description": "`options` parameter",

api/Element.json

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10225,6 +10225,38 @@
1022510225
"deprecated": false
1022610226
}
1022710227
}
10228+
},
10229+
"html_name_validity": {
10230+
"__compat": {
10231+
"description": "Emoji and more Unicode in element and attribute names and namespace prefix (valid names match HTML parser)",
10232+
"spec_url": "https://dom.spec.whatwg.org/#namespaces",
10233+
"support": {
10234+
"chrome": {
10235+
"version_added": "143"
10236+
},
10237+
"chrome_android": "mirror",
10238+
"edge": "mirror",
10239+
"firefox": {
10240+
"version_added": "149"
10241+
},
10242+
"firefox_android": "mirror",
10243+
"oculus": "mirror",
10244+
"opera": "mirror",
10245+
"opera_android": "mirror",
10246+
"safari": {
10247+
"version_added": false
10248+
},
10249+
"safari_ios": "mirror",
10250+
"samsunginternet_android": "mirror",
10251+
"webview_android": "mirror",
10252+
"webview_ios": "mirror"
10253+
},
10254+
"status": {
10255+
"experimental": false,
10256+
"standard_track": true,
10257+
"deprecated": false
10258+
}
10259+
}
1022810260
}
1022910261
},
1023010262
"setAttributeNode": {
@@ -10315,6 +10347,38 @@
1031510347
"standard_track": true,
1031610348
"deprecated": false
1031710349
}
10350+
},
10351+
"html_name_validity": {
10352+
"__compat": {
10353+
"description": "Emoji and more Unicode in element and attribute names and namespace prefix (valid names match HTML parser)",
10354+
"spec_url": "https://dom.spec.whatwg.org/#namespaces",
10355+
"support": {
10356+
"chrome": {
10357+
"version_added": "143"
10358+
},
10359+
"chrome_android": "mirror",
10360+
"edge": "mirror",
10361+
"firefox": {
10362+
"version_added": "149"
10363+
},
10364+
"firefox_android": "mirror",
10365+
"oculus": "mirror",
10366+
"opera": "mirror",
10367+
"opera_android": "mirror",
10368+
"safari": {
10369+
"version_added": false
10370+
},
10371+
"safari_ios": "mirror",
10372+
"samsunginternet_android": "mirror",
10373+
"webview_android": "mirror",
10374+
"webview_ios": "mirror"
10375+
},
10376+
"status": {
10377+
"experimental": false,
10378+
"standard_track": true,
10379+
"deprecated": false
10380+
}
10381+
}
1031810382
}
1031910383
},
1032010384
"setAttributeNS": {
@@ -10806,6 +10870,38 @@
1080610870
"standard_track": true,
1080710871
"deprecated": false
1080810872
}
10873+
},
10874+
"html_name_validity": {
10875+
"__compat": {
10876+
"description": "Emoji and more Unicode in element and attribute names and namespace prefix (valid names match HTML parser)",
10877+
"spec_url": "https://dom.spec.whatwg.org/#namespaces",
10878+
"support": {
10879+
"chrome": {
10880+
"version_added": "143"
10881+
},
10882+
"chrome_android": "mirror",
10883+
"edge": "mirror",
10884+
"firefox": {
10885+
"version_added": "149"
10886+
},
10887+
"firefox_android": "mirror",
10888+
"oculus": "mirror",
10889+
"opera": "mirror",
10890+
"opera_android": "mirror",
10891+
"safari": {
10892+
"version_added": false
10893+
},
10894+
"safari_ios": "mirror",
10895+
"samsunginternet_android": "mirror",
10896+
"webview_android": "mirror",
10897+
"webview_ios": "mirror"
10898+
},
10899+
"status": {
10900+
"experimental": false,
10901+
"standard_track": true,
10902+
"deprecated": false
10903+
}
10904+
}
1080910905
}
1081010906
},
1081110907
"touchcancel_event": {

0 commit comments

Comments
 (0)