-
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
Add docs for SVGElement.attributeStyleMap
and MathMLElement.attributeStyleMap
#33642
Add docs for SVGElement.attributeStyleMap
and MathMLElement.attributeStyleMap
#33642
Conversation
Preview URLs (6 pages)Flaws (10)Note! 5 documents with no flaws that don't need to be listed. 🎉 URL:
(comment last updated: 2024-06-12 12:16:22) |
@@ -8,7 +8,7 @@ browser-compat: api.HTMLElement.attributeStyleMap | |||
|
|||
{{APIRef("CSSOM")}} | |||
|
|||
The **`attributeStyleMap`** read-only property of the {{domxref("HTMLElement")}} interface returns a live {{domxref("StylePropertyMap")}} object that contains a list of style properties of the element that are defined in the element's inline [`style`](/en-US/docs/Web/HTML/Global_attributes/style) attribute, or assigned using the {{domxref("HTMLElement.style", "style")}} property of the {{domxref("HTMLElement")}} interface via script. | |||
The **`attributeStyleMap`** read-only property of the {{domxref("HTMLElement")}} interface returns a live {{domxref("StylePropertyMap")}} object that contains a list of style properties of the element that are defined in the element's inline `style` attribute, or assigned using the {{domxref("HTMLElement.style", "style")}} property of the {{domxref("HTMLElement")}} interface via script. |
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.
Please dont bother changing to the macro format. MDN does not expect a particular style, so from a reviewer point of view this is noise.
@@ -8,7 +8,7 @@ browser-compat: api.HTMLElement.attributeStyleMap | |||
|
|||
{{APIRef("CSSOM")}} | |||
|
|||
The **`attributeStyleMap`** read-only property of the {{domxref("HTMLElement")}} interface returns a live {{domxref("StylePropertyMap")}} object that contains a list of style properties of the element that are defined in the element's inline [`style`](/en-US/docs/Web/HTML/Global_attributes/style) attribute, or assigned using the {{domxref("HTMLElement.style", "style")}} property of the {{domxref("HTMLElement")}} interface via script. | |||
The **`attributeStyleMap`** read-only property of the {{domxref("HTMLElement")}} interface returns a live {{domxref("StylePropertyMap")}} object that contains a list of style properties of the element that are defined in the element's inline `style` attribute, or assigned using the {{domxref("HTMLElement.style", "style")}} property of the {{domxref("HTMLElement")}} interface via script. |
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 assume by "live" you mean dynamically updated? Doesn't matter, looks good to me :-)
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!
Description
Motivation
Additional details
Related issues and pull requests
relates to #31626
relates to mdn/browser-compat-data#23112