aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/html/node.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/html/node.go')
-rw-r--r--libgo/go/html/node.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgo/go/html/node.go b/libgo/go/html/node.go
index 4ecfd6c..5ca6035c 100644
--- a/libgo/go/html/node.go
+++ b/libgo/go/html/node.go
@@ -135,6 +135,8 @@ func (s *nodeStack) remove(n *Node) {
*s = (*s)[:j]
}
+// TODO(nigeltao): forTag no longer used. Should it be deleted?
+
// forTag returns the top-most element node with the given tag.
func (s *nodeStack) forTag(tag string) *Node {
for i := len(*s) - 1; i >= 0; i-- {