mirror of
https://github.com/golang/net.git
synced 2026-04-01 02:47:08 +09:00
1. git clone git@github.com:html5lib/html5lib-tests.git && git checkout 88b8ee967f9f6f42fcd84c65af774860a70ecf3c 2. cp -Rv html5lib-tests/tree-construction/ into testdata/webkit 3. Drop unpassed following changes: testdata/webkit/foreign-fragment.dat testdata/webkit/isindex.dat testdata/webkit/main-element.dat testdata/webkit/menuitem-element.dat testdata/webkit/tests11.dat testdata/webkit/tests16.dat testdata/webkit/tests19.dat testdata/webkit/tests25.dat testdata/webkit/tests5.dat testdata/webkit/webkit02.dat Change-Id: Ie60b6e24751a1efb83caf326b7e42f0517ec6b96 Reviewed-on: https://go-review.googlesource.com/c/net/+/205617 Run-TryBot: Kunpei Sakai <namusyaka@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Nigel Tao <nigeltao@golang.org>
179 lines
2.9 KiB
Plaintext
179 lines
2.9 KiB
Plaintext
#data
|
|
FOO<!-- BAR -->BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- BAR -->
|
|
| "BAZ"
|
|
|
|
#data
|
|
FOO<!-- BAR --!>BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
(1,15): unexpected-bang-after-double-dash-in-comment
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- BAR -->
|
|
| "BAZ"
|
|
|
|
#data
|
|
FOO<!-- BAR -- >BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
(1,15): unexpected-char-in-comment
|
|
(1,21): eof-in-comment
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- BAR -- >BAZ -->
|
|
|
|
#data
|
|
FOO<!-- BAR -- <QUX> -- MUX -->BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
(1,15): unexpected-char-in-comment
|
|
(1,24): unexpected-char-in-comment
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- BAR -- <QUX> -- MUX -->
|
|
| "BAZ"
|
|
|
|
#data
|
|
FOO<!-- BAR -- <QUX> -- MUX --!>BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
(1,15): unexpected-char-in-comment
|
|
(1,24): unexpected-char-in-comment
|
|
(1,31): unexpected-bang-after-double-dash-in-comment
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- BAR -- <QUX> -- MUX -->
|
|
| "BAZ"
|
|
|
|
#data
|
|
FOO<!-- BAR -- <QUX> -- MUX -- >BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
(1,15): unexpected-char-in-comment
|
|
(1,24): unexpected-char-in-comment
|
|
(1,31): unexpected-char-in-comment
|
|
(1,35): eof-in-comment
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- BAR -- <QUX> -- MUX -- >BAZ -->
|
|
|
|
#data
|
|
FOO<!---->BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- -->
|
|
| "BAZ"
|
|
|
|
#data
|
|
FOO<!--->BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
(1,9): incorrect-comment
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- -->
|
|
| "BAZ"
|
|
|
|
#data
|
|
FOO<!-->BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
(1,8): incorrect-comment
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- -->
|
|
| "BAZ"
|
|
|
|
#data
|
|
<?xml version="1.0">Hi
|
|
#errors
|
|
(1,1): expected-tag-name-but-got-question-mark
|
|
(1,22): expected-doctype-but-got-chars
|
|
#document
|
|
| <!-- ?xml version="1.0" -->
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "Hi"
|
|
|
|
#data
|
|
<?xml version="1.0">
|
|
#errors
|
|
(1,1): expected-tag-name-but-got-question-mark
|
|
(1,20): expected-doctype-but-got-eof
|
|
#document
|
|
| <!-- ?xml version="1.0" -->
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
|
|
#data
|
|
<?xml version
|
|
#errors
|
|
(1,1): expected-tag-name-but-got-question-mark
|
|
(1,13): expected-doctype-but-got-eof
|
|
#document
|
|
| <!-- ?xml version -->
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
|
|
#data
|
|
FOO<!----->BAZ
|
|
#errors
|
|
(1,3): expected-doctype-but-got-chars
|
|
(1,10): unexpected-dash-after-double-dash-in-comment
|
|
#document
|
|
| <html>
|
|
| <head>
|
|
| <body>
|
|
| "FOO"
|
|
| <!-- - -->
|
|
| "BAZ"
|
|
|
|
#data
|
|
<html><!-- comment --><title>Comment before head</title>
|
|
#errors
|
|
(1,6): expected-doctype-but-got-start-tag
|
|
#document
|
|
| <html>
|
|
| <!-- comment -->
|
|
| <head>
|
|
| <title>
|
|
| "Comment before head"
|
|
| <body>
|