• Andrew Balholm's avatar
    html: ignore <col> tag outside tables · 0a61c846
    Andrew Balholm authored
    Pass tests1.dat, test 109:
    <table><col><tbody><col><tr><col><td><col></table><col>
    
    | <html>
    |   <head>
    |   <body>
    |     <table>
    |       <colgroup>
    |         <col>
    |       <tbody>
    |       <colgroup>
    |         <col>
    |       <tbody>
    |         <tr>
    |       <colgroup>
    |         <col>
    |       <tbody>
    |         <tr>
    |           <td>
    |       <colgroup>
    |         <col>
    
    Also pass test 110:
    <table><colgroup><tbody><colgroup><tr><colgroup><td><colgroup></table><colgroup>
    
    R=nigeltao
    CC=golang-dev
    https://golang.org/cl/5369069
    0a61c846
parse.go 32.4 KB