golang.org/x/net/html.parser.elementInScope (method)

13 uses

	golang.org/x/net/html (current package)
		parse.go#L156: func (p *parser) elementInScope(s scope, matchTags ...a.Atom) bool {
		parse.go#L990: 			if p.elementInScope(defaultScope, a.Nobr) {
		parse.go#L1075: 			if p.elementInScope(defaultScope, a.Ruby) {
		parse.go#L1080: 			if p.elementInScope(defaultScope, a.Ruby) {
		parse.go#L1108: 			if p.elementInScope(defaultScope, a.Body) {
		parse.go#L1112: 			if p.elementInScope(defaultScope, a.Body) {
		parse.go#L1144: 			if !p.elementInScope(buttonScope, a.P) {
		parse.go#L1231: 		if !p.elementInScope(defaultScope, tagAtom) {
		parse.go#L1631: 			if p.elementInScope(tableScope, p.tok.DataAtom) {
		parse.go#L1695: 			if p.elementInScope(tableScope, p.tok.DataAtom) {
		parse.go#L1745: 			if !p.elementInScope(tableScope, p.tok.DataAtom) {
		parse.go#L1789: 			if p.elementInScope(selectScope, a.Select) {
		parse.go#L1851: 			if p.tok.Type == EndTagToken && !p.elementInScope(tableScope, p.tok.DataAtom) {