Skip to content

Commit

Permalink
Demix LinkStyle mixin (#10724)
Browse files Browse the repository at this point in the history
Co-authored-by: Philip Jägenstedt <philip@foolip.org>
  • Loading branch information
queengooborg and foolip authored Jun 9, 2021
1 parent 15cd30f commit 3e4bb5f
Show file tree
Hide file tree
Showing 6 changed files with 220 additions and 149 deletions.
48 changes: 0 additions & 48 deletions api/HTMLStyleElement.json
Original file line number Diff line number Diff line change
Expand Up @@ -231,54 +231,6 @@
}
}
},
"sheet": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLStyleElement/sheet",
"support": {
"chrome": {
"version_added": "1"
},
"chrome_android": {
"version_added": "18"
},
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "1"
},
"firefox_android": {
"version_added": "4"
},
"ie": {
"version_added": "9"
},
"opera": {
"version_added": "≤12.1"
},
"opera_android": {
"version_added": "≤12.1"
},
"safari": {
"version_added": "3"
},
"safari_ios": {
"version_added": "1"
},
"samsunginternet_android": {
"version_added": "1.0"
},
"webview_android": {
"version_added": "1"
}
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"type": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLStyleElement/type",
Expand Down
101 changes: 0 additions & 101 deletions api/LinkStyle.json

This file was deleted.

55 changes: 55 additions & 0 deletions api/_mixins/LinkStyle__HTMLLinkElement.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"api": {
"HTMLLinkElement": {
"sheet": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/sheet",
"spec_url": "https://drafts.csswg.org/cssom/#dom-linkstyle-sheet",
"support": {
"chrome": {
"version_added": "1"
},
"chrome_android": {
"version_added": "18"
},
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "1"
},
"firefox_android": {
"version_added": "4"
},
"ie": {
"version_added": "9"
},
"opera": {
"version_added": "15"
},
"opera_android": {
"version_added": "14"
},
"safari": {
"version_added": "1"
},
"safari_ios": {
"version_added": "1"
},
"samsunginternet_android": {
"version_added": "1.0"
},
"webview_android": {
"version_added": "1"
}
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
}
}
}
}
55 changes: 55 additions & 0 deletions api/_mixins/LinkStyle__HTMLStyleElement.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"api": {
"HTMLStyleElement": {
"sheet": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/HTMLStyleElement/sheet",
"spec_url": "https://drafts.csswg.org/cssom/#dom-linkstyle-sheet",
"support": {
"chrome": {
"version_added": "1"
},
"chrome_android": {
"version_added": "18"
},
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "1"
},
"firefox_android": {
"version_added": "4"
},
"ie": {
"version_added": "9"
},
"opera": {
"version_added": "≤12.1"
},
"opera_android": {
"version_added": "≤12.1"
},
"safari": {
"version_added": "1"
},
"safari_ios": {
"version_added": "1"
},
"samsunginternet_android": {
"version_added": "1.0"
},
"webview_android": {
"version_added": "1"
}
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
}
}
}
}
55 changes: 55 additions & 0 deletions api/_mixins/LinkStyle__ProcessingInstruction.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"api": {
"ProcessingInstruction": {
"sheet": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/ProcessingInstruction/sheet",
"spec_url": "https://drafts.csswg.org/cssom/#dom-linkstyle-sheet",
"support": {
"chrome": {
"version_added": "1"
},
"chrome_android": {
"version_added": "18"
},
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "1"
},
"firefox_android": {
"version_added": "4"
},
"ie": {
"version_added": "9"
},
"opera": {
"version_added": "15"
},
"opera_android": {
"version_added": "14"
},
"safari": {
"version_added": "1"
},
"safari_ios": {
"version_added": "1"
},
"samsunginternet_android": {
"version_added": "1.0"
},
"webview_android": {
"version_added": "1"
}
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
}
}
}
}
55 changes: 55 additions & 0 deletions api/_mixins/LinkStyle__SVGStyleElement.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"api": {
"SVGStyleElement": {
"sheet": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/SVGStyleElement/sheet",
"spec_url": "https://drafts.csswg.org/cssom/#dom-linkstyle-sheet",
"support": {
"chrome": {
"version_added": "1"
},
"chrome_android": {
"version_added": "18"
},
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "1.5"
},
"firefox_android": {
"version_added": "4"
},
"ie": {
"version_added": "9"
},
"opera": {
"version_added": "≤12.1"
},
"opera_android": {
"version_added": "≤12.1"
},
"safari": {
"version_added": "3"
},
"safari_ios": {
"version_added": "1"
},
"samsunginternet_android": {
"version_added": "1.0"
},
"webview_android": {
"version_added": "≤37"
}
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
}
}
}
}

0 comments on commit 3e4bb5f

Please sign in to comment.