Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 71eebd5

Browse filesBrowse files
gsnedderssideshowbarker
authored andcommitted
Add a test for order of comments after </html>
Notably, html5lib-python's lxml treebuilder gets this wrong: html5lib/html5lib-python#488
1 parent 1ddd636 commit 71eebd5
Copy full SHA for 71eebd5

File tree

1 file changed

+14
-0
lines changed
Filter options

1 file changed

+14
-0
lines changed

‎tree-construction/webkit01.dat

Copy file name to clipboardExpand all lines: tree-construction/webkit01.dat
+14Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,20 @@ console.log("FOO<span>BAR</span>BAZ");
307307
| <body>
308308
| <!-- Hi there -->
309309

310+
#data
311+
<html><body></body></html><!-- Comment A --><!-- Comment B --><!-- Comment C --><!-- Comment D --><!-- Comment E -->
312+
#errors
313+
(1,6): expected-doctype-but-got-start-tag
314+
#document
315+
| <html>
316+
| <head>
317+
| <body>
318+
| <!-- Comment A -->
319+
| <!-- Comment B -->
320+
| <!-- Comment C -->
321+
| <!-- Comment D -->
322+
| <!-- Comment E -->
323+
310324
#data
311325
<html><body></body></html>x<!-- Hi there -->
312326
#errors

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.