• Andrew Balholm's avatar
    html: parse </optgroup> and </option> · 3276afd4
    Andrew Balholm authored
    Pass tests2.dat, test 35:
    <!DOCTYPE html><select><optgroup><option></optgroup><option><select><option>
    
    | <!DOCTYPE html>
    | <html>
    |   <head>
    |   <body>
    |     <select>
    |       <optgroup>
    |         <option>
    |       <option>
    |     <option>
    
    Also pass tests through test 41:
    <!DOCTYPE html><!-- XXX - XXX - XXX -->
    
    R=nigeltao, rsc
    CC=golang-dev
    https://golang.org/cl/5395045
    3276afd4
parse.go 32.8 KB