diff options
| author | Andrew Balholm <andybalholm@gmail.com> | 2011-12-24 11:07:14 +1100 |
|---|---|---|
| committer | Nigel Tao <nigeltao@golang.org> | 2011-12-24 11:07:14 +1100 |
| commit | b28f017537df9c10e45c5474612082ed4bbfc8ef (patch) | |
| tree | 2ade6e3a1c6a4a1fb17696a45631e18005005d7c /src/pkg/html/parse_test.go | |
| parent | cadbd3ea4986a43eebb1be3cacdce346513d537f (diff) | |
| download | go-b28f017537df9c10e45c5474612082ed4bbfc8ef.tar.xz | |
html: "in select in table" insertion mode.
Pass tests10.dat, test 16:
<!DOCTYPE
html><body><table><tr><td><select><svg><g>foo</g><g>bar</g><p>baz</table><p>quux
| <!DOCTYPE html>
| <html>
| <head>
| <body>
| <table>
| <tbody>
| <tr>
| <td>
| <select>
| "foobarbaz"
| <p>
| "quux"
Also pass tests through test 21:
<!DOCTYPE html><frameset></frameset><svg><g></g><g></g><p><span>
R=nigeltao
CC=golang-dev
https://golang.org/cl/5505069
Diffstat (limited to 'src/pkg/html/parse_test.go')
| -rw-r--r-- | src/pkg/html/parse_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/html/parse_test.go b/src/pkg/html/parse_test.go index 015b5838f0..46be981893 100644 --- a/src/pkg/html/parse_test.go +++ b/src/pkg/html/parse_test.go @@ -173,7 +173,7 @@ func TestParser(t *testing.T) { {"tests4.dat", -1}, {"tests5.dat", -1}, {"tests6.dat", 47}, - {"tests10.dat", 16}, + {"tests10.dat", 22}, } for _, tf := range testFiles { f, err := os.Open("testdata/webkit/" + tf.filename) |
