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
Add data for MathML global attributes #16995
Conversation
This is adding data for new pages added in mdn/content#17812
cc @teoli2003 |
Hey @fred-wang, thank you for your PR, and welcome to BCD! To answer your comment about I'd be more than happy to help research version numbers for Firefox and Safari for you, if you'd like! |
Thanks for the information @queengooborg ; I should be able to figure out which version these attributes were implemented. I'll update the PR later to get rid of the failures with version_added. |
@queengooborg I've updated the PR but I'm not sure whether there is an easy way to get Safari's version from the WebKit commit. |
In our browser data, we record every WebKit version for each Safari release -- check out |
@queengooborg Great, thanks I think I've updated the data and tests pass locally now. Note that I haven't added data for MathML global attributes that are currently using the equivalent HTML pages. However, I've done that for the |
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.
Thank you, this is LGTM! I agree with not duplicating HTML global attributes here. Welcome to BCD, @fred-wang! 🎉
@queengooborg Thanks! |
@queengooborg extra question: when is that new data going to be available from MDN? even when testing MDN locally, data is not reachable. |
I release a new version of BCD every Tuesday, and it usually gets updated in Yari within the following two days. These changes will go live by the end of the week, promise! |
Thanks for the information. |
The information for MathML global attributes has been added to a separate file [1] so it does not need to be repeated for each individual MathML element anymore. That also makes things consistent with what HTML does. Note that the case of mstyle is handled in [2]. [1] #16995 [2] #17043 Co-authored-by: Queen Vinyl Da.i'gyu-Kazotetsu <vinyldarkscratch@gmail.com>
Summary
This is adding data for MDN articles describing MathML global attributes.
Test results and supporting details
This was done by checking the source code of browsers, bug entries as well as the commits.
Note:
npm test
fails with "version_added: 'true' is NOT a valid version number" but that seems to be what other files do to.Related issues
mdn/content#17812