Skip to content

Commit 3f6e093

Browse files
Chrome 146 / Safari 26 add createElement option customElementRegistry (#29216)
* Document.createElement()/Ns() - options.customElementRegistry/is * Apply suggestions from code review Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com> * Add spec urls causing link issue * Apply suggestions from code review Co-authored-by: Hamish Willee <hamishwillee@gmail.com> * Update exceptions list via npm fix * Update api/Document.json Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com> * Update api/Document.json Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com> --------- Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
1 parent 43998c1 commit 3f6e093

File tree

2 files changed

+132
-4
lines changed

2 files changed

+132
-4
lines changed

api/Document.json

Lines changed: 132 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2033,6 +2033,7 @@
20332033
"options_parameter": {
20342034
"__compat": {
20352035
"description": "`options` parameter",
2036+
"spec_url": "https://dom.spec.whatwg.org/#dictdef-elementcreationoptions",
20362037
"tags": [
20372038
"web-features:dom"
20382039
],
@@ -2052,7 +2053,7 @@
20522053
"opera": "mirror",
20532054
"opera_android": "mirror",
20542055
"safari": {
2055-
"version_added": false
2056+
"version_added": "26"
20562057
},
20572058
"safari_ios": "mirror",
20582059
"samsunginternet_android": "mirror",
@@ -2064,6 +2065,70 @@
20642065
"standard_track": true,
20652066
"deprecated": false
20662067
}
2068+
},
2069+
"customElementRegistry_option": {
2070+
"__compat": {
2071+
"description": "`customElementRegistry` option",
2072+
"spec_url": "https://dom.spec.whatwg.org/#dictdef-elementcreationoptions",
2073+
"support": {
2074+
"chrome": {
2075+
"version_added": "146"
2076+
},
2077+
"chrome_android": "mirror",
2078+
"edge": "mirror",
2079+
"firefox": {
2080+
"version_added": false
2081+
},
2082+
"firefox_android": "mirror",
2083+
"oculus": "mirror",
2084+
"opera": "mirror",
2085+
"opera_android": "mirror",
2086+
"safari": {
2087+
"version_added": "26"
2088+
},
2089+
"safari_ios": "mirror",
2090+
"samsunginternet_android": "mirror",
2091+
"webview_android": "mirror",
2092+
"webview_ios": "mirror"
2093+
},
2094+
"status": {
2095+
"experimental": false,
2096+
"standard_track": true,
2097+
"deprecated": false
2098+
}
2099+
}
2100+
},
2101+
"options_is_parameter": {
2102+
"__compat": {
2103+
"description": "`is` parameter",
2104+
"spec_url": "https://dom.spec.whatwg.org/#dictdef-elementcreationoptions",
2105+
"support": {
2106+
"chrome": {
2107+
"version_added": "56"
2108+
},
2109+
"chrome_android": "mirror",
2110+
"edge": "mirror",
2111+
"firefox": {
2112+
"version_added": false
2113+
},
2114+
"firefox_android": "mirror",
2115+
"oculus": "mirror",
2116+
"opera": "mirror",
2117+
"opera_android": "mirror",
2118+
"safari": {
2119+
"version_added": "26"
2120+
},
2121+
"safari_ios": "mirror",
2122+
"samsunginternet_android": "mirror",
2123+
"webview_android": "mirror",
2124+
"webview_ios": "mirror"
2125+
},
2126+
"status": {
2127+
"experimental": false,
2128+
"standard_track": true,
2129+
"deprecated": false
2130+
}
2131+
}
20672132
}
20682133
}
20692134
},
@@ -2116,6 +2181,7 @@
21162181
"options_parameter": {
21172182
"__compat": {
21182183
"description": "`options` parameter",
2184+
"spec_url": "https://dom.spec.whatwg.org/#dictdef-elementcreationoptions",
21192185
"tags": [
21202186
"web-features:dom"
21212187
],
@@ -2135,7 +2201,7 @@
21352201
"opera": "mirror",
21362202
"opera_android": "mirror",
21372203
"safari": {
2138-
"version_added": false
2204+
"version_added": "26"
21392205
},
21402206
"safari_ios": "mirror",
21412207
"samsunginternet_android": "mirror",
@@ -2147,6 +2213,70 @@
21472213
"standard_track": true,
21482214
"deprecated": false
21492215
}
2216+
},
2217+
"customElementRegistry_option": {
2218+
"__compat": {
2219+
"description": "`customElementRegistry` option",
2220+
"spec_url": "https://dom.spec.whatwg.org/#dictdef-elementcreationoptions",
2221+
"support": {
2222+
"chrome": {
2223+
"version_added": "146"
2224+
},
2225+
"chrome_android": "mirror",
2226+
"edge": "mirror",
2227+
"firefox": {
2228+
"version_added": false
2229+
},
2230+
"firefox_android": "mirror",
2231+
"oculus": "mirror",
2232+
"opera": "mirror",
2233+
"opera_android": "mirror",
2234+
"safari": {
2235+
"version_added": "26"
2236+
},
2237+
"safari_ios": "mirror",
2238+
"samsunginternet_android": "mirror",
2239+
"webview_android": "mirror",
2240+
"webview_ios": "mirror"
2241+
},
2242+
"status": {
2243+
"experimental": false,
2244+
"standard_track": true,
2245+
"deprecated": false
2246+
}
2247+
}
2248+
},
2249+
"options_is_parameter": {
2250+
"__compat": {
2251+
"description": "`is` option",
2252+
"spec_url": "https://dom.spec.whatwg.org/#dictdef-elementcreationoptions",
2253+
"support": {
2254+
"chrome": {
2255+
"version_added": "56"
2256+
},
2257+
"chrome_android": "mirror",
2258+
"edge": "mirror",
2259+
"firefox": {
2260+
"version_added": false
2261+
},
2262+
"firefox_android": "mirror",
2263+
"oculus": "mirror",
2264+
"opera": "mirror",
2265+
"opera_android": "mirror",
2266+
"safari": {
2267+
"version_added": false
2268+
},
2269+
"safari_ios": "mirror",
2270+
"samsunginternet_android": "mirror",
2271+
"webview_android": "mirror",
2272+
"webview_ios": "mirror"
2273+
},
2274+
"status": {
2275+
"experimental": false,
2276+
"standard_track": true,
2277+
"deprecated": false
2278+
}
2279+
}
21502280
}
21512281
}
21522282
},

lint/common/standard-track-exceptions.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,6 @@ api.DOMTokenList.toggle.force_parameter
109109
api.DOMTokenList.trim_whitespace
110110
api.DOMTokenList.values
111111
api.Document.caretPositionFromPoint.options_parameter
112-
api.Document.createElement.options_parameter
113-
api.Document.createElementNS.options_parameter
114112
api.Document.createTreeWalker.whatToShow_filter_parameters_optional
115113
api.Document.execCommand
116114
api.Document.execCommand.insertHTML

0 commit comments

Comments
 (0)