Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Demix LinkStyle mixin #10724

Merged
merged 9 commits into from
Jun 9, 2021
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't exist, at least not yet. Will you also prepare a PR for https://github.com/mdn/content that removes all references to LinkStyle, similar to mdn/content#5579? https://github.com/mdn/content#moving-one-or-more-documents might come in handy if so.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't contributed to the content repository yet, but I'd be happy to write a PR to go along with this one!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently there's no page for LinkStyle.sheet, so I can't move/copy it. Additionally, there aren't any pages for the sheet property on any of the inheriting APIs. Not really sure what to do on the content repo, would love some assistance!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the main task here is to remove mentions of LinkStyle.sheet. There's no page, but there are references to it. Searching that string should mostly turn up variations on {{domxref("LinkStyle.sheet")}}—there's just a few of them, but you'll need to read it in context to figure out what exactly to cut out (e.g., a <dt>-<dd> pair).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've sent mdn/content#5669 to accompany this PR!

"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"
queengooborg marked this conversation as resolved.
Show resolved Hide resolved
},
"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": "1"
queengooborg marked this conversation as resolved.
Show resolved Hide resolved
}
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
}
}
}
}