• 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
..
cmd Loading commit data...
lib9 Loading commit data...
libbio Loading commit data...
libmach Loading commit data...
pkg Loading commit data...
Make.ccmd Loading commit data...
Make.clib Loading commit data...
Make.cmd Loading commit data...
Make.common Loading commit data...
Make.inc Loading commit data...
Make.pkg Loading commit data...
all-qemu.bash Loading commit data...
all.bash Loading commit data...
buildinfo.sh Loading commit data...
buildscript.sh Loading commit data...
buildscript_darwin_386.sh Loading commit data...
buildscript_darwin_amd64.sh Loading commit data...
buildscript_freebsd_386.sh Loading commit data...
buildscript_freebsd_amd64.sh Loading commit data...
buildscript_linux_386.sh Loading commit data...
buildscript_linux_amd64.sh Loading commit data...
buildscript_linux_arm.sh Loading commit data...
buildscript_netbsd_386.sh Loading commit data...
buildscript_netbsd_amd64.sh Loading commit data...
buildscript_openbsd_386.sh Loading commit data...
buildscript_openbsd_amd64.sh Loading commit data...
buildscript_plan9_386.sh Loading commit data...
buildscript_windows_386.sh Loading commit data...
buildscript_windows_amd64.sh Loading commit data...
clean.bash Loading commit data...
env.bash Loading commit data...
make.bash Loading commit data...
quietgcc.bash Loading commit data...
run.bash Loading commit data...
sudo.bash Loading commit data...
version.bash Loading commit data...