-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
Fix info for svg <style>
element
#37288
Conversation
Preview URLs
(comment last updated: 2024-12-20 08:34:25) |
@@ -42,10 +42,10 @@ svg { | |||
|
|||
- {{SVGAttr("type")}} | |||
- : This attribute defines type of the style sheet language to use as a media type string. | |||
_Value type_: [**\<string>**](/en-US/docs/Web/CSS/string); _Default value_: `text/css`; _Animatable_: **no** | |||
_Value type_: [**`<content-type>`**](https://www.ietf.org/rfc/rfc2046.txt); _Default value_: `text/css`; _Animatable_: **no** |
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.
I'm not sure about this change as we prefer not to link to specs. Could we instead link to https://developer.mozilla.org/en-US/docs/Glossary/MIME_type and call it a<media-type>
(the spec does)?
The rest looks good.
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.
P.S, mostly I think the linked doc is much more accessible than the spec.
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.
P.S. Just FYI @skyclouds2001 As I think I noted elswhere, I am here Monday, maybe Tuesday but then will be away a lot until Jan 20. So if something gets auto-assigned to me, you will either have to find someone else to look at it or wait. I don't want to hold you up!
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 very much @skyclouds2001 !
Description
media
attribute ( for<style>
element) is not animatableupdate type for
<style>
attributesMotivation
Additional details
https://svgwg.org/svg2-draft/styling.html#StyleElement
Related issues and pull requests