Skip to content
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

Point to the correct parent of SVGDescElement (SVGElement, not SVGGeometryElement) #32433

Merged
merged 4 commits into from
Feb 25, 2024
Merged

Conversation

targumon
Copy link
Contributor

Description

The correct parent interface for SVGDescElement is SVGElement
Source: https://svgwg.org/svg2-draft/struct.html#InterfaceSVGDescElement
(the Inheritance Diagram is correct, I just fixed the text/link).

Motivation

Accuracy 🤓

Additional details

Since I was looking at the 7 actual children of SVGGeometryElement, I also aligned some of their phrasing
(I adhere to LIBTYFI ⚜️ so I hope it's okay I did it in the same PR).

…metryElement.

Source: https://svgwg.org/svg2-draft/struct.html#InterfaceSVGDescElement
Also, align phrasing among the 7 actual children of SVGGeometryElement.
@targumon targumon requested a review from a team as a code owner February 25, 2024 21:56
@targumon targumon requested review from sideshowbarker and removed request for a team February 25, 2024 21:56
@github-actions github-actions bot added Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed labels Feb 25, 2024
Copy link
Contributor

github-actions bot commented Feb 25, 2024

Preview URLs

Flaws (8)

Note! 2 documents with no flaws that don't need to be listed. 🎉

URL: /en-US/docs/Web/API/SVGLineElement
Title: SVGLineElement
Flaw count: 4

  • macros:
    • /en-US/docs/Web/API/SVGLineElement/x1 does not exist
    • /en-US/docs/Web/API/SVGLineElement/y1 does not exist
    • /en-US/docs/Web/API/SVGLineElement/x2 does not exist
    • /en-US/docs/Web/API/SVGLineElement/y2 does not exist

URL: /en-US/docs/Web/API/SVGEllipseElement
Title: SVGEllipseElement
Flaw count: 4

  • macros:
    • /en-US/docs/Web/API/SVGEllipseElement/cx does not exist
    • /en-US/docs/Web/API/SVGEllipseElement/cy does not exist
    • /en-US/docs/Web/API/SVGEllipseElement/rx does not exist
    • /en-US/docs/Web/API/SVGEllipseElement/ry does not exist

(comment last updated: 2024-02-25 22:26:06)

Copy link
Collaborator

@hamishwillee hamishwillee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch thanks @targumon . I've modified the wording on these to match the page template for API reference (yes, consistency is excellent to have here, and OK in same PR).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@hamishwillee hamishwillee merged commit 9141131 into mdn:main Feb 25, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs size/s [PR only] 6-50 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants