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

SVG/Attribute/x - example #37099

Closed
DomOBU opened this issue Dec 4, 2024 · 4 comments
Closed

SVG/Attribute/x - example #37099

DomOBU opened this issue Dec 4, 2024 · 4 comments
Labels
Content:SVG SVG docs

Comments

@DomOBU
Copy link

DomOBU commented Dec 4, 2024

MDN URL

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/x#use

What specific section or headline is this issue about?

No response

What information was incorrect, unhelpful, or incomplete?

Hello,

Is the example provided with the use element the correct example?
It seems more appropriate for the rect element.

Kind regards

What did you expect to see?

Taking this information into account if it is relevant

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

@DomOBU DomOBU added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Dec 4, 2024
@github-actions github-actions bot added the Content:SVG SVG docs label Dec 4, 2024
@bsmth
Copy link
Member

bsmth commented Dec 30, 2024

I had a look and I think the current doc is correct, the example at the bottom of the page is talking about x coordinate in a rect:

<rect x="220" y="20" width="60" height="60" fill="red" />

And the <use> section is talking about what x controls in a <use> element:

<use href="#myCircle" x="10" fill="blue" />

Does that make sense or have I misunderstood?

@DomOBU
Copy link
Author

DomOBU commented Dec 30, 2024

I admit that my text was succinct. I'll try to be more explicit next time.
My question concerned the fact that we are in a ‘use’ paragraph and that ‘use’ is not mentioned in the example and that only ‘rect’ is mentioned.

@bsmth
Copy link
Member

bsmth commented Dec 31, 2024

No problem. The structure of the page is:

  • Elements
    • feblend
    • fecolormatrix
    • use
  • Examples

Where examples picks a common / straightforward element to display, so I'm not sure what to fix there. Let me know if that clears it up or if you think there's still something wrong. TY!

@bsmth bsmth removed the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Dec 31, 2024
@bsmth
Copy link
Member

bsmth commented Dec 31, 2024

I'm going to close this, but if I've made a mistake, reply and let me know! Thanks!

@bsmth bsmth closed this as not planned Won't fix, can't repro, duplicate, stale Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:SVG SVG docs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants