-
Notifications
You must be signed in to change notification settings - Fork 2k
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
adding compat data for Character Data #1732
Conversation
api/CharacterData.json
Outdated
}, | ||
"chrome": { | ||
"version_added": "1" | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
chrome_android
is missing. Make sure it's present throughout.
api/CharacterData.json
Outdated
"description": "Implements <a href='https://developer.mozilla.org//docs/Web/API/ChildNode'><code>ChildNode</code></a> Interface", | ||
"support": { | ||
"chrome": { | ||
"version_added": null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true
for all 3 flavors of Chrome and both of Opera.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -0,0 +1,92 @@ | |||
{ | |||
"api": { | |||
"CharacterData": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The following sub-features are missing (see DOM Standard):
appendData
data
deleteData
insertData
length
replaceData
substringData
Since MDN doesn't have any compat data for these sub-features yet, we can set all browsers mentioned in this feature to null
. I would also suggest adding mdn_url
s, even if the sub-articles don't exist yet.
Made the changes requested |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding the sub-features. 🎉
And sorry, I noticed only now that status information are missing.
api/CharacterData.json
Outdated
"version_added": true | ||
} | ||
} | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I just noticed that status information are missing, both for the feature and each sub-feature. The information can be derived from the Specifications section on MDN.
Since the DOM Standard doesn't mention the ChildNode
interface, this sub-feature should be probably marked "standard_track": false"
and everything else "standard_track": true"
.
Ah, you're right, I forgot that, I'll get right on it. Thanks!
|
Added the statuses |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, ping @Elchi3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR, @katzrkool! And thank you for the prior reviews, @caugner! The only thing blocking this from being merged is to sort the browsers in the "support"
blocks alphabetically. Thank you!
Made requested changes |
Thank you, @katzrkool! 🎉 |
No description provided.