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

x/image: Link to SVG color spec is outdated #68473

Closed
codesoap opened this issue Jul 16, 2024 · 3 comments
Closed

x/image: Link to SVG color spec is outdated #68473

codesoap opened this issue Jul 16, 2024 · 3 comments
Labels
Documentation NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@codesoap
Copy link
Contributor

codesoap commented Jul 16, 2024

Go version

any

Output of go env in your module/workspace:

doesn't matter

What did you do?

I went to https://pkg.go.dev/golang.org/x/image/colornames and read the documentation of the golang.org/x/image/colornames package.

What did you see happen?

I found the link http://www.w3.org/TR/SVG/types.html#ColorKeywords, but when following it, I didn't find any information about the colors.

What did you expect to see?

I expected to see a definition of the colors, that are available in the golang.org/x/image/colornames package.

I suggest to update the link to https://www.w3.org/TR/SVG11/single-page.html#types-ColorKeywords.

@gopherbot gopherbot added this to the Unreleased milestone Jul 16, 2024
@ianlancetaylor
Copy link
Contributor

CC @nigeltao

@codesoap
Copy link
Contributor Author

I've just found, that there is also https://www.w3.org/TR/SVG11/types.html#ColorKeywords. This might be preferable to the single-page version of the specification.

@cherrymui cherrymui added Documentation NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Jul 17, 2024
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/599835 mentions this issue: colornames: update link to SVG spec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

4 participants