Skip to content

Commit 1a3e913

Browse files
danny0838caugner
andauthored
Chrome 99 allowed mutating Document.adoptedStyleSheets (#27652)
* Add compatibility data of mutable `api.Document.adoptedStyleSheets` * Apply suggestions from code review --------- Co-authored-by: Claas Augner <[email protected]>
1 parent 6cf5b78 commit 1a3e913

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

api/Document.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,41 @@
281281
"standard_track": true,
282282
"deprecated": false
283283
}
284+
},
285+
"mutable": {
286+
"__compat": {
287+
"description": "Array value is mutable",
288+
"spec_url": "https://drafts.csswg.org/cssom/#dom-documentorshadowroot-adoptedstylesheets",
289+
"tags": [
290+
"web-features:constructed-stylesheets"
291+
],
292+
"support": {
293+
"chrome": {
294+
"version_added": "99"
295+
},
296+
"chrome_android": "mirror",
297+
"edge": "mirror",
298+
"firefox": {
299+
"version_added": "101"
300+
},
301+
"firefox_android": "mirror",
302+
"oculus": "mirror",
303+
"opera": "mirror",
304+
"opera_android": "mirror",
305+
"safari": {
306+
"version_added": "16.4"
307+
},
308+
"safari_ios": "mirror",
309+
"samsunginternet_android": "mirror",
310+
"webview_android": "mirror",
311+
"webview_ios": "mirror"
312+
},
313+
"status": {
314+
"experimental": false,
315+
"standard_track": true,
316+
"deprecated": false
317+
}
318+
}
284319
}
285320
},
286321
"adoptNode": {

0 commit comments

Comments
 (0)