mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
fix(html/parser): Improve span (#5230)
This commit is contained in:
parent
b697a222ce
commit
0f7646cc47
@ -377,6 +377,22 @@ where
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fn get_deep_end_span(&mut self, children: &[Child]) -> Option<Span> {
|
||||||
|
match children.last() {
|
||||||
|
Some(Child::DocumentType(DocumentType { span, .. })) => Some(*span),
|
||||||
|
Some(Child::Element(Element { span, children, .. })) => {
|
||||||
|
if span.is_dummy() {
|
||||||
|
return self.get_deep_end_span(children);
|
||||||
|
}
|
||||||
|
|
||||||
|
Some(*span)
|
||||||
|
}
|
||||||
|
Some(Child::Comment(Comment { span, .. })) => Some(*span),
|
||||||
|
Some(Child::Text(Text { span, .. })) => Some(*span),
|
||||||
|
_ => None,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
fn node_to_child(&mut self, node: RcNode) -> Child {
|
fn node_to_child(&mut self, node: RcNode) -> Child {
|
||||||
let start_span = node.start_span.take();
|
let start_span = node.start_span.take();
|
||||||
|
|
||||||
@ -414,24 +430,21 @@ where
|
|||||||
start_span
|
start_span
|
||||||
} else {
|
} else {
|
||||||
let end_body = match node.end_span.take() {
|
let end_body = match node.end_span.take() {
|
||||||
Some(end_tag_span) => end_tag_span.hi(),
|
Some(end_tag_span) => end_tag_span,
|
||||||
_ => start_span.hi(),
|
_ => start_span,
|
||||||
};
|
};
|
||||||
let end_children = match new_children.last() {
|
let end_children = match self.get_deep_end_span(&new_children) {
|
||||||
Some(Child::DocumentType(DocumentType { span, .. })) => span.hi(),
|
Some(end_span) => end_span,
|
||||||
Some(Child::Element(Element { span, .. })) => span.hi(),
|
_ => start_span,
|
||||||
Some(Child::Comment(Comment { span, .. })) => span.hi(),
|
|
||||||
Some(Child::Text(Text { span, .. })) => span.hi(),
|
|
||||||
_ => start_span.hi(),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
let end = if end_body >= end_children {
|
let end = if end_body.hi() >= end_children.hi() {
|
||||||
end_body
|
end_body
|
||||||
} else {
|
} else {
|
||||||
end_children
|
end_children
|
||||||
};
|
};
|
||||||
|
|
||||||
Span::new(start_span.lo(), end, Default::default())
|
Span::new(start_span.lo(), end.hi(), Default::default())
|
||||||
};
|
};
|
||||||
|
|
||||||
Child::Element(Element {
|
Child::Element(Element {
|
||||||
@ -445,36 +458,31 @@ where
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
_ => {
|
_ => {
|
||||||
let is_template = namespace == Namespace::HTML && &*tag_name == "template";
|
|
||||||
let span = if start_span.is_dummy() {
|
let span = if start_span.is_dummy() {
|
||||||
start_span
|
start_span
|
||||||
} else {
|
} else {
|
||||||
let end = match node.end_span.take() {
|
let end_span = match node.end_span.take() {
|
||||||
Some(end_span) => end_span.hi(),
|
Some(end_span) if !end_span.is_dummy() => end_span,
|
||||||
_ => match new_children.last() {
|
_ => match self.get_deep_end_span(&new_children) {
|
||||||
Some(Child::DocumentType(DocumentType { span, .. })) => {
|
Some(end_span) => end_span,
|
||||||
span.hi()
|
_ => start_span,
|
||||||
}
|
|
||||||
Some(Child::Element(Element { span, .. })) => span.hi(),
|
|
||||||
Some(Child::Comment(Comment { span, .. })) => span.hi(),
|
|
||||||
Some(Child::Text(Text { span, .. })) => span.hi(),
|
|
||||||
_ => start_span.hi(),
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
Span::new(start_span.lo(), end, Default::default())
|
Span::new(start_span.lo(), end_span.hi(), Default::default())
|
||||||
};
|
|
||||||
let (children, content) = if is_template {
|
|
||||||
(
|
|
||||||
vec![],
|
|
||||||
Some(DocumentFragment {
|
|
||||||
span,
|
|
||||||
children: new_children,
|
|
||||||
}),
|
|
||||||
)
|
|
||||||
} else {
|
|
||||||
(new_children, None)
|
|
||||||
};
|
};
|
||||||
|
let (children, content) =
|
||||||
|
if namespace == Namespace::HTML && &*tag_name == "template" {
|
||||||
|
(
|
||||||
|
vec![],
|
||||||
|
Some(DocumentFragment {
|
||||||
|
span,
|
||||||
|
children: new_children,
|
||||||
|
}),
|
||||||
|
)
|
||||||
|
} else {
|
||||||
|
(new_children, None)
|
||||||
|
};
|
||||||
|
|
||||||
Child::Element(Element {
|
Child::Element(Element {
|
||||||
span,
|
span,
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 16,
|
"start": 16,
|
||||||
"end": 53,
|
"end": 54,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "html",
|
"tagName": "html",
|
||||||
|
@ -20,13 +20,13 @@
|
|||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/fixture/element/ruby-2/input.html:1:1]
|
,-[$DIR/tests/fixture/element/ruby-2/input.html:1:1]
|
||||||
1 | <!doctype html><html><ruby>a<rb>b<rtc></ruby></html>
|
1 | <!doctype html><html><ruby>a<rb>b<rtc></ruby></html>
|
||||||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
,-[$DIR/tests/fixture/element/ruby-2/input.html:1:1]
|
,-[$DIR/tests/fixture/element/ruby-2/input.html:1:1]
|
||||||
1 | <!doctype html><html><ruby>a<rb>b<rtc></ruby></html>
|
1 | <!doctype html><html><ruby>a<rb>b<rtc></ruby></html>
|
||||||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 16,
|
"start": 16,
|
||||||
"end": 52,
|
"end": 53,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "html",
|
"tagName": "html",
|
||||||
|
@ -20,13 +20,13 @@
|
|||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/fixture/element/ruby/input.html:1:1]
|
,-[$DIR/tests/fixture/element/ruby/input.html:1:1]
|
||||||
1 | <!doctype html><html><ruby>a<rb>b<rb></ruby></html>
|
1 | <!doctype html><html><ruby>a<rb>b<rb></ruby></html>
|
||||||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
,-[$DIR/tests/fixture/element/ruby/input.html:1:1]
|
,-[$DIR/tests/fixture/element/ruby/input.html:1:1]
|
||||||
1 | <!doctype html><html><ruby>a<rb>b<rb></ruby></html>
|
1 | <!doctype html><html><ruby>a<rb>b<rb></ruby></html>
|
||||||
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
@ -8,13 +8,13 @@
|
|||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/foreign-fragment_dat/55.fragment_svg_desc/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/foreign-fragment_dat/55.fragment_svg_desc/input.html:1:1]
|
||||||
1 | <html>X
|
1 | <html>X
|
||||||
: ^^^^^^
|
: ^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/foreign-fragment_dat/55.fragment_svg_desc/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/foreign-fragment_dat/55.fragment_svg_desc/input.html:1:1]
|
||||||
1 | <html>X
|
1 | <html>X
|
||||||
: ^^^^^^
|
: ^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
@ -8,13 +8,13 @@
|
|||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/foreign-fragment_dat/56.fragment_svg_desc/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/foreign-fragment_dat/56.fragment_svg_desc/input.html:1:1]
|
||||||
1 | <html class="foo">X
|
1 | <html class="foo">X
|
||||||
: ^^^^^^^^^^^^^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/foreign-fragment_dat/56.fragment_svg_desc/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/foreign-fragment_dat/56.fragment_svg_desc/input.html:1:1]
|
||||||
1 | <html class="foo">X
|
1 | <html class="foo">X
|
||||||
: ^^^^^^^^^^^^^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Attribute
|
x Attribute
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 1,
|
"start": 1,
|
||||||
"end": 7,
|
"end": 60,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "body",
|
"tagName": "body",
|
||||||
@ -56,8 +56,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 7,
|
||||||
"end": 7,
|
"end": 60,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -12,13 +12,13 @@
|
|||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/namespace-sensitivity_dat/0/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/namespace-sensitivity_dat/0/input.html:1:1]
|
||||||
1 | <body><table><tr><td><svg><td><foreignObject><span></td>Foo
|
1 | <body><table><tr><td><svg><td><foreignObject><span></td>Foo
|
||||||
: ^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/namespace-sensitivity_dat/0/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/namespace-sensitivity_dat/0/input.html:1:1]
|
||||||
1 | <body><table><tr><td><svg><td><foreignObject><span></td>Foo
|
1 | <body><table><tr><td><svg><td><foreignObject><span></td>Foo
|
||||||
: ^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
@ -34,8 +34,16 @@
|
|||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
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
|
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
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/namespace-sensitivity_dat/0/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/namespace-sensitivity_dat/0/input.html:1:1]
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 1,
|
||||||
"end": 1,
|
"end": 46,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -10,8 +10,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/pending-spec-changes_dat/2/input.html:1:1]
|
||||||
|
1 | <table><tr><td><svg><desc><td></desc><circle>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/pending-spec-changes_dat/2/input.html:1:1]
|
||||||
|
1 | <table><tr><td><svg><desc><td></desc><circle>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/pending-spec-changes_dat/2/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/pending-spec-changes_dat/2/input.html:1:1]
|
||||||
|
@ -57,8 +57,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 16,
|
||||||
"end": 16,
|
"end": 46,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
Binary file not shown.
@ -57,8 +57,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 16,
|
||||||
"end": 16,
|
"end": 53,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
Binary file not shown.
@ -11,7 +11,7 @@
|
|||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 1,
|
"start": 1,
|
||||||
"end": 7,
|
"end": 10,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "html",
|
"tagName": "html",
|
||||||
|
Binary file not shown.
@ -11,7 +11,7 @@
|
|||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 1,
|
"start": 1,
|
||||||
"end": 7,
|
"end": 16,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "html",
|
"tagName": "html",
|
||||||
|
Binary file not shown.
@ -46,8 +46,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 1,
|
||||||
"end": 1,
|
"end": 12,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -10,8 +10,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/0/input.html:1:1]
|
||||||
|
1 | <table><th>
|
||||||
|
: ^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/0/input.html:1:1]
|
||||||
|
1 | <table><th>
|
||||||
|
: ^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/0/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/0/input.html:1:1]
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 1,
|
||||||
"end": 1,
|
"end": 12,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -10,8 +10,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/1/input.html:1:1]
|
||||||
|
1 | <table><td>
|
||||||
|
: ^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/1/input.html:1:1]
|
||||||
|
1 | <table><td>
|
||||||
|
: ^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/1/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/1/input.html:1:1]
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 1,
|
||||||
"end": 1,
|
"end": 56,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -10,8 +10,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/10/input.html:1:1]
|
||||||
|
1 | <table><td></body></caption></col></colgroup></html>foo
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/10/input.html:1:1]
|
||||||
|
1 | <table><td></body></caption></col></colgroup></html>foo
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/10/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/10/input.html:1:1]
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 1,
|
||||||
"end": 1,
|
"end": 70,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -10,8 +10,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/13/input.html:1:1]
|
||||||
|
1 | <table><tr></body></caption></col></colgroup></html></td></th><td>foo
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/13/input.html:1:1]
|
||||||
|
1 | <table><tr></body></caption></col></colgroup></html></td></th><td>foo
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/13/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/13/input.html:1:1]
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 1,
|
||||||
"end": 1,
|
"end": 16,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -10,8 +10,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/14/input.html:1:1]
|
||||||
|
1 | <table><td><tr>
|
||||||
|
: ^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/14/input.html:1:1]
|
||||||
|
1 | <table><td><tr>
|
||||||
|
: ^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/14/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/14/input.html:1:1]
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 1,
|
||||||
"end": 1,
|
"end": 24,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -10,8 +10,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/15/input.html:1:1]
|
||||||
|
1 | <table><td><button><td>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/15/input.html:1:1]
|
||||||
|
1 | <table><td><button><td>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/15/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/15/input.html:1:1]
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 1,
|
||||||
"end": 1,
|
"end": 31,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -10,8 +10,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/16/input.html:1:1]
|
||||||
|
1 | <table><tr><td><svg><desc><td>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/16/input.html:1:1]
|
||||||
|
1 | <table><tr><td><svg><desc><td>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/16/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/16/input.html:1:1]
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 1,
|
||||||
"end": 1,
|
"end": 23,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -10,8 +10,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/2/input.html:1:1]
|
||||||
|
1 | <table><col foo='bar'>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/2/input.html:1:1]
|
||||||
|
1 | <table><col foo='bar'>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/2/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/2/input.html:1:1]
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 1,
|
||||||
"end": 1,
|
"end": 92,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -10,8 +10,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/5/input.html:1:1]
|
||||||
|
1 | <table></body></caption></col></colgroup></html></tbody></td></tfoot></th></thead></tr><td>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/5/input.html:1:1]
|
||||||
|
1 | <table></body></caption></col></colgroup></html></tbody></td></tfoot></th></thead></tr><td>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/5/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tables01_dat/5/input.html:1:1]
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 1,
|
||||||
"end": 1,
|
"end": 26,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -10,8 +10,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/template_dat/32/input.html:1:1]
|
||||||
|
1 | <table><tr><template><td>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/template_dat/32/input.html:1:1]
|
||||||
|
1 | <table><tr><template><td>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/template_dat/32/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/template_dat/32/input.html:1:1]
|
||||||
|
@ -60,8 +60,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 1,
|
||||||
"end": 1,
|
"end": 23,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -22,8 +22,16 @@
|
|||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests10_dat/40/input.html:1:1]
|
||||||
|
1 | <table><svg></svg><tr>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests10_dat/40/input.html:1:1]
|
||||||
|
1 | <table><svg></svg><tr>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests10_dat/40/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests10_dat/40/input.html:1:1]
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 16,
|
"start": 16,
|
||||||
"end": 22,
|
"end": 58,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "html",
|
"tagName": "html",
|
||||||
|
@ -20,13 +20,13 @@
|
|||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests14_dat/2/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests14_dat/2/input.html:1:1]
|
||||||
1 | <!DOCTYPE html><html><html abc:def=gh><xyz:abc></xyz:abc>
|
1 | <!DOCTYPE html><html><html abc:def=gh><xyz:abc></xyz:abc>
|
||||||
: ^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests14_dat/2/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests14_dat/2/input.html:1:1]
|
||||||
1 | <!DOCTYPE html><html><html abc:def=gh><xyz:abc></xyz:abc>
|
1 | <!DOCTYPE html><html><html abc:def=gh><xyz:abc></xyz:abc>
|
||||||
: ^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Attribute
|
x Attribute
|
||||||
|
@ -57,8 +57,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 16,
|
||||||
"end": 16,
|
"end": 52,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -22,8 +22,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests16_dat/195/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><td><span><font></span><span>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests16_dat/195/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><td><span><font></span><span>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests16_dat/195/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests16_dat/195/input.html:1:1]
|
||||||
|
@ -71,8 +71,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 16,
|
||||||
"end": 16,
|
"end": 39,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -34,8 +34,16 @@
|
|||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests17_dat/1/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><tr><select><td>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests17_dat/1/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><tr><select><td>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests17_dat/1/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests17_dat/1/input.html:1:1]
|
||||||
|
@ -57,8 +57,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 16,
|
||||||
"end": 16,
|
"end": 43,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -22,8 +22,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests17_dat/2/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><tr><td><select><td>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests17_dat/2/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><tr><td><select><td>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests17_dat/2/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests17_dat/2/input.html:1:1]
|
||||||
|
@ -57,8 +57,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 16,
|
||||||
"end": 16,
|
"end": 43,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -22,8 +22,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests17_dat/3/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><tr><th><select><td>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests17_dat/3/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><tr><th><select><td>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests17_dat/3/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests17_dat/3/input.html:1:1]
|
||||||
|
@ -57,8 +57,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 16,
|
||||||
"end": 16,
|
"end": 44,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -22,8 +22,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests17_dat/4/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><caption><select><tr>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests17_dat/4/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><caption><select><tr>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests17_dat/4/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests17_dat/4/input.html:1:1]
|
||||||
|
@ -57,8 +57,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 16,
|
||||||
"end": 16,
|
"end": 50,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -22,8 +22,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/10/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><td><plaintext></plaintext>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/10/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><td><plaintext></plaintext>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/10/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/10/input.html:1:1]
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 16,
|
"start": 16,
|
||||||
"end": 22,
|
"end": 45,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "html",
|
"tagName": "html",
|
||||||
|
@ -20,13 +20,13 @@
|
|||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/2/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/2/input.html:1:1]
|
||||||
1 | <!doctype html><html><plaintext></plaintext>
|
1 | <!doctype html><html><plaintext></plaintext>
|
||||||
: ^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/2/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/2/input.html:1:1]
|
||||||
1 | <!doctype html><html><plaintext></plaintext>
|
1 | <!doctype html><html><plaintext></plaintext>
|
||||||
: ^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
@ -67,8 +67,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 16,
|
||||||
"end": 16,
|
"end": 54,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -34,8 +34,16 @@
|
|||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/23/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><tr><style></script></style>abc
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/23/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><tr><style></script></style>abc
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/23/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/23/input.html:1:1]
|
||||||
|
@ -67,8 +67,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 16,
|
||||||
"end": 16,
|
"end": 55,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -34,8 +34,16 @@
|
|||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/24/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><tr><script></style></script>abc
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/24/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><tr><script></style></script>abc
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/24/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/24/input.html:1:1]
|
||||||
|
@ -57,8 +57,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 16,
|
||||||
"end": 16,
|
"end": 54,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -22,8 +22,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/26/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><td><style></script></style>abc
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/26/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><td><style></script></style>abc
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/26/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/26/input.html:1:1]
|
||||||
|
@ -107,8 +107,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 16,
|
||||||
"end": 16,
|
"end": 27,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -70,8 +70,16 @@
|
|||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/29/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><tr><select><script></style></script>abc
|
||||||
|
: ^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/29/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><tr><select><script></style></script>abc
|
||||||
|
: ^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/29/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/29/input.html:1:1]
|
||||||
|
@ -57,8 +57,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 16,
|
||||||
"end": 16,
|
"end": 45,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -22,8 +22,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/35/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><td><svg></svg>abc<td>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/35/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><td><svg></svg>abc<td>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/35/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/35/input.html:1:1]
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 16,
|
"start": 16,
|
||||||
"end": 22,
|
"end": 55,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "html",
|
"tagName": "html",
|
||||||
|
@ -20,13 +20,13 @@
|
|||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/4/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/4/input.html:1:1]
|
||||||
1 | <!doctype html><html><noscript><plaintext></plaintext>
|
1 | <!doctype html><html><noscript><plaintext></plaintext>
|
||||||
: ^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/4/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests18_dat/4/input.html:1:1]
|
||||||
1 | <!doctype html><html><noscript><plaintext></plaintext>
|
1 | <!doctype html><html><noscript><plaintext></plaintext>
|
||||||
: ^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 1,
|
"start": 1,
|
||||||
"end": 7,
|
"end": 10,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "html",
|
"tagName": "html",
|
||||||
|
@ -8,13 +8,13 @@
|
|||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests19_dat/78/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests19_dat/78/input.html:1:1]
|
||||||
1 | <html>aaa<frameset></frameset>
|
1 | <html>aaa<frameset></frameset>
|
||||||
: ^^^^^^
|
: ^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests19_dat/78/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests19_dat/78/input.html:1:1]
|
||||||
1 | <html>aaa<frameset></frameset>
|
1 | <html>aaa<frameset></frameset>
|
||||||
: ^^^^^^
|
: ^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 1,
|
"start": 1,
|
||||||
"end": 7,
|
"end": 10,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "html",
|
"tagName": "html",
|
||||||
|
@ -8,13 +8,13 @@
|
|||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests19_dat/79/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests19_dat/79/input.html:1:1]
|
||||||
1 | <html> a <frameset></frameset>
|
1 | <html> a <frameset></frameset>
|
||||||
: ^^^^^^
|
: ^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests19_dat/79/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests19_dat/79/input.html:1:1]
|
||||||
1 | <html> a <frameset></frameset>
|
1 | <html> a <frameset></frameset>
|
||||||
: ^^^^^^
|
: ^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
@ -182,8 +182,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 16,
|
||||||
"end": 16,
|
"end": 37,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -142,8 +142,16 @@
|
|||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests19_dat/95/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><i>a<div>b<tr>c<b>d</i>e
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests19_dat/95/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><i>a<div>b<tr>c<b>d</i>e
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests19_dat/95/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests19_dat/95/input.html:1:1]
|
||||||
|
@ -57,8 +57,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 16,
|
||||||
"end": 16,
|
"end": 34,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -22,8 +22,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests19_dat/96/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><td><table><i>a<div>b<b>c</i>d
|
||||||
|
: ^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests19_dat/96/input.html:1:1]
|
||||||
|
1 | <!doctype html><table><td><table><i>a<div>b<b>c</i>d
|
||||||
|
: ^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests19_dat/96/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests19_dat/96/input.html:1:1]
|
||||||
|
@ -57,7 +57,7 @@
|
|||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 9,
|
"start": 9,
|
||||||
"end": 25,
|
"end": 72,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "font",
|
"tagName": "font",
|
||||||
@ -68,7 +68,7 @@
|
|||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 15,
|
"start": 15,
|
||||||
"end": 25,
|
"end": 72,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "div",
|
"tagName": "div",
|
||||||
@ -113,8 +113,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 25,
|
||||||
"end": 25,
|
"end": 72,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -24,25 +24,25 @@
|
|||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests1_dat/32/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests1_dat/32/input.html:1:1]
|
||||||
1 | <!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->
|
1 | <!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->
|
||||||
: ^^^^^^^^^^^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests1_dat/32/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests1_dat/32/input.html:1:1]
|
||||||
1 | <!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->
|
1 | <!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->
|
||||||
: ^^^^^^^^^^^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests1_dat/32/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests1_dat/32/input.html:1:1]
|
||||||
1 | <!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->
|
1 | <!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->
|
||||||
: ^^^^^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests1_dat/32/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests1_dat/32/input.html:1:1]
|
||||||
1 | <!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->
|
1 | <!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->
|
||||||
: ^^^^^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
@ -82,8 +82,16 @@
|
|||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests1_dat/32/input.html:1:1]
|
||||||
|
1 | <!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests1_dat/32/input.html:1:1]
|
||||||
|
1 | <!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests1_dat/32/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests1_dat/32/input.html:1:1]
|
||||||
|
@ -57,8 +57,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 16,
|
||||||
"end": 16,
|
"end": 62,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -22,8 +22,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/11/input.html:1:1]
|
||||||
|
1 | <!DOCTYPE html><table><tr><td><svg><foreignObject><p><i></p>a
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/11/input.html:1:1]
|
||||||
|
1 | <!DOCTYPE html><table><tr><td><svg><foreignObject><p><i></p>a
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/11/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/11/input.html:1:1]
|
||||||
|
@ -57,8 +57,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 16,
|
||||||
"end": 16,
|
"end": 55,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -22,8 +22,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/13/input.html:1:1]
|
||||||
|
1 | <!DOCTYPE html><table><tr><td><math><mtext><p><i></p>a
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/13/input.html:1:1]
|
||||||
|
1 | <!DOCTYPE html><table><tr><td><math><mtext><p><i></p>a
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/13/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/13/input.html:1:1]
|
||||||
|
@ -47,7 +47,7 @@
|
|||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 16,
|
"start": 16,
|
||||||
"end": 32,
|
"end": 78,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "body",
|
"tagName": "body",
|
||||||
@ -58,7 +58,7 @@
|
|||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 22,
|
"start": 22,
|
||||||
"end": 32,
|
"end": 78,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "b",
|
"tagName": "b",
|
||||||
@ -69,7 +69,7 @@
|
|||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 25,
|
"start": 25,
|
||||||
"end": 32,
|
"end": 78,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "nobr",
|
"tagName": "nobr",
|
||||||
@ -89,8 +89,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 32,
|
||||||
"end": 32,
|
"end": 78,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -24,37 +24,37 @@
|
|||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/3/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/3/input.html:1:1]
|
||||||
1 | <!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3
|
1 | <!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3
|
||||||
: ^^^^^^^^^^^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/3/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/3/input.html:1:1]
|
||||||
1 | <!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3
|
1 | <!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3
|
||||||
: ^^^^^^^^^^^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/3/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/3/input.html:1:1]
|
||||||
1 | <!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3
|
1 | <!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3
|
||||||
: ^^^^^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/3/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/3/input.html:1:1]
|
||||||
1 | <!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3
|
1 | <!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3
|
||||||
: ^^^^^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/3/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/3/input.html:1:1]
|
||||||
1 | <!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3
|
1 | <!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3
|
||||||
: ^^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/3/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/3/input.html:1:1]
|
||||||
1 | <!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3
|
1 | <!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3
|
||||||
: ^^^^^^^
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
@ -70,8 +70,16 @@
|
|||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/3/input.html:1:1]
|
||||||
|
1 | <!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/3/input.html:1:1]
|
||||||
|
1 | <!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/3/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests26_dat/3/input.html:1:1]
|
||||||
|
@ -67,8 +67,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 16,
|
||||||
"end": 16,
|
"end": 31,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -34,8 +34,16 @@
|
|||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat/14/input.html:1:1]
|
||||||
|
1 | <!DOCTYPE html><table><tr>TEST
|
||||||
|
: ^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat/14/input.html:1:1]
|
||||||
|
1 | <!DOCTYPE html><table><tr>TEST
|
||||||
|
: ^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat/14/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat/14/input.html:1:1]
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 1,
|
||||||
"end": 1,
|
"end": 12,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -10,8 +10,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat/2/input.html:1:1]
|
||||||
|
1 | <table><td>
|
||||||
|
: ^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat/2/input.html:1:1]
|
||||||
|
1 | <table><td>
|
||||||
|
: ^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat/2/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat/2/input.html:1:1]
|
||||||
|
@ -57,8 +57,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 16,
|
||||||
"end": 16,
|
"end": 59,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -22,8 +22,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat/35/input.html:1:1]
|
||||||
|
1 | <!DOCTYPE html><table><caption>test TEST</caption><td>test
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat/35/input.html:1:1]
|
||||||
|
1 | <!DOCTYPE html><table><caption>test TEST</caption><td>test
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat/35/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests2_dat/35/input.html:1:1]
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 1,
|
||||||
"end": 1,
|
"end": 21,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -10,8 +10,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests6_dat/14/input.html:1:1]
|
||||||
|
1 | <table><tr><td></th>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests6_dat/14/input.html:1:1]
|
||||||
|
1 | <table><tr><td></th>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests6_dat/14/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests6_dat/14/input.html:1:1]
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 1,
|
||||||
"end": 1,
|
"end": 21,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -10,8 +10,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests6_dat/15/input.html:1:1]
|
||||||
|
1 | <table><caption><td>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests6_dat/15/input.html:1:1]
|
||||||
|
1 | <table><caption><td>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests6_dat/15/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests6_dat/15/input.html:1:1]
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 1,
|
||||||
"end": 1,
|
"end": 57,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -10,8 +10,16 @@
|
|||||||
x Element
|
x Element
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests6_dat/23/input.html:1:1]
|
||||||
|
1 | <table><tr><td></body></caption></col></colgroup></html>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests6_dat/23/input.html:1:1]
|
||||||
|
1 | <table><tr><td></body></caption></col></colgroup></html>
|
||||||
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests6_dat/23/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests6_dat/23/input.html:1:1]
|
||||||
|
@ -60,8 +60,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 1,
|
||||||
"end": 1,
|
"end": 12,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
@ -22,8 +22,16 @@
|
|||||||
`----
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests6_dat/32/input.html:1:1]
|
||||||
|
1 | <table><tr><div>
|
||||||
|
: ^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Element
|
x Element
|
||||||
|
,-[$DIR/tests/html5lib-tests-fixture/tests6_dat/32/input.html:1:1]
|
||||||
|
1 | <table><tr><div>
|
||||||
|
: ^^^^^^^^^^^
|
||||||
|
`----
|
||||||
|
|
||||||
x Child
|
x Child
|
||||||
,-[$DIR/tests/html5lib-tests-fixture/tests6_dat/32/input.html:1:1]
|
,-[$DIR/tests/html5lib-tests-fixture/tests6_dat/32/input.html:1:1]
|
||||||
|
@ -60,8 +60,8 @@
|
|||||||
{
|
{
|
||||||
"type": "Element",
|
"type": "Element",
|
||||||
"span": {
|
"span": {
|
||||||
"start": 0,
|
"start": 1,
|
||||||
"end": 1,
|
"end": 21,
|
||||||
"ctxt": 0
|
"ctxt": 0
|
||||||
},
|
},
|
||||||
"tagName": "table",
|
"tagName": "table",
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user