fix(html/parser): Fix span (#5209)

This commit is contained in:
Alexander Akait 2022-07-15 04:38:44 +03:00 committed by GitHub
parent 891210d216
commit b4daa30058
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
349 changed files with 1060 additions and 1063 deletions

View File

@ -993,7 +993,7 @@ where
Token::EndTag { tag_name, .. } if tag_name == "script" => {
let popped = self.open_elements_stack.pop();
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
// No need to handle other steps
}
@ -1059,7 +1059,7 @@ where
let clone = inner_node.clone();
let popped = self.open_elements_stack.pop_until_node(&clone);
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
return Ok(());
}
@ -1817,7 +1817,7 @@ where
Token::EndTag { tag_name, .. } if tag_name == "head" => {
let popped = self.open_elements_stack.pop();
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
self.insertion_mode = InsertionMode::AfterHead;
}
// An end tag whose tag name is one of: "body", "html", "br"
@ -1891,7 +1891,7 @@ where
.open_elements_stack
.pop_until_tag_name_popped(&["template"]);
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
self.active_formatting_elements.clear_to_last_marker();
self.template_insertion_mode_stack.pop();
self.reset_insertion_mode();
@ -1993,7 +1993,7 @@ where
Token::EndTag { tag_name, .. } if tag_name == "noscript" => {
let popped = self.open_elements_stack.pop();
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
self.insertion_mode = InsertionMode::InHead;
}
// A character token that is one of U+0009 CHARACTER TABULATION, U+000A LINE
@ -2496,6 +2496,11 @@ where
return Ok(());
}
self.update_end_tag_span(
self.open_elements_stack.items.last(),
token_and_info.span,
);
for node in &self.open_elements_stack.items {
if !is_html_element!(
node,
@ -2552,7 +2557,7 @@ where
} else {
self.update_end_tag_span(
self.open_elements_stack.items.get(1),
token_and_info,
token_and_info.span,
);
}
@ -2614,7 +2619,7 @@ where
} else {
self.update_end_tag_span(
self.open_elements_stack.items.get(0),
token_and_info,
token_and_info.span,
);
}
@ -3111,7 +3116,7 @@ where
.open_elements_stack
.pop_until_tag_name_popped(&[tag_name]);
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
}
}
// An end tag whose tag name is "form"
@ -3187,7 +3192,7 @@ where
ErrorKind::UnclosedElements(tag_name.clone()),
));
} else {
self.update_end_tag_span(Some(&node), token_and_info);
self.update_end_tag_span(Some(&node), token_and_info.span);
}
self.open_elements_stack.remove(&node);
@ -3217,7 +3222,7 @@ where
.open_elements_stack
.pop_until_tag_name_popped(&["form"]);
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
}
}
// An end tag whose tag name is "p"
@ -3278,7 +3283,7 @@ where
let popped =
self.open_elements_stack.pop_until_tag_name_popped(&["li"]);
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
}
}
// An end tag whose tag name is one of: "dd", "dt"
@ -3321,7 +3326,7 @@ where
.open_elements_stack
.pop_until_tag_name_popped(&[tag_name]);
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
}
}
// An end tag whose tag name is one of: "h1", "h2", "h3", "h4", "h5", "h6"
@ -3364,7 +3369,7 @@ where
ErrorKind::UnclosedElements(tag_name.clone()),
));
} else {
self.update_end_tag_span(Some(node), token_and_info);
self.update_end_tag_span(Some(node), token_and_info.span);
}
}
@ -3585,7 +3590,7 @@ where
.open_elements_stack
.pop_until_tag_name_popped(&[tag_name]);
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
self.active_formatting_elements.clear_to_last_marker();
}
}
@ -3628,7 +3633,8 @@ where
self.reconstruct_active_formatting_elements()?;
self.insert_html_element(
&mut self.create_fake_token_and_info("br", Some(token_and_info.span)),
&mut self
.create_fake_token_and_info(tag_name, Some(token_and_info.span)),
)?;
self.open_elements_stack.pop();
@ -4254,7 +4260,10 @@ where
Token::Eof => {
self.errors
.push(Error::new(token_and_info.span, ErrorKind::EofInText));
self.open_elements_stack.pop();
let popped = self.open_elements_stack.pop();
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
self.insertion_mode = self.original_insertion_mode.clone();
self.process_token(token_and_info, None)?;
}
@ -4343,7 +4352,7 @@ where
// More things can be implemented to intercept script execution
let popped = self.open_elements_stack.pop();
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
self.insertion_mode = self.original_insertion_mode.clone();
}
// Any other end tag
@ -4355,7 +4364,7 @@ where
if let Token::EndTag { .. } = token {
self.update_end_tag_span(
self.open_elements_stack.items.last(),
token_and_info,
token_and_info.span,
);
}
@ -4534,7 +4543,7 @@ where
.open_elements_stack
.pop_until_tag_name_popped(&["table"]);
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
self.reset_insertion_mode();
}
}
@ -4789,7 +4798,7 @@ where
.open_elements_stack
.pop_until_tag_name_popped(&["caption"]);
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
self.active_formatting_elements.clear_to_last_marker();
self.insertion_mode = InsertionMode::InTable;
}
@ -4986,7 +4995,7 @@ where
_ => {
let popped = self.open_elements_stack.pop();
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
self.insertion_mode = InsertionMode::InTable;
}
}
@ -5111,7 +5120,7 @@ where
self.open_elements_stack.clear_back_to_table_body_context();
self.update_end_tag_span(
self.open_elements_stack.items.last(),
token_and_info,
token_and_info.span,
);
self.open_elements_stack.pop();
self.insertion_mode = InsertionMode::InTable;
@ -5235,7 +5244,7 @@ where
self.open_elements_stack.clear_back_to_table_row_context();
self.update_end_tag_span(
self.open_elements_stack.items.last(),
token_and_info,
token_and_info.span,
);
self.open_elements_stack.pop();
self.insertion_mode = InsertionMode::InTableBody;
@ -5394,7 +5403,7 @@ where
.open_elements_stack
.pop_until_tag_name_popped(&[tag_name]);
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
self.active_formatting_elements.clear_to_last_marker();
self.insertion_mode = InsertionMode::InRow;
}
@ -5591,7 +5600,10 @@ where
Some(node) if is_html_element!(node, "optgroup") => {
let popped = self.open_elements_stack.pop();
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(
popped.as_ref(),
token_and_info.span,
);
}
_ => {}
}
@ -5603,7 +5615,7 @@ where
Some(node) if is_html_element!(node, "optgroup") => {
let popped = self.open_elements_stack.pop();
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
}
_ => self.errors.push(Error::new(
token_and_info.span,
@ -5620,7 +5632,7 @@ where
Some(node) if is_html_element!(node, "option") => {
let popped = self.open_elements_stack.pop();
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
}
_ => self.errors.push(Error::new(
token_and_info.span,
@ -5650,7 +5662,7 @@ where
.open_elements_stack
.pop_until_tag_name_popped(&["select"]);
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
self.reset_insertion_mode();
}
}
@ -5992,6 +6004,10 @@ where
if !self.open_elements_stack.contains_template_element() {
self.stopped = true;
} else {
self.update_end_tag_span(
self.open_elements_stack.items.last(),
token_and_info.span,
);
self.errors.push(Error::new(
token_and_info.span,
ErrorKind::EofWithUnclosedElements,
@ -6056,7 +6072,7 @@ where
} else {
self.update_end_tag_span(
self.open_elements_stack.items.get(0),
token_and_info,
token_and_info.span,
);
self.insertion_mode = InsertionMode::AfterAfterBody;
}
@ -6065,6 +6081,10 @@ where
//
// Stop parsing.
Token::Eof => {
self.update_end_tag_span(
self.open_elements_stack.items.last(),
token_and_info.span,
);
self.stopped = true;
}
// Anything else
@ -6172,7 +6192,7 @@ where
} else {
let popped = self.open_elements_stack.pop();
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
if !self.is_fragment_case {
match self.open_elements_stack.items.last() {
@ -6219,6 +6239,11 @@ where
//
// Stop parsing.
Token::Eof => {
self.update_end_tag_span(
self.open_elements_stack.items.last(),
token_and_info.span,
);
match self.open_elements_stack.items.last() {
Some(node) if !is_html_element!(node, "html") => {
self.errors.push(Error::new(
@ -6302,7 +6327,7 @@ where
Token::EndTag { tag_name, .. } if tag_name == "html" => {
self.update_end_tag_span(
self.open_elements_stack.items.last(),
token_and_info,
token_and_info.span,
);
self.insertion_mode = InsertionMode::AfterAfterFrameset;
}
@ -6457,6 +6482,10 @@ where
//
// Stop parsing.
Token::Eof => {
self.update_end_tag_span(
self.open_elements_stack.items.last(),
token_and_info.span,
);
self.stopped = true;
}
// A start tag whose tag name is "noframes"
@ -6617,7 +6646,7 @@ where
} else {
let node = self.open_elements_stack.items.last();
self.update_end_tag_span(node, token_and_info);
self.update_end_tag_span(node, token_and_info.span);
}
// 2.- 3.
@ -7055,7 +7084,7 @@ where
let popped = self.open_elements_stack.pop();
if is_closing {
self.update_end_tag_span(popped.as_ref(), token_and_info);
self.update_end_tag_span(popped.as_ref(), token_and_info.span);
}
return Ok(());
@ -7164,7 +7193,7 @@ where
while let Some(node) = self.open_elements_stack.pop() {
if is_same_node(&node, &formatting_element.1) {
if is_closing {
self.update_end_tag_span(Some(&node), token_and_info);
self.update_end_tag_span(Some(&node), token_and_info.span);
}
break;
@ -7552,7 +7581,7 @@ where
let popped = self.open_elements_stack.pop_until_tag_name_popped(&["p"]);
if is_close_p {
self.update_end_tag_span(popped.as_ref(), token_and_info)
self.update_end_tag_span(popped.as_ref(), token_and_info.span)
}
}
@ -8385,7 +8414,7 @@ where
}
}
fn update_end_tag_span(&self, node: Option<&RcNode>, token_and_info: &TokenAndInfo) {
fn update_end_tag_span(&self, node: Option<&RcNode>, span: Span) {
if let Some(node) = node {
if node.start_span.borrow().is_dummy() {
return;
@ -8393,7 +8422,7 @@ where
let mut end_tag_span = node.end_span.borrow_mut();
*end_tag_span = Some(token_and_info.span);
*end_tag_span = Some(span);
}
}
}

View File

@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 62,
"end": 66,
"ctxt": 0
},
"tagName": "div",
@ -87,7 +87,7 @@
"type": "Element",
"span": {
"start": 9,
"end": 62,
"end": 66,
"ctxt": 0
},
"tagName": "b",
@ -98,7 +98,7 @@
"type": "Element",
"span": {
"start": 12,
"end": 62,
"end": 66,
"ctxt": 0
},
"tagName": "div",
@ -123,7 +123,7 @@
"type": "Element",
"span": {
"start": 17,
"end": 62,
"end": 66,
"ctxt": 0
},
"tagName": "div",
@ -148,7 +148,7 @@
"type": "Element",
"span": {
"start": 22,
"end": 62,
"end": 66,
"ctxt": 0
},
"tagName": "div",
@ -173,7 +173,7 @@
"type": "Element",
"span": {
"start": 27,
"end": 62,
"end": 66,
"ctxt": 0
},
"tagName": "div",
@ -198,7 +198,7 @@
"type": "Element",
"span": {
"start": 32,
"end": 62,
"end": 66,
"ctxt": 0
},
"tagName": "div",
@ -223,7 +223,7 @@
"type": "Element",
"span": {
"start": 37,
"end": 62,
"end": 66,
"ctxt": 0
},
"tagName": "div",
@ -248,7 +248,7 @@
"type": "Element",
"span": {
"start": 42,
"end": 62,
"end": 66,
"ctxt": 0
},
"tagName": "div",
@ -273,7 +273,7 @@
"type": "Element",
"span": {
"start": 47,
"end": 62,
"end": 66,
"ctxt": 0
},
"tagName": "div",
@ -284,7 +284,7 @@
"type": "Element",
"span": {
"start": 6,
"end": 62,
"end": 66,
"ctxt": 0
},
"tagName": "a",
@ -295,7 +295,7 @@
"type": "Element",
"span": {
"start": 52,
"end": 62,
"end": 66,
"ctxt": 0
},
"tagName": "div",
@ -306,7 +306,7 @@
"type": "Element",
"span": {
"start": 57,
"end": 62,
"end": 66,
"ctxt": 0
},
"tagName": "div",

View File

@ -12,13 +12,13 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
@ -48,25 +48,25 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
@ -84,119 +84,107 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^
: ^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/13/input.html:1:1]
1 | <div><a><b><div><div><div><div><div><div><div><div><div><div></a>
: ^^^^^
: ^^^^^^^^^
`----

View File

@ -84,7 +84,7 @@
"type": "Element",
"span": {
"start": 25,
"end": 36,
"end": 41,
"ctxt": 0
},
"tagName": "aside",

View File

@ -72,13 +72,13 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/17.fragment_div/input.html:1:1]
1 | <b><em><foo><foob><fooc><aside></b></em>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/17.fragment_div/input.html:1:1]
1 | <b><em><foo><foob><fooc><aside></b></em>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^
`----
x Child

View File

@ -122,7 +122,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 8,
"end": 25,
"ctxt": 0
},
"tagName": "table",

View File

@ -84,11 +84,11 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/5/input.html:1:1]
1 | <table><a>1<p>2</a>3</p>
: ^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/adoption01_dat/5/input.html:1:1]
1 | <table><a>1<p>2</a>3</p>
: ^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----

View File

@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 22,
"end": 25,
"ctxt": 0
},
"tagName": "svg",

View File

@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 22,
"end": 25,
"ctxt": 0
},
"tagName": "svg",

View File

@ -12,13 +12,13 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/domjs-unsafe_dat/1/input.html:1:1]
1 | <svg><![CDATA[foo bar]]>
: ^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/domjs-unsafe_dat/1/input.html:1:1]
1 | <svg><![CDATA[foo bar]]>
: ^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child

View File

@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 22,
"end": 25,
"ctxt": 0
},
"tagName": "svg",

View File

@ -36,7 +36,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 14,
"end": 29,
"ctxt": 0
},
"tagName": "body",

View File

@ -12,11 +12,11 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/domjs-unsafe_dat/30/input.html:1:1]
1 | <body></body><!DOCTYPE html>
: ^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/domjs-unsafe_dat/30/input.html:1:1]
1 | <body></body><!DOCTYPE html>
: ^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----

View File

@ -12,11 +12,11 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/foreign-fragment_dat/52.fragment_svg_desc/input.html:1:1]
1 | <frameset>X
: ^^^^^^^^^^
: ^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/foreign-fragment_dat/52.fragment_svg_desc/input.html:1:1]
1 | <frameset>X
: ^^^^^^^^^^
: ^^^^^^^^^^^
`----

View File

@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 10,
"end": 16,
"ctxt": 0
},
"tagName": "button",

View File

@ -12,13 +12,13 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/inbody01_dat/0/input.html:1:1]
1 | <button>1</foo>
: ^^^^^^^^^
: ^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/inbody01_dat/0/input.html:1:1]
1 | <button>1</foo>
: ^^^^^^^^^
: ^^^^^^^^^^^^^^^
`----
x Child

View File

@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 11,
"end": 17,
"ctxt": 0
},
"tagName": "foo",
@ -68,7 +68,7 @@
"type": "Element",
"span": {
"start": 7,
"end": 11,
"end": 17,
"ctxt": 0
},
"tagName": "p",

