-
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
Demix ElementCSSInlineStyle #10686
Demix ElementCSSInlineStyle #10686
Conversation
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.
Looks good to me.
Not sure where we are with a policy regarding 404 MDN links in BCD. I guess we could remove these...
Also, as a general fyi, mixins are also allowed to appear inline with the interfaces. I've done this sometimes when the mixin is relatively small (like it is here). However, I'm fine with having them in the _mixins folder, too. Just saying :)
Let me know if you want to remove the 404 links, otherwise this is good to merge. |
I'll prepare the MDN PR for this first to see which of the URLs end up existing again... |
Redirect ElementCSSInlineStyle.style to HTMLElement.style, as that's seemingly what many of these instances pointed at originally, and it's the most common case when used in examples/explanations. Of the six pages that should exist here, only HTMLElement.style actually exists. BCD cleanup: mdn/browser-compat-data#10686
I've sent mdn/content#5556 and will remove |
Tests used (staging because a test bug was just fixed): http://staging-dot-mdn-bcd-collector.appspot.com/tests/api/HTMLElement http://staging-dot-mdn-bcd-collector.appspot.com/tests/api/MathMLElement http://staging-dot-mdn-bcd-collector.appspot.com/tests/api/SVGElement As a starting point, the existing api.Element.attributeStyleMap and api.HTMLElement.style entries were combined into ElementCSSInlineStyle__HTMLElement.json without modification. MathMLElement data is based on mdn-bcd-collector results from Firefox and Safari desktop. Mobile data was mirrored. The api.MathMLElement parent entry was also updated. Note that there's no api.MathMLElement.attributeStyleMap entry because no browser supports it. SVGElement data is hard to be 100% confident in because it goes back so far. api.SVGElement.style support was confirmed in: - Chrome ≤15 - IE 9 - Firefox ≤4 - Opera ≤12.1 - Safari ≤4 The following were assumed/mirrored: - Chrome 1 / for Android 18 - Edge 12 - Firefox 1.5 / for Android 4 - Opera for Android ≤12.1 - Safari 3 / for iOS 1 - Samsung Internet 1.0 - WebView 1 SVGElement itself was changed to Firefox 1.5 too, as the only SVG-related entry marked as shipped in Firefox 1.
78e2bb4
to
a058d28
Compare
Redirect ElementCSSInlineStyle.style to HTMLElement.style, as that's seemingly what many of these instances pointed at originally, and it's the most common case when used in examples/explanations. Of the six pages that should exist here, only HTMLElement.style actually exists. BCD cleanup: mdn/browser-compat-data#10686
Redirect ElementCSSInlineStyle.style to HTMLElement.style, as that's seemingly what many of these instances pointed at originally, and it's the most common case when used in examples/explanations. Of the six pages that should exist here, only HTMLElement.style actually exists. BCD cleanup: mdn/browser-compat-data#10686
@Elchi3 I expect mdn/content#5556 will be merged soon, if you'd care to review this. |
Oh wait what am I saying, this is already approved. I'll merge it myself when the MDN change is merged, if nobody else does. |
mdn/content#5556 was merged. |
* Bump version to v3.3.7 * Add release note for #10745 * Add release note for #10686 * Add release note for #10744 * Add release note for #10820 * Add release note for #10582 * Add release note for #9464 * Add release note for #10724 * Add release note for #10827 * Add release note for #10829 * Add release note for #10782 * Add stats * Add release date * Update stats one last time
Tests used (staging because a test bug was just fixed):
http://staging-dot-mdn-bcd-collector.appspot.com/tests/api/HTMLElement
http://staging-dot-mdn-bcd-collector.appspot.com/tests/api/MathMLElement
http://staging-dot-mdn-bcd-collector.appspot.com/tests/api/SVGElement
As a starting point, the existing api.Element.attributeStyleMap and
api.HTMLElement.style entries were combined into
ElementCSSInlineStyle__HTMLElement.json without modification.
MathMLElement data is based on mdn-bcd-collector results from Firefox
and Safari desktop. Mobile data was mirrored. The api.MathMLElement
parent entry was also updated. Note that there's no
api.MathMLElement.attributeStyleMap entry because no browser supports
it.
SVGElement data is hard to be 100% confident in because it goes back so
far. api.SVGElement.style support was confirmed in:
The following were assumed/mirrored:
SVGElement itself was changed to Firefox 1.5 too, as the only
SVG-related entry marked as shipped in Firefox 1.