Conversation
Updated SVG attributes section to clarify categories and descriptions.
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
|
Preview URLs
Flaws (3)Note! 4 documents with no flaws that don't need to be listed. 🎉 URL:
(comment last updated: 2025-10-21 16:07:44) |
|
|
||
| ## See also | ||
|
|
||
| - HTML [`requiredExtensions`](/en-US/docs/Web/HTML/Reference/Global_attributes/requiredExtensions) attribute |
There was a problem hiding this comment.
I assume you mean SVG (i.e. just delete this line since it's already mentioned below)? This has never been defined in HTML
| {{APIRef("SVG")}} | ||
|
|
||
| The **`requiredExtensions`** read-only property of the {{domxref("SVGGraphicsElement")}} interface reflects the {{SVGAttr("requiredExtensions")}} attribute of the given element. | ||
| The **`requiredExtensions`** read-only property of the {{domxref("SVGGraphicsElement")}} interface reflects the {{SVGAttr("requiredExtensions")}} SVG [conditional processing attribute](/en-US/docs/Web/SVG/Reference/Attribute#conditional_processing_attributes) of the given element. |
There was a problem hiding this comment.
Personally I don't thikn we should link the category since it's irrelevant for understanding the attribute itself, but only for understanding how attributes relate to each other. The previous paragraph is the standard verbiage for how it should be introduced
| <tr> | ||
| <th scope="row">Value</th> | ||
| <td> | ||
| space-separated <code><a href=""><url></a> values</code> |
There was a problem hiding this comment.
We use <list-of-urls> for SVG, linking to https://developer.mozilla.org/en-US/docs/Web/SVG/Guides/Content_type#list-of-ts. Remnant from SVG 1
| </tbody> | ||
| </table> | ||
|
|
||
| For a description of the values, please refer to the [HTML `requiredExtensions`](/en-US/docs/Web/HTML/Reference/Global_attributes/requiredExtensions) attribute. |
| In addition to the aria, core, event, and presentation attributes, the `<switch>` element supports the conditional processing attributes: | ||
|
|
||
| - {{SVGAttr("requiredExtensions")}} | ||
| - : |
| ## Attributes | ||
|
|
||
| This element only includes global attributes. | ||
| In addition to the aria, core, event, and presentation attributes, the `<switch>` element supports the conditional processing attributes: |
There was a problem hiding this comment.
I haven't seen this verbiage elsewhere. I believe the standard is to say nothing. If you want to add this, we need another PR to update the standard first, because the SVG docs are quite consistent.
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
estelle
left a comment
There was a problem hiding this comment.
something happened to the PR.... need to fix something locally, but this wasn't what i i thought i pushed.... apologies.
estelle
left a comment
There was a problem hiding this comment.
OK, I think I fixed everything locally. Sorry about the borked PR.
|
|
Josh-Cena
left a comment
There was a problem hiding this comment.
LGTM, thanks! Just further updated the See also per my previous review that we should not link indirectly related stuff
part of openwebdocs/project#230
the conditional processing attribute link is added in #41576