Pass tests6.dat, test 13:
<button><button>
| <html>
| <head>
| <body>
| <button>
| <button>
Also pass tests through test 25:
<table><colgroup>foo
R=nigeltao
CC=golang-dev
https://golang.org/cl/
5487072
case "plaintext":
p.popUntil(buttonScopeStopTags, "p")
p.addElement(p.tok.Data, p.tok.Attr)
+ case "button":
+ p.popUntil(defaultScopeStopTags, "button")
+ p.reconstructActiveFormattingElements()
+ p.addElement(p.tok.Data, p.tok.Attr)
+ p.framesetOK = false
case "optgroup", "option":
if p.top().Data == "option" {
p.oe.pop()
{"tests3.dat", -1},
{"tests4.dat", -1},
{"tests5.dat", -1},
- {"tests6.dat", 13},
+ {"tests6.dat", 26},
}
for _, tf := range testFiles {
f, err := os.Open("testdata/webkit/" + tf.filename)