View File

@ -12,13 +12,13 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/inbody01_dat/1/input.html:1:1]
1 | <foo>1<p>2</foo>
: ^^^^^^^^^^
: ^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/inbody01_dat/1/input.html:1:1]
1 | <foo>1<p>2</foo>
: ^^^^^^^^^^
: ^^^^^^^^^^^^^^^^
`----
x Child
@ -36,13 +36,13 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/inbody01_dat/1/input.html:1:1]
1 | <foo>1<p>2</foo>
: ^^^^
: ^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/inbody01_dat/1/input.html:1:1]
1 | <foo>1<p>2</foo>
: ^^^^
: ^^^^^^^^^^
`----
x Child

View File

@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 6,
"end": 12,
"ctxt": 0
},
"tagName": "dd",

View File

@ -12,13 +12,13 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/inbody01_dat/2/input.html:1:1]
1 | <dd>1</foo>
: ^^^^^
: ^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/inbody01_dat/2/input.html:1:1]
1 | <dd>1</foo>
: ^^^^^
: ^^^^^^^^^^^
`----
x Child

View File

@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 12,
"end": 18,
"ctxt": 0
},
"tagName": "foo",
@ -68,7 +68,7 @@
"type": "Element",
"span": {
"start": 7,
"end": 12,
"end": 18,
"ctxt": 0
},
"tagName": "dd",

View File

@ -12,13 +12,13 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/inbody01_dat/3/input.html:1:1]
1 | <foo>1<dd>2</foo>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/inbody01_dat/3/input.html:1:1]
1 | <foo>1<dd>2</foo>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^
`----
x Child
@ -36,13 +36,13 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/inbody01_dat/3/input.html:1:1]
1 | <foo>1<dd>2</foo>
: ^^^^^
: ^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/inbody01_dat/3/input.html:1:1]
1 | <foo>1<dd>2</foo>
: ^^^^^
: ^^^^^^^^^^^
`----
x Child

View File

@ -10,7 +10,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 19,
"end": 23,
"ctxt": 0
},
"tagName": "math",
@ -21,7 +21,7 @@
"type": "Element",
"span": {
"start": 7,
"end": 19,
"end": 23,
"ctxt": 0
},
"tagName": "tr",
@ -32,7 +32,7 @@
"type": "Element",
"span": {
"start": 11,
"end": 19,
"end": 23,
"ctxt": 0
},
"tagName": "td",
@ -43,7 +43,7 @@
"type": "Element",
"span": {
"start": 15,
"end": 19,
"end": 23,
"ctxt": 0
},
"tagName": "mo",

View File

@ -12,47 +12,47 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/0.fragment_td/input.html:1:1]
1 | <math><tr><td><mo><tr>
: ^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/0.fragment_td/input.html:1:1]
1 | <math><tr><td><mo><tr>
: ^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/0.fragment_td/input.html:1:1]
1 | <math><tr><td><mo><tr>
: ^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/0.fragment_td/input.html:1:1]
1 | <math><tr><td><mo><tr>
: ^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/0.fragment_td/input.html:1:1]
1 | <math><tr><td><mo><tr>
: ^^^^^^^^
: ^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/0.fragment_td/input.html:1:1]
1 | <math><tr><td><mo><tr>
: ^^^^^^^^
: ^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/0.fragment_td/input.html:1:1]
1 | <math><tr><td><mo><tr>
: ^^^^
: ^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/0.fragment_td/input.html:1:1]
1 | <math><tr><td><mo><tr>
: ^^^^
: ^^^^^^^^
`----

View File

@ -10,7 +10,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 19,
"end": 23,
"ctxt": 0
},
"tagName": "math",
@ -21,7 +21,7 @@
"type": "Element",
"span": {
"start": 7,
"end": 19,
"end": 23,
"ctxt": 0
},
"tagName": "tr",
@ -32,7 +32,7 @@
"type": "Element",
"span": {
"start": 11,
"end": 19,
"end": 23,
"ctxt": 0
},
"tagName": "td",
@ -43,7 +43,7 @@
"type": "Element",
"span": {
"start": 15,
"end": 19,
"end": 23,
"ctxt": 0
},
"tagName": "mo",

View File

@ -12,47 +12,47 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/1.fragment_tr/input.html:1:1]
1 | <math><tr><td><mo><tr>
: ^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/1.fragment_tr/input.html:1:1]
1 | <math><tr><td><mo><tr>
: ^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/1.fragment_tr/input.html:1:1]
1 | <math><tr><td><mo><tr>
: ^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/1.fragment_tr/input.html:1:1]
1 | <math><tr><td><mo><tr>
: ^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/1.fragment_tr/input.html:1:1]
1 | <math><tr><td><mo><tr>
: ^^^^^^^^
: ^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/1.fragment_tr/input.html:1:1]
1 | <math><tr><td><mo><tr>
: ^^^^^^^^
: ^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/1.fragment_tr/input.html:1:1]
1 | <math><tr><td><mo><tr>
: ^^^^
: ^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/1.fragment_tr/input.html:1:1]
1 | <math><tr><td><mo><tr>
: ^^^^
: ^^^^^^^^
`----

View File

@ -10,7 +10,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 18,
"end": 25,
"ctxt": 0
},
"tagName": "math",
@ -21,7 +21,7 @@
"type": "Element",
"span": {
"start": 7,
"end": 18,
"end": 25,
"ctxt": 0
},
"tagName": "thead",
@ -32,7 +32,7 @@
"type": "Element",
"span": {
"start": 14,
"end": 18,
"end": 25,
"ctxt": 0
},
"tagName": "mo",

View File

@ -12,35 +12,35 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/2.fragment_thead/input.html:1:1]
1 | <math><thead><mo><tbody>
: ^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/2.fragment_thead/input.html:1:1]
1 | <math><thead><mo><tbody>
: ^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/2.fragment_thead/input.html:1:1]
1 | <math><thead><mo><tbody>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/2.fragment_thead/input.html:1:1]
1 | <math><thead><mo><tbody>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/2.fragment_thead/input.html:1:1]
1 | <math><thead><mo><tbody>
: ^^^^
: ^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/2.fragment_thead/input.html:1:1]
1 | <math><thead><mo><tbody>
: ^^^^
: ^^^^^^^^^^^
`----

View File

@ -10,7 +10,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 18,
"end": 25,
"ctxt": 0
},
"tagName": "math",
@ -21,7 +21,7 @@
"type": "Element",
"span": {
"start": 7,
"end": 18,
"end": 25,
"ctxt": 0
},
"tagName": "tfoot",
@ -32,7 +32,7 @@
"type": "Element",
"span": {
"start": 14,
"end": 18,
"end": 25,
"ctxt": 0
},
"tagName": "mo",

View File

@ -12,35 +12,35 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/3.fragment_tfoot/input.html:1:1]
1 | <math><tfoot><mo><tbody>
: ^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/3.fragment_tfoot/input.html:1:1]
1 | <math><tfoot><mo><tbody>
: ^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/3.fragment_tfoot/input.html:1:1]
1 | <math><tfoot><mo><tbody>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/3.fragment_tfoot/input.html:1:1]
1 | <math><tfoot><mo><tbody>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/3.fragment_tfoot/input.html:1:1]
1 | <math><tfoot><mo><tbody>
: ^^^^
: ^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/3.fragment_tfoot/input.html:1:1]
1 | <math><tfoot><mo><tbody>
: ^^^^
: ^^^^^^^^^^^
`----

View File

@ -10,7 +10,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 18,
"end": 25,
"ctxt": 0
},
"tagName": "math",
@ -21,7 +21,7 @@
"type": "Element",
"span": {
"start": 7,
"end": 18,
"end": 25,
"ctxt": 0
},
"tagName": "tbody",
@ -32,7 +32,7 @@
"type": "Element",
"span": {
"start": 14,
"end": 18,
"end": 25,
"ctxt": 0
},
"tagName": "mo",

View File

@ -12,35 +12,35 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/4.fragment_tbody/input.html:1:1]
1 | <math><tbody><mo><tfoot>
: ^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/4.fragment_tbody/input.html:1:1]
1 | <math><tbody><mo><tfoot>
: ^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/4.fragment_tbody/input.html:1:1]
1 | <math><tbody><mo><tfoot>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/4.fragment_tbody/input.html:1:1]
1 | <math><tbody><mo><tfoot>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/4.fragment_tbody/input.html:1:1]
1 | <math><tbody><mo><tfoot>
: ^^^^
: ^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/4.fragment_tbody/input.html:1:1]
1 | <math><tbody><mo><tfoot>
: ^^^^
: ^^^^^^^^^^^
`----

View File

@ -10,7 +10,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 18,
"end": 26,
"ctxt": 0
},
"tagName": "math",
@ -21,7 +21,7 @@
"type": "Element",
"span": {
"start": 7,
"end": 18,
"end": 26,
"ctxt": 0
},
"tagName": "tbody",
@ -32,7 +32,7 @@
"type": "Element",
"span": {
"start": 14,
"end": 18,
"end": 26,
"ctxt": 0
},
"tagName": "mo",

View File

@ -12,35 +12,35 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/5.fragment_tbody/input.html:1:1]
1 | <math><tbody><mo></table>
: ^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/5.fragment_tbody/input.html:1:1]
1 | <math><tbody><mo></table>
: ^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/5.fragment_tbody/input.html:1:1]
1 | <math><tbody><mo></table>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/5.fragment_tbody/input.html:1:1]
1 | <math><tbody><mo></table>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/5.fragment_tbody/input.html:1:1]
1 | <math><tbody><mo></table>
: ^^^^
: ^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/5.fragment_tbody/input.html:1:1]
1 | <math><tbody><mo></table>
: ^^^^
: ^^^^^^^^^^^^
`----

View File

@ -10,7 +10,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 18,
"end": 26,
"ctxt": 0
},
"tagName": "math",
@ -21,7 +21,7 @@
"type": "Element",
"span": {
"start": 7,
"end": 18,
"end": 26,
"ctxt": 0
},
"tagName": "thead",
@ -32,7 +32,7 @@
"type": "Element",
"span": {
"start": 14,
"end": 18,
"end": 26,
"ctxt": 0
},
"tagName": "mo",

View File

@ -12,35 +12,35 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/6.fragment_tbody/input.html:1:1]
1 | <math><thead><mo></table>
: ^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/6.fragment_tbody/input.html:1:1]
1 | <math><thead><mo></table>
: ^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/6.fragment_tbody/input.html:1:1]
1 | <math><thead><mo></table>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/6.fragment_tbody/input.html:1:1]
1 | <math><thead><mo></table>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/6.fragment_tbody/input.html:1:1]
1 | <math><thead><mo></table>
: ^^^^
: ^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/6.fragment_tbody/input.html:1:1]
1 | <math><thead><mo></table>
: ^^^^
: ^^^^^^^^^^^^
`----

View File

@ -10,7 +10,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 18,
"end": 26,
"ctxt": 0
},
"tagName": "math",
@ -21,7 +21,7 @@
"type": "Element",
"span": {
"start": 7,
"end": 18,
"end": 26,
"ctxt": 0
},
"tagName": "tfoot",
@ -32,7 +32,7 @@
"type": "Element",
"span": {
"start": 14,
"end": 18,
"end": 26,
"ctxt": 0
},
"tagName": "mo",

View File

@ -12,35 +12,35 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/7.fragment_tbody/input.html:1:1]
1 | <math><tfoot><mo></table>
: ^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/7.fragment_tbody/input.html:1:1]
1 | <math><tfoot><mo></table>
: ^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/7.fragment_tbody/input.html:1:1]
1 | <math><tfoot><mo></table>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/7.fragment_tbody/input.html:1:1]
1 | <math><tfoot><mo></table>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/math_dat/7.fragment_tbody/input.html:1:1]
1 | <math><tfoot><mo></table>
: ^^^^
: ^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/math_dat/7.fragment_tbody/input.html:1:1]
1 | <math><tfoot><mo></table>
: ^^^^
: ^^^^^^^^^^^^
`----

View File

@ -58,7 +58,7 @@
"type": "Element",
"span": {
"start": 16,
"end": 26,
"end": 33,
"ctxt": 0
},
"tagName": "menuitem",

View File

@ -24,11 +24,11 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/menuitem-element_dat/16/input.html:1:1]
1 | <!DOCTYPE html><menuitem></body>
: ^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/menuitem-element_dat/16/input.html:1:1]
1 | <!DOCTYPE html><menuitem></body>
: ^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^
`----

View File

@ -79,7 +79,7 @@
"type": "Element",
"span": {
"start": 14,
"end": 57,
"end": 60,
"ctxt": 0
},
"tagName": "tr",

View File

@ -40,13 +40,13 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/namespace-sensitivity_dat/0/input.html:1:1]
1 | <body><table><tr><td><svg><td><foreignObject><span></td>Foo
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/namespace-sensitivity_dat/0/input.html:1:1]
1 | <body><table><tr><td><svg><td><foreignObject><span></td>Foo
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child

View File

@ -62,7 +62,7 @@
"type": "Element",
"span": {
"start": 17,
"end": 30,
"end": 41,
"ctxt": 0
},
"tagName": "p",

View File

@ -36,13 +36,13 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/noscript01_dat/15/input.html:1:1]
1 | <head><noscript><p><!--foo--></noscript>
: ^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/noscript01_dat/15/input.html:1:1]
1 | <head><noscript><p><!--foo--></noscript>
: ^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child

View File

@ -36,7 +36,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 14,
"end": 27,
"ctxt": 0
},
"tagName": "body",
@ -57,7 +57,7 @@
"type": "Element",
"span": {
"start": 7,
"end": 14,
"end": 27,
"ctxt": 0
},
"tagName": "table",

View File

@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 28,
"end": 31,
"ctxt": 0
},
"tagName": "svg",

View File

@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 7,
"end": 15,
"end": 16,
"ctxt": 0
},
"tagName": "select",

View File

@ -36,7 +36,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 7,
"end": 8,
"ctxt": 0
},
"tagName": "body",

View File

@ -10,7 +10,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 21,
"end": 25,
"ctxt": 0
},
"tagName": "svg",
@ -21,7 +21,7 @@
"type": "Element",
"span": {
"start": 6,
"end": 21,
"end": 25,
"ctxt": 0
},
"tagName": "tr",
@ -32,7 +32,7 @@
"type": "Element",
"span": {
"start": 10,
"end": 21,
"end": 25,
"ctxt": 0
},
"tagName": "td",
@ -43,7 +43,7 @@
"type": "Element",
"span": {
"start": 14,
"end": 21,
"end": 25,
"ctxt": 0
},
"tagName": "title",

View File

@ -12,47 +12,47 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/0.fragment_td/input.html:1:1]
1 | <svg><tr><td><title><tr>
: ^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/0.fragment_td/input.html:1:1]
1 | <svg><tr><td><title><tr>
: ^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/0.fragment_td/input.html:1:1]
1 | <svg><tr><td><title><tr>
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/0.fragment_td/input.html:1:1]
1 | <svg><tr><td><title><tr>
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/0.fragment_td/input.html:1:1]
1 | <svg><tr><td><title><tr>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/0.fragment_td/input.html:1:1]
1 | <svg><tr><td><title><tr>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/0.fragment_td/input.html:1:1]
1 | <svg><tr><td><title><tr>
: ^^^^^^^
: ^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/0.fragment_td/input.html:1:1]
1 | <svg><tr><td><title><tr>
: ^^^^^^^
: ^^^^^^^^^^^
`----

View File

@ -10,7 +10,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 21,
"end": 25,
"ctxt": 0
},
"tagName": "svg",
@ -21,7 +21,7 @@
"type": "Element",
"span": {
"start": 6,
"end": 21,
"end": 25,
"ctxt": 0
},
"tagName": "tr",
@ -32,7 +32,7 @@
"type": "Element",
"span": {
"start": 10,
"end": 21,
"end": 25,
"ctxt": 0
},
"tagName": "td",
@ -43,7 +43,7 @@
"type": "Element",
"span": {
"start": 14,
"end": 21,
"end": 25,
"ctxt": 0
},
"tagName": "title",

View File

@ -12,47 +12,47 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/1.fragment_tr/input.html:1:1]
1 | <svg><tr><td><title><tr>
: ^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/1.fragment_tr/input.html:1:1]
1 | <svg><tr><td><title><tr>
: ^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/1.fragment_tr/input.html:1:1]
1 | <svg><tr><td><title><tr>
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/1.fragment_tr/input.html:1:1]
1 | <svg><tr><td><title><tr>
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/1.fragment_tr/input.html:1:1]
1 | <svg><tr><td><title><tr>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/1.fragment_tr/input.html:1:1]
1 | <svg><tr><td><title><tr>
: ^^^^^^^^^^^
: ^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/1.fragment_tr/input.html:1:1]
1 | <svg><tr><td><title><tr>
: ^^^^^^^
: ^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/1.fragment_tr/input.html:1:1]
1 | <svg><tr><td><title><tr>
: ^^^^^^^
: ^^^^^^^^^^^
`----

View File

