colornames: update SVG 1.1 spec URL

The Scalable Vector Graphics (SVG) 1.1 specification URL has changed.
The old URL, https://www.w3.org/TR/SVG/, now hosts the SVG 2 spec.
SVG 1.1 spec has moved to https://www.w3.org/TR/SVG11/.

This change makes this package go generate successfully with no diff.

Change-Id: Ifa788b1bb47748610b3adc0ac96692c00bcb3158
Reviewed-on: https://go-review.googlesource.com/c/148566
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
master
Dmitri Shuralyov 2018-11-08 15:06:01 -05:00
parent fe2fa19765
commit 55919307b5
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
// +build ignore
// This program generates table.go from
// http://www.w3.org/TR/SVG/types.html#ColorKeywords
// https://www.w3.org/TR/SVG11/types.html#ColorKeywords
package main
import (
@ -165,7 +165,7 @@ func writeColorNames(w io.Writer, m map[string]color.RGBA) {
fmt.Fprintln(w, ")")
}
const url = "http://www.w3.org/TR/SVG/types.html"
const url = "https://www.w3.org/TR/SVG11/types.html"
func main() {
res, err := http.Get(url)