• Nigel Tao's avatar
    html: handle text nodes in foreign content. · 18e84414
    Nigel Tao authored
    Passes tests10.dat, test 6:
    <!DOCTYPE html><body><table><svg><g>foo</g></svg></table>
    
    | <!DOCTYPE html>
    | <html>
    |   <head>
    |   <body>
    |     <svg svg>
    |       <svg g>
    |         "foo"
    |     <table>
    
    Also pass tests through test 12:
    <!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g></svg><p>baz</caption></table>
    
    R=andybalholm
    CC=golang-dev
    https://golang.org/cl/5495061
    18e84414
parse_test.go 6.14 KB