Pass tests6.dat, test 36:
<caption><col><colgroup><tbody><tfoot><thead><tr>
| <tr>
Pass tests through test 44:
<body></body></html>
R=nigeltao
CC=golang-dev
https://golang.org/cl/
5494055
add = true
data = "tr"
consumed = false
+ case "caption", "col", "colgroup", "tbody", "tfoot", "thead":
+ if !p.popUntil(tableScopeStopTags, "tbody", "thead", "tfoot") {
+ // Ignore the token.
+ return true
+ }
+ p.im = inTableIM
+ return false
default:
// TODO.
}
{"tests3.dat", -1},
{"tests4.dat", -1},
{"tests5.dat", -1},
- {"tests6.dat", 36},
+ {"tests6.dat", 45},
{"tests10.dat", 13},
}
for _, tf := range testFiles {