@ -10,7 +10,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 20,
"end": 27,
"ctxt": 0
},
"tagName": "svg",
@ -21,7 +21,7 @@
"type": "Element",
"span": {
"start": 6,
"end": 20,
"end": 27,
"ctxt": 0
},
"tagName": "thead",
@ -32,7 +32,7 @@
"type": "Element",
"span": {
"start": 13,
"end": 20,
"end": 27,
"ctxt": 0
},
"tagName": "title",

View File

@ -12,35 +12,35 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/2.fragment_thead/input.html:1:1]
1 | <svg><thead><title><tbody>
: ^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/2.fragment_thead/input.html:1:1]
1 | <svg><thead><title><tbody>
: ^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/2.fragment_thead/input.html:1:1]
1 | <svg><thead><title><tbody>
: ^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/2.fragment_thead/input.html:1:1]
1 | <svg><thead><title><tbody>
: ^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/2.fragment_thead/input.html:1:1]
1 | <svg><thead><title><tbody>
: ^^^^^^^
: ^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/2.fragment_thead/input.html:1:1]
1 | <svg><thead><title><tbody>
: ^^^^^^^
: ^^^^^^^^^^^^^^
`----

View File

@ -10,7 +10,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 20,
"end": 27,
"ctxt": 0
},
"tagName": "svg",
@ -21,7 +21,7 @@
"type": "Element",
"span": {
"start": 6,
"end": 20,
"end": 27,
"ctxt": 0
},
"tagName": "tfoot",
@ -32,7 +32,7 @@
"type": "Element",
"span": {
"start": 13,
"end": 20,
"end": 27,
"ctxt": 0
},
"tagName": "title",

View File

@ -12,35 +12,35 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/3.fragment_tfoot/input.html:1:1]
1 | <svg><tfoot><title><tbody>
: ^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/3.fragment_tfoot/input.html:1:1]
1 | <svg><tfoot><title><tbody>
: ^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/3.fragment_tfoot/input.html:1:1]
1 | <svg><tfoot><title><tbody>
: ^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/3.fragment_tfoot/input.html:1:1]
1 | <svg><tfoot><title><tbody>
: ^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/3.fragment_tfoot/input.html:1:1]
1 | <svg><tfoot><title><tbody>
: ^^^^^^^
: ^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/3.fragment_tfoot/input.html:1:1]
1 | <svg><tfoot><title><tbody>
: ^^^^^^^
: ^^^^^^^^^^^^^^
`----

View File

@ -10,7 +10,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 20,
"end": 27,
"ctxt": 0
},
"tagName": "svg",
@ -21,7 +21,7 @@
"type": "Element",
"span": {
"start": 6,
"end": 20,
"end": 27,
"ctxt": 0
},
"tagName": "tbody",
@ -32,7 +32,7 @@
"type": "Element",
"span": {
"start": 13,
"end": 20,
"end": 27,
"ctxt": 0
},
"tagName": "title",

View File

@ -12,35 +12,35 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/4.fragment_tbody/input.html:1:1]
1 | <svg><tbody><title><tfoot>
: ^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/4.fragment_tbody/input.html:1:1]
1 | <svg><tbody><title><tfoot>
: ^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/4.fragment_tbody/input.html:1:1]
1 | <svg><tbody><title><tfoot>
: ^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/4.fragment_tbody/input.html:1:1]
1 | <svg><tbody><title><tfoot>
: ^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/4.fragment_tbody/input.html:1:1]
1 | <svg><tbody><title><tfoot>
: ^^^^^^^
: ^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/4.fragment_tbody/input.html:1:1]
1 | <svg><tbody><title><tfoot>
: ^^^^^^^
: ^^^^^^^^^^^^^^
`----

View File

@ -10,7 +10,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 20,
"end": 28,
"ctxt": 0
},
"tagName": "svg",
@ -21,7 +21,7 @@
"type": "Element",
"span": {
"start": 6,
"end": 20,
"end": 28,
"ctxt": 0
},
"tagName": "tbody",
@ -32,7 +32,7 @@
"type": "Element",
"span": {
"start": 13,
"end": 20,
"end": 28,
"ctxt": 0
},
"tagName": "title",

View File

@ -12,35 +12,35 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/5.fragment_tbody/input.html:1:1]
1 | <svg><tbody><title></table>
: ^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/5.fragment_tbody/input.html:1:1]
1 | <svg><tbody><title></table>
: ^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/5.fragment_tbody/input.html:1:1]
1 | <svg><tbody><title></table>
: ^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/5.fragment_tbody/input.html:1:1]
1 | <svg><tbody><title></table>
: ^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/5.fragment_tbody/input.html:1:1]
1 | <svg><tbody><title></table>
: ^^^^^^^
: ^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/5.fragment_tbody/input.html:1:1]
1 | <svg><tbody><title></table>
: ^^^^^^^
: ^^^^^^^^^^^^^^^
`----

View File

@ -10,7 +10,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 20,
"end": 28,
"ctxt": 0
},
"tagName": "svg",
@ -21,7 +21,7 @@
"type": "Element",
"span": {
"start": 6,
"end": 20,
"end": 28,
"ctxt": 0
},
"tagName": "thead",
@ -32,7 +32,7 @@
"type": "Element",
"span": {
"start": 13,
"end": 20,
"end": 28,
"ctxt": 0
},
"tagName": "title",

View File

@ -12,35 +12,35 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/6.fragment_tbody/input.html:1:1]
1 | <svg><thead><title></table>
: ^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/6.fragment_tbody/input.html:1:1]
1 | <svg><thead><title></table>
: ^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/6.fragment_tbody/input.html:1:1]
1 | <svg><thead><title></table>
: ^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/6.fragment_tbody/input.html:1:1]
1 | <svg><thead><title></table>
: ^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/6.fragment_tbody/input.html:1:1]
1 | <svg><thead><title></table>
: ^^^^^^^
: ^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/6.fragment_tbody/input.html:1:1]
1 | <svg><thead><title></table>
: ^^^^^^^
: ^^^^^^^^^^^^^^^
`----

View File

@ -10,7 +10,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 20,
"end": 28,
"ctxt": 0
},
"tagName": "svg",
@ -21,7 +21,7 @@
"type": "Element",
"span": {
"start": 6,
"end": 20,
"end": 28,
"ctxt": 0
},
"tagName": "tfoot",
@ -32,7 +32,7 @@
"type": "Element",
"span": {
"start": 13,
"end": 20,
"end": 28,
"ctxt": 0
},
"tagName": "title",

View File

@ -12,35 +12,35 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/7.fragment_tbody/input.html:1:1]
1 | <svg><tfoot><title></table>
: ^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/7.fragment_tbody/input.html:1:1]
1 | <svg><tfoot><title></table>
: ^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/7.fragment_tbody/input.html:1:1]
1 | <svg><tfoot><title></table>
: ^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/7.fragment_tbody/input.html:1:1]
1 | <svg><tfoot><title></table>
: ^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/7.fragment_tbody/input.html:1:1]
1 | <svg><tfoot><title></table>
: ^^^^^^^
: ^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/svg_dat/7.fragment_tbody/input.html:1:1]
1 | <svg><tfoot><title></table>
: ^^^^^^^
: ^^^^^^^^^^^^^^^
`----

View File

@ -57,7 +57,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 18,
"end": 28,
"ctxt": 0
},
"tagName": "table",

View File

@ -24,13 +24,13 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/3/input.html:1:1]
1 | <table><colgroup></html>foo
: ^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/3/input.html:1:1]
1 | <table><colgroup></html>foo
: ^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child

View File

@ -84,7 +84,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 8,
"end": 40,
"ctxt": 0
},
"tagName": "table",

View File

@ -42,11 +42,11 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/10/input.html:1:1]
1 | <table><div><template></template></div>
: ^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/10/input.html:1:1]
1 | <table><div><template></template></div>
: ^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----

View File

@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 24,
"end": 32,
"ctxt": 0
},
"tagName": "dummy",
@ -58,7 +58,7 @@
"type": "Element",
"span": {
"start": 8,
"end": 24,
"end": 32,
"ctxt": 0
},
"tagName": "template",
@ -69,7 +69,7 @@
"type": "DocumentFragment",
"span": {
"start": 8,
"end": 24,
"end": 32,
"ctxt": 0
},
"children": [
@ -77,7 +77,7 @@
"type": "Element",
"span": {
"start": 18,
"end": 24,
"end": 32,
"ctxt": 0
},
"tagName": "span",

View File

@ -12,41 +12,41 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/101/input.html:1:1]
1 | <dummy><template><span></dummy>
: ^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/101/input.html:1:1]
1 | <dummy><template><span></dummy>
: ^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/101/input.html:1:1]
1 | <dummy><template><span></dummy>
: ^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/101/input.html:1:1]
1 | <dummy><template><span></dummy>
: ^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x DocumentFragment
,-[$DIR/tests/html5lib-tests-fixture/template_dat/101/input.html:1:1]
1 | <dummy><template><span></dummy>
: ^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/101/input.html:1:1]
1 | <dummy><template><span></dummy>
: ^^^^^^
: ^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/101/input.html:1:1]
1 | <dummy><template><span></dummy>
: ^^^^^^
: ^^^^^^^^^^^^^^
`----

View File

@ -61,7 +61,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 29,
"end": 40,
"ctxt": 0
},
"tagName": "table",

View File

@ -24,13 +24,13 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/11/input.html:1:1]
1 | <table><template></template><div></div>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/11/input.html:1:1]
1 | <table><template></template><div></div>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child

View File

@ -36,7 +36,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 22,
"end": 32,
"ctxt": 0
},
"tagName": "body",
@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 7,
"end": 22,
"end": 32,
"ctxt": 0
},
"tagName": "template",
@ -58,7 +58,7 @@
"type": "DocumentFragment",
"span": {
"start": 7,
"end": 22,
"end": 32,
"ctxt": 0
},
"children": [

View File

@ -12,31 +12,31 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/71/input.html:1:1]
1 | <body><template><col><colgroup>
: ^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/71/input.html:1:1]
1 | <body><template><col><colgroup>
: ^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/71/input.html:1:1]
1 | <body><template><col><colgroup>
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/71/input.html:1:1]
1 | <body><template><col><colgroup>
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x DocumentFragment
,-[$DIR/tests/html5lib-tests-fixture/template_dat/71/input.html:1:1]
1 | <body><template><col><colgroup>
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child

View File

@ -36,7 +36,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 22,
"end": 33,
"ctxt": 0
},
"tagName": "body",
@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 7,
"end": 22,
"end": 33,
"ctxt": 0
},
"tagName": "template",
@ -58,7 +58,7 @@
"type": "DocumentFragment",
"span": {
"start": 7,
"end": 22,
"end": 33,
"ctxt": 0
},
"children": [

View File

@ -12,31 +12,31 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/72/input.html:1:1]
1 | <body><template><col></colgroup>
: ^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/72/input.html:1:1]
1 | <body><template><col></colgroup>
: ^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/72/input.html:1:1]
1 | <body><template><col></colgroup>
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/72/input.html:1:1]
1 | <body><template><col></colgroup>
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x DocumentFragment
,-[$DIR/tests/html5lib-tests-fixture/template_dat/72/input.html:1:1]
1 | <body><template><col></colgroup>
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child

View File

@ -36,7 +36,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 22,
"end": 27,
"ctxt": 0
},
"tagName": "body",
@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 7,
"end": 22,
"end": 27,
"ctxt": 0
},
"tagName": "template",
@ -58,7 +58,7 @@
"type": "DocumentFragment",
"span": {
"start": 7,
"end": 22,
"end": 27,
"ctxt": 0
},
"children": [

View File

@ -12,31 +12,31 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/74/input.html:1:1]
1 | <body><template><col><div>
: ^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/74/input.html:1:1]
1 | <body><template><col><div>
: ^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/74/input.html:1:1]
1 | <body><template><col><div>
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/74/input.html:1:1]
1 | <body><template><col><div>
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^
`----
x DocumentFragment
,-[$DIR/tests/html5lib-tests-fixture/template_dat/74/input.html:1:1]
1 | <body><template><col><div>
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^
`----
x Child

View File

@ -36,7 +36,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 22,
"end": 28,
"ctxt": 0
},
"tagName": "body",
@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 7,
"end": 22,
"end": 28,
"ctxt": 0
},
"tagName": "template",
@ -58,7 +58,7 @@
"type": "DocumentFragment",
"span": {
"start": 7,
"end": 22,
"end": 28,
"ctxt": 0
},
"children": [

View File

@ -12,31 +12,31 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/75/input.html:1:1]
1 | <body><template><col></div>
: ^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/75/input.html:1:1]
1 | <body><template><col></div>
: ^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/75/input.html:1:1]
1 | <body><template><col></div>
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/75/input.html:1:1]
1 | <body><template><col></div>
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^
`----
x DocumentFragment
,-[$DIR/tests/html5lib-tests-fixture/template_dat/75/input.html:1:1]
1 | <body><template><col></div>
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^
`----
x Child

View File

@ -36,7 +36,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 22,
"end": 27,
"ctxt": 0
},
"tagName": "body",
@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 7,
"end": 22,
"end": 27,
"ctxt": 0
},
"tagName": "template",
@ -58,7 +58,7 @@
"type": "DocumentFragment",
"span": {
"start": 7,
"end": 22,
"end": 27,
"ctxt": 0
},
"children": [

View File

@ -12,31 +12,31 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/76/input.html:1:1]
1 | <body><template><col>Hello
: ^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/76/input.html:1:1]
1 | <body><template><col>Hello
: ^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/76/input.html:1:1]
1 | <body><template><col>Hello
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/76/input.html:1:1]
1 | <body><template><col>Hello
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^
`----
x DocumentFragment
,-[$DIR/tests/html5lib-tests-fixture/template_dat/76/input.html:1:1]
1 | <body><template><col>Hello
: ^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^
`----
x Child

View File

@ -36,7 +36,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 58,
"end": 67,
"ctxt": 0
},
"tagName": "body",
@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 7,
"end": 58,
"end": 67,
"ctxt": 0
},
"tagName": "template",
@ -58,7 +58,7 @@
"type": "DocumentFragment",
"span": {
"start": 7,
"end": 58,
"end": 67,
"ctxt": 0
},
"children": [

View File

@ -12,31 +12,31 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/78/input.html:1:1]
1 | <body><template></div><div>Foo</div><template></template><tr></tr>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/78/input.html:1:1]
1 | <body><template></div><div>Foo</div><template></template><tr></tr>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/78/input.html:1:1]
1 | <body><template></div><div>Foo</div><template></template><tr></tr>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/78/input.html:1:1]
1 | <body><template></div><div>Foo</div><template></template><tr></tr>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x DocumentFragment
,-[$DIR/tests/html5lib-tests-fixture/template_dat/78/input.html:1:1]
1 | <body><template></div><div>Foo</div><template></template><tr></tr>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child

View File

@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 29,
"end": 35,
"ctxt": 0
},
"tagName": "table",

View File

@ -12,13 +12,13 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/9/input.html:1:1]
1 | <table><template></template></div>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/9/input.html:1:1]
1 | <table><template></template></div>
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child

View File

@ -33,7 +33,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 28,
"end": 31,
"ctxt": 0
},
"tagName": "template",
@ -44,7 +44,7 @@
"type": "DocumentFragment",
"span": {
"start": 1,
"end": 28,
"end": 31,
"ctxt": 0
},
"children": [
@ -52,7 +52,7 @@
"type": "Element",
"span": {
"start": 11,
"end": 28,
"end": 31,
"ctxt": 0
},
"tagName": "template",
@ -63,7 +63,7 @@
"type": "DocumentFragment",
"span": {
"start": 11,
"end": 28,
"end": 31,
"ctxt": 0
},
"children": [
@ -81,7 +81,7 @@
"type": "Element",
"span": {
"start": 21,
"end": 28,
"end": 31,
"ctxt": 0
},
"tagName": "table",

View File

@ -12,37 +12,37 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/92/input.html:1:1]
1 | <template><template><table>Foo
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/92/input.html:1:1]
1 | <template><template><table>Foo
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x DocumentFragment
,-[$DIR/tests/html5lib-tests-fixture/template_dat/92/input.html:1:1]
1 | <template><template><table>Foo
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/92/input.html:1:1]
1 | <template><template><table>Foo
: ^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/92/input.html:1:1]
1 | <template><template><table>Foo
: ^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^
`----
x DocumentFragment
,-[$DIR/tests/html5lib-tests-fixture/template_dat/92/input.html:1:1]
1 | <template><template><table>Foo
: ^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^
`----
x Child
@ -60,11 +60,11 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/92/input.html:1:1]
1 | <template><template><table>Foo
: ^^^^^^^
: ^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/92/input.html:1:1]
1 | <template><template><table>Foo
: ^^^^^^^
: ^^^^^^^^^^
`----

View File

@ -33,7 +33,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 21,
"end": 28,
"ctxt": 0
},
"tagName": "template",
@ -44,7 +44,7 @@
"type": "DocumentFragment",
"span": {
"start": 1,
"end": 21,
"end": 28,
"ctxt": 0
},
"children": [
@ -52,7 +52,7 @@
"type": "Element",
"span": {
"start": 11,
"end": 21,
"end": 28,
"ctxt": 0
},
"tagName": "template",
@ -63,7 +63,7 @@
"type": "DocumentFragment",
"span": {
"start": 11,
"end": 21,
"end": 28,
"ctxt": 0
},
"children": []

View File

@ -12,35 +12,35 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/93/input.html:1:1]
1 | <template><template><frame>
: ^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/93/input.html:1:1]
1 | <template><template><frame>
: ^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x DocumentFragment
,-[$DIR/tests/html5lib-tests-fixture/template_dat/93/input.html:1:1]
1 | <template><template><frame>
: ^^^^^^^^^^^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Child
,-[$DIR/tests/html5lib-tests-fixture/template_dat/93/input.html:1:1]
1 | <template><template><frame>
: ^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/template_dat/93/input.html:1:1]
1 | <template><template><frame>
: ^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^
`----
x DocumentFragment
,-[$DIR/tests/html5lib-tests-fixture/template_dat/93/input.html:1:1]
1 | <template><template><frame>
: ^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^
`----

View File

@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 16,
"end": 26,
"end": 54,
"ctxt": 0
},
"tagName": "frameset",

View File

@ -24,11 +24,11 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/tests10_dat/20/input.html:1:1]
1 | <!DOCTYPE html><frameset><svg><g></g><g></g><p><span>
: ^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/tests10_dat/20/input.html:1:1]
1 | <!DOCTYPE html><frameset><svg><g></g><g></g><p><span>
: ^^^^^^^^^^
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`----

View File

@ -47,7 +47,7 @@
"type": "Element",
"span": {
"start": 1,
"end": 6,
"end": 13,
"ctxt": 0
},
"tagName": "svg",

View File

@ -12,11 +12,11 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/tests10_dat/26/input.html:1:1]
1 | <svg></path>
: ^^^^^
: ^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/tests10_dat/26/input.html:1:1]
1 | <svg></path>
: ^^^^^
: ^^^^^^^^^^^^
`----

View File

@ -58,7 +58,7 @@
"type": "Element",
"span": {
"start": 16,
"end": 24,
"end": 31,
"ctxt": 0
},
"tagName": "object",

View File

@ -24,11 +24,11 @@
x Child
,-[$DIR/tests/html5lib-tests-fixture/tests15_dat/13/input.html:1:1]
1 | <!DOCTYPE html><object></html>
: ^^^^^^^^
: ^^^^^^^^^^^^^^^
`----
x Element
,-[$DIR/tests/html5lib-tests-fixture/tests15_dat/13/input.html:1:1]
1 | <!DOCTYPE html><object></html>
: ^^^^^^^^
: ^^^^^^^^^^^^^^^
`----

Some files were not shown because too many files have changed in this diff Show More