diff options
Diffstat (limited to 'vendor/golang.org/x/net/html/node.go')
-rw-r--r-- | vendor/golang.org/x/net/html/node.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/golang.org/x/net/html/node.go b/vendor/golang.org/x/net/html/node.go index 1350eef22..77741a195 100644 --- a/vendor/golang.org/x/net/html/node.go +++ b/vendor/golang.org/x/net/html/node.go @@ -38,6 +38,10 @@ var scopeMarker = Node{Type: scopeMarkerNode} // that it looks like "a<b" rather than "a<b". For element nodes, DataAtom // is the atom for Data, or zero if Data is not a known tag name. // +// Node trees may be navigated using the link fields (Parent, +// FirstChild, and so on) or a range loop over iterators such as +// [Node.Descendants]. +// // An empty Namespace implies a "http://www.w3.org/1999/xhtml" namespace. // Similarly, "math" is short for "http://www.w3.org/1998/Math/MathML", and // "svg" is short for "http://www.w3.org/2000/svg". |