golang.org/x/net/html.Node.Attr (field)

29 uses

	golang.org/x/net/html (current package)
		doctype.go#L59: 		n.Attr = append(n.Attr, Attribute{Key: key, Val: id})
		doctype.go#L69: 	} else if len(n.Attr) > 0 {
		doctype.go#L70: 		if n.Attr[0].Key == "public" {
		doctype.go#L71: 			public := strings.ToLower(n.Attr[0].Val)
		doctype.go#L84: 			if len(n.Attr) == 1 && (strings.HasPrefix(public, "-//w3c//dtd html 4.01 frameset//") ||
		doctype.go#L89: 		if lastAttr := n.Attr[len(n.Attr)-1]; lastAttr.Key == "system" &&
		foreign.go#L41: 			for _, a := range n.Attr {
		node.go#L51: 	Attr      []Attribute
		node.go#L146: 		Attr:     make([]Attribute, len(n.Attr)),
		node.go#L148: 	copy(m.Attr, n.Attr)
		parse.go#L330: 		Attr:     p.tok.Attr,
		parse.go#L356: 		if len(n.Attr) != len(attr) {
		parse.go#L360: 		for _, t0 := range n.Attr {
		parse.go#L834: 	for _, t := range dst.Attr {
		parse.go#L839: 			dst.Attr = append(dst.Attr, t)
		render.go#L102: 		if n.Attr != nil {
		render.go#L104: 			for _, a := range n.Attr {
		render.go#L151: 	for _, a := range n.Attr {

	golang.org/x/pkgsite/internal/frontend
		overview.go#L216: 		for _, a := range n.Attr {
		overview.go#L225: 		n.Attr = attrs

	golang.org/x/pkgsite/internal/testing/htmlcheck
		htmlcheck.go#L177: 		for _, a := range n.Attr {
		htmlcheck.go#L209: 	fmt.Printf("type %d, data %q, attr %v\n", n.Type, n.Data, n.Attr)

	github.com/andybalholm/cascadia
		selector.go#L252: 	for _, a := range n.Attr {
		selector.go#L266: 	for _, a := range n.Attr {