• Andrew Balholm's avatar
    html: process </td> tags; foster parent at most one node per token · 9db3f78c
    Andrew Balholm authored
    Correctly close table cell when </td> is read.
    
    Because of reconstructing the active formatting elements, more than one
    node may be created when reading a single token.
    If both nodes are foster parented, they will be siblings, but the first
    node should be the parent of the second.
    
    Pass tests1.dat, test 77:
    <a href="blah">aba<table><a href="foo">br<tr><td></td></tr>x</table>aoe
    
    | <html>
    |   <head>
    |   <body>
    |     <a>
    |       href="blah"
    |       "aba"
    |       <a>
    |         href="foo"
    |         "br"
    |       <a>
    |         href="foo"
    |         "x"
    |       <table>
    |         <tbody>
    |           <tr>
    |             <td>
    |     <a>
    |       href="foo"
    |       "aoe"
    
    R=nigeltao
    CC=golang-dev
    https://golang.org/cl/5305074
    9db3f78c
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...
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...