• Nigel Tao's avatar
    html: handle breakout tags in foreign content. · fe28d1aa
    Nigel Tao authored
    Also recognize that, in the latest version of the HTML5 spec,
    foreign content is not an insertion mode, but a separate concern.
    
    Pass tests10.dat, test 13:
    <!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g><p>baz</table><p>quux
    
    | <!DOCTYPE html>
    | <html>
    |   <head>
    |   <body>
    |     <table>
    |       <caption>
    |         <svg svg>
    |           <svg g>
    |             "foo"
    |           <svg g>
    |             "bar"
    |         <p>
    |           "baz"
    |     <p>
    |       "quux"
    
    Also pass tests through test 15:
    <!DOCTYPE html><body><table><colgroup><svg><g>foo</g><g>bar</g><p>baz</table><p>quux
    
    R=andybalholm
    CC=golang-dev
    https://golang.org/cl/5494078
    fe28d1aa
Name
Last commit
Last update
..
template Loading commit data...
testdata/webkit Loading commit data...
Makefile Loading commit data...
const.go Loading commit data...
doc.go Loading commit data...
doctype.go Loading commit data...
entity.go Loading commit data...
entity_test.go Loading commit data...
escape.go Loading commit data...
foreign.go Loading commit data...
node.go Loading commit data...
parse.go Loading commit data...
parse_test.go Loading commit data...
render.go Loading commit data...
render_test.go Loading commit data...
token.go Loading commit data...
token_test.go Loading commit data...