@ -1,78 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`base parser invalid html 1`] = `
Object {
"children": Array [
Object {
"children": Array [
Object {
"children": Array [],
"isSelfClosing": false,
"loc": Object {
"end": Object {
"column": 1,
"line": 3,
"offset": 13,
},
"source": "<span>
",
"start": Object {
"column": 1,
"line": 2,
"offset": 6,
},
},
"ns": 0,
"props": Array [],
"tag": "span",
"tagType": 0,
"type": 2,
},
],
"isSelfClosing": false,
"loc": Object {
"end": Object {
"column": 7,
"line": 3,
"offset": 19,
},
"source": "<div>
<span>
</div>",
"start": Object {
"column": 1,
"line": 1,
"offset": 0,
},
},
"ns": 0,
"props": Array [],
"tag": "div",
"tagType": 0,
"type": 2,
},
],
"loc": Object {
"end": Object {
"column": 8,
"line": 4,
"offset": 27,
},
"source": "<div>
<span>
</div>
</span>",
"start": Object {
"column": 1,
"line": 1,
"offset": 0,
},
},
"type": 6,
}
`;
exports[`base parser onError option ABRUPT_CLOSING_OF_EMPTY_COMMENT <template><!--></template> 1`] = `
exports[`base parser Errors ABRUPT_CLOSING_OF_EMPTY_COMMENT <template><!--></template> 1`] = `
Object {
"children": Array [
Object {
@ -133,7 +61,7 @@ Object {
}
`;
exports[`base parser onError option ABRUPT_CLOSING_OF_EMPTY_COMMENT <template><!---></template> 1`] = `
exports[`base parser Errors ABRUPT_CLOSING_OF_EMPTY_COMMENT <template><!---></template> 1`] = `
Object {
"children": Array [
Object {
@ -194,7 +122,7 @@ Object {
}
`;
exports[`base parser onError option ABRUPT_CLOSING_OF_EMPTY_COMMENT <template><!----></template> 1`] = `
exports[`base parser Errors ABRUPT_CLOSING_OF_EMPTY_COMMENT <template><!----></template> 1`] = `
Object {
"children": Array [
Object {
@ -255,7 +183,7 @@ Object {
}
`;
exports[`base parser onError option ABSENCE_OF_DIGITS_IN_NUMERIC_CHARACTER_REFERENCE <template attr="c"></template> 1`] = `
exports[`base parser Errors ABSENCE_OF_DIGITS_IN_NUMERIC_CHARACTER_REFERENCE <template attr="c"></template> 1`] = `
Object {
"children": Array [
Object {
@ -334,7 +262,7 @@ Object {
}
`;
exports[`base parser onError option ABSENCE_OF_DIGITS_IN_NUMERIC_CHARACTER_REFERENCE <template attr="&#a;"></template> 1`] = `
exports[`base parser Errors ABSENCE_OF_DIGITS_IN_NUMERIC_CHARACTER_REFERENCE <template attr="&#a;"></template> 1`] = `
Object {
"children": Array [
Object {
@ -413,7 +341,7 @@ Object {
}
`;
exports[`base parser onError option ABSENCE_OF_DIGITS_IN_NUMERIC_CHARACTER_REFERENCE <template attr="ÿ"></template> 1`] = `
exports[`base parser Errors ABSENCE_OF_DIGITS_IN_NUMERIC_CHARACTER_REFERENCE <template attr="ÿ"></template> 1`] = `
Object {
"children": Array [
Object {
@ -492,7 +420,7 @@ Object {
}
`;
exports[`base parser onError option ABSENCE_OF_DIGITS_IN_NUMERIC_CHARACTER_REFERENCE <template attr="&#xg;"></template> 1`] = `
exports[`base parser Errors ABSENCE_OF_DIGITS_IN_NUMERIC_CHARACTER_REFERENCE <template attr="&#xg;"></template> 1`] = `
Object {
"children": Array [
Object {
@ -571,7 +499,7 @@ Object {
}
`;
exports[`base parser onError option ABSENCE_OF_DIGITS_IN_NUMERIC_CHARACTER_REFERENCE <template>c</template> 1`] = `
exports[`base parser Errors ABSENCE_OF_DIGITS_IN_NUMERIC_CHARACTER_REFERENCE <template>c</template> 1`] = `
Object {
"children": Array [
Object {
@ -633,7 +561,7 @@ Object {
}
`;
exports[`base parser onError option ABSENCE_OF_DIGITS_IN_NUMERIC_CHARACTER_REFERENCE <template>&#a;</template> 1`] = `
exports[`base parser Errors ABSENCE_OF_DIGITS_IN_NUMERIC_CHARACTER_REFERENCE <template>&#a;</template> 1`] = `
Object {
"children": Array [
Object {
@ -695,7 +623,7 @@ Object {
}
`;
exports[`base parser onError option ABSENCE_OF_DIGITS_IN_NUMERIC_CHARACTER_REFERENCE <template>ÿ</template> 1`] = `
exports[`base parser Errors ABSENCE_OF_DIGITS_IN_NUMERIC_CHARACTER_REFERENCE <template>ÿ</template> 1`] = `
Object {
"children": Array [
Object {
@ -757,7 +685,7 @@ Object {
}
`;
exports[`base parser onError option ABSENCE_OF_DIGITS_IN_NUMERIC_CHARACTER_REFERENCE <template>&#xg;</template> 1`] = `
exports[`base parser Errors ABSENCE_OF_DIGITS_IN_NUMERIC_CHARACTER_REFERENCE <template>&#xg;</template> 1`] = `
Object {
"children": Array [
Object {
@ -819,7 +747,7 @@ Object {
}
`;
exports[`base parser onError option CDATA_IN_HTML_CONTENT <template><![CDATA[cdata]]></template> 1`] = `
exports[`base parser Errors CDATA_IN_HTML_CONTENT <template><![CDATA[cdata]]></template> 1`] = `
Object {
"children": Array [
Object {
@ -880,7 +808,7 @@ Object {
}
`;
exports[`base parser onError option CDATA_IN_HTML_CONTENT <template><svg><![CDATA[cdata]]></svg></template> 1`] = `
exports[`base parser Errors CDATA_IN_HTML_CONTENT <template><svg><![CDATA[cdata]]></svg></template> 1`] = `
Object {
"children": Array [
Object {
@ -965,7 +893,7 @@ Object {
}
`;
exports[`base parser onError option CHARACTER_REFERENCE_OUTSIDE_UNICODE_RANGE <template>�</template> 1`] = `
exports[`base parser Errors CHARACTER_REFERENCE_OUTSIDE_UNICODE_RANGE <template>�</template> 1`] = `
Object {
"children": Array [
Object {
@ -1027,7 +955,7 @@ Object {
}
`;
exports[`base parser onError option CONTROL_CHARACTER_REFERENCE <template></template> 1`] = `
exports[`base parser Errors CONTROL_CHARACTER_REFERENCE <template></template> 1`] = `
Object {
"children": Array [
Object {
@ -1089,7 +1017,7 @@ Object {
}
`;
exports[`base parser onError option CONTROL_CHARACTER_REFERENCE <template></template> 1`] = `
exports[`base parser Errors CONTROL_CHARACTER_REFERENCE <template></template> 1`] = `
Object {
"children": Array [
Object {
@ -1151,7 +1079,7 @@ Object {
}
`;
exports[`base parser onError option DUPLICATE_ATTRIBUTE <template><div id="" id=""></div></template> 1`] = `
exports[`base parser Errors DUPLICATE_ATTRIBUTE <template><div id="" id=""></div></template> 1`] = `
Object {
"children": Array [
Object {
@ -1288,7 +1216,7 @@ Object {
}
`;
exports[`base parser onError option END_TAG_WITH_ATTRIBUTES <template><div></div id=""></template> 1`] = `
exports[`base parser Errors END_TAG_WITH_ATTRIBUTES <template><div></div id=""></template> 1`] = `
Object {
"children": Array [
Object {
@ -1354,7 +1282,7 @@ Object {
}
`;
exports[`base parser onError option END_TAG_WITH_TRAILING_SOLIDUS <template><div></div/></template> 1`] = `
exports[`base parser Errors END_TAG_WITH_TRAILING_SOLIDUS <template><div></div/></template> 1`] = `
Object {
"children": Array [
Object {
@ -1420,7 +1348,7 @@ Object {
}
`;
exports[`base parser onError option EOF_BEFORE_TAG_NAME <template>< 1`] = `
exports[`base parser Errors EOF_BEFORE_TAG_NAME <template>< 1`] = `
Object {
"children": Array [
Object {
@ -1482,7 +1410,7 @@ Object {
}
`;
exports[`base parser onError option EOF_BEFORE_TAG_NAME <template></ 1`] = `
exports[`base parser Errors EOF_BEFORE_TAG_NAME <template></ 1`] = `
Object {
"children": Array [
Object {
@ -1544,7 +1472,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_CDATA <template><svg><![CDATA[ 1`] = `
exports[`base parser Errors EOF_IN_CDATA <template><svg><![CDATA[ 1`] = `
Object {
"children": Array [
Object {
@ -1610,7 +1538,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_CDATA <template><svg><![CDATA[cdata 1`] = `
exports[`base parser Errors EOF_IN_CDATA <template><svg><![CDATA[cdata 1`] = `
Object {
"children": Array [
Object {
@ -1695,7 +1623,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_COMMENT <template><! 1`] = `
exports[`base parser Errors EOF_IN_COMMENT <template><! 1`] = `
Object {
"children": Array [
Object {
@ -1756,7 +1684,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_COMMENT <template><!- 1`] = `
exports[`base parser Errors EOF_IN_COMMENT <template><!- 1`] = `
Object {
"children": Array [
Object {
@ -1817,7 +1745,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_COMMENT <template><!-- 1`] = `
exports[`base parser Errors EOF_IN_COMMENT <template><!-- 1`] = `
Object {
"children": Array [
Object {
@ -1878,7 +1806,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_COMMENT <template><!--comment 1`] = `
exports[`base parser Errors EOF_IN_COMMENT <template><!--comment 1`] = `
Object {
"children": Array [
Object {
@ -1939,7 +1867,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_COMMENT <template><!abc 1`] = `
exports[`base parser Errors EOF_IN_COMMENT <template><!abc 1`] = `
Object {
"children": Array [
Object {
@ -2000,7 +1928,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT <script><!--console.log('hello') 1`] = `
exports[`base parser Errors EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT <script><!--console.log('hello') 1`] = `
Object {
"children": Array [
Object {
@ -2062,7 +1990,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT <script>console.log('hello') 1`] = `
exports[`base parser Errors EOF_IN_SCRIPT_HTML_COMMENT_LIKE_TEXT <script>console.log('hello') 1`] = `
Object {
"children": Array [
Object {
@ -2124,7 +2052,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_TAG <template><div 1`] = `
exports[`base parser Errors EOF_IN_TAG <template><div 1`] = `
Object {
"children": Array [
Object {
@ -2190,7 +2118,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_TAG <template><div 1`] = `
exports[`base parser Errors EOF_IN_TAG <template><div 1`] = `
Object {
"children": Array [
Object {
@ -2256,7 +2184,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_TAG <template><div id 1`] = `
exports[`base parser Errors EOF_IN_TAG <template><div id 1`] = `
Object {
"children": Array [
Object {
@ -2341,7 +2269,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_TAG <template><div id = 1`] = `
exports[`base parser Errors EOF_IN_TAG <template><div id = 1`] = `
Object {
"children": Array [
Object {
@ -2426,7 +2354,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_TAG <template><div id 1`] = `
exports[`base parser Errors EOF_IN_TAG <template><div id 1`] = `
Object {
"children": Array [
Object {
@ -2511,7 +2439,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_TAG <template><div id="abc 1`] = `
exports[`base parser Errors EOF_IN_TAG <template><div id="abc 1`] = `
Object {
"children": Array [
Object {
@ -2613,7 +2541,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_TAG <template><div id="abc" 1`] = `
exports[`base parser Errors EOF_IN_TAG <template><div id="abc" 1`] = `
Object {
"children": Array [
Object {
@ -2715,7 +2643,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_TAG <template><div id="abc"/ 1`] = `
exports[`base parser Errors EOF_IN_TAG <template><div id="abc"/ 1`] = `
Object {
"children": Array [
Object {
@ -2817,7 +2745,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_TAG <template><div id='abc 1`] = `
exports[`base parser Errors EOF_IN_TAG <template><div id='abc 1`] = `
Object {
"children": Array [
Object {
@ -2919,7 +2847,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_TAG <template><div id='abc' 1`] = `
exports[`base parser Errors EOF_IN_TAG <template><div id='abc' 1`] = `
Object {
"children": Array [
Object {
@ -3021,7 +2949,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_TAG <template><div id='abc'/ 1`] = `
exports[`base parser Errors EOF_IN_TAG <template><div id='abc'/ 1`] = `
Object {
"children": Array [
Object {
@ -3123,7 +3051,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_TAG <template><div id=abc / 1`] = `
exports[`base parser Errors EOF_IN_TAG <template><div id=abc / 1`] = `
Object {
"children": Array [
Object {
@ -3225,7 +3153,7 @@ Object {
}
`;
exports[`base parser onError option EOF_IN_TAG <template><div id=abc 1`] = `
exports[`base parser Errors EOF_IN_TAG <template><div id=abc 1`] = `
Object {
"children": Array [
Object {
@ -3327,7 +3255,7 @@ Object {
}
`;
exports[`base parser onError option INCORRECTLY_CLOSED_COMMENT <template><!--comment--!></template> 1`] = `
exports[`base parser Errors INCORRECTLY_CLOSED_COMMENT <template><!--comment--!></template> 1`] = `
Object {
"children": Array [
Object {
@ -3388,7 +3316,7 @@ Object {
}
`;
exports[`base parser onError option INCORRECTLY_OPENED_COMMENT <!DOCTYPE html> 1`] = `
exports[`base parser Errors INCORRECTLY_OPENED_COMMENT <!DOCTYPE html> 1`] = `
Object {
"children": Array [
Object {
@ -3426,7 +3354,7 @@ Object {
}
`;
exports[`base parser onError option INCORRECTLY_OPENED_COMMENT <template><!></template> 1`] = `
exports[`base parser Errors INCORRECTLY_OPENED_COMMENT <template><!></template> 1`] = `
Object {
"children": Array [
Object {
@ -3487,7 +3415,7 @@ Object {
}
`;
exports[`base parser onError option INCORRECTLY_OPENED_COMMENT <template><!-></template> 1`] = `
exports[`base parser Errors INCORRECTLY_OPENED_COMMENT <template><!-></template> 1`] = `
Object {
"children": Array [
Object {
@ -3548,7 +3476,7 @@ Object {
}
`;
exports[`base parser onError option INCORRECTLY_OPENED_COMMENT <template><!ELEMENT br EMPTY></template> 1`] = `
exports[`base parser Errors INCORRECTLY_OPENED_COMMENT <template><!ELEMENT br EMPTY></template> 1`] = `
Object {
"children": Array [
Object {
@ -3609,7 +3537,7 @@ Object {
}
`;
exports[`base parser onError option INVALID_FIRST_CHARACTER_OF_TAG_NAME <template></<2F> ></template> 1`] = `
exports[`base parser Errors INVALID_FIRST_CHARACTER_OF_TAG_NAME <template></<2F> ></template> 1`] = `
Object {
"children": Array [
Object {
@ -3670,7 +3598,7 @@ Object {
}
`;
exports[`base parser onError option INVALID_FIRST_CHARACTER_OF_TAG_NAME <template><<3C> ></template> 1`] = `
exports[`base parser Errors INVALID_FIRST_CHARACTER_OF_TAG_NAME <template><<3C> ></template> 1`] = `
Object {
"children": Array [
Object {
@ -3732,7 +3660,7 @@ Object {
}
`;
exports[`base parser onError option INVALID_FIRST_CHARACTER_OF_TAG_NAME <template>{{a < b}}</template> 1`] = `
exports[`base parser Errors INVALID_FIRST_CHARACTER_OF_TAG_NAME <template>{{a < b}}</template> 1`] = `
Object {
"children": Array [
Object {
@ -3794,7 +3722,7 @@ Object {
}
`;
exports[`base parser onError option INVALID_FIRST_CHARACTER_OF_TAG_NAME <template>a < b</template> 1`] = `
exports[`base parser Errors INVALID_FIRST_CHARACTER_OF_TAG_NAME <template>a < b</template> 1`] = `
Object {
"children": Array [
Object {
@ -3856,7 +3784,7 @@ Object {
}
`;
exports[`base parser onError option INVALID_FIRST_CHARACTER_OF_TAG_NAME <template>a </ b</template> 1`] = `
exports[`base parser Errors INVALID_FIRST_CHARACTER_OF_TAG_NAME <template>a </ b</template> 1`] = `
Object {
"children": Array [
Object {
@ -3935,7 +3863,7 @@ Object {
}
`;
exports[`base parser onError option MISSING_ATTRIBUTE_VALUE <template><div id= /></div></template> 1`] = `
exports[`base parser Errors MISSING_ATTRIBUTE_VALUE <template><div id= /></div></template> 1`] = `
Object {
"children": Array [
Object {
@ -4037,7 +3965,7 @@ Object {
}
`;
exports[`base parser onError option MISSING_ATTRIBUTE_VALUE <template><div id= ></div></template> 1`] = `
exports[`base parser Errors MISSING_ATTRIBUTE_VALUE <template><div id= ></div></template> 1`] = `
Object {
"children": Array [
Object {
@ -4122,7 +4050,7 @@ Object {
}
`;
exports[`base parser onError option MISSING_ATTRIBUTE_VALUE <template><div id=></div></template> 1`] = `
exports[`base parser Errors MISSING_ATTRIBUTE_VALUE <template><div id=></div></template> 1`] = `
Object {
"children": Array [
Object {
@ -4207,7 +4135,7 @@ Object {
}
`;
exports[`base parser onError option MISSING_END_TAG_NAME <template></></template> 1`] = `
exports[`base parser Errors MISSING_END_TAG_NAME <template></></template> 1`] = `
Object {
"children": Array [
Object {
@ -4250,7 +4178,7 @@ Object {
}
`;
exports[`base parser onError option MISSING_SEMICOLON_AFTER_CHARACTER_REFERENCE <template>(</template> 1`] = `
exports[`base parser Errors MISSING_SEMICOLON_AFTER_CHARACTER_REFERENCE <template>(</template> 1`] = `
Object {
"children": Array [
Object {
@ -4312,7 +4240,7 @@ Object {
}
`;
exports[`base parser onError option MISSING_SEMICOLON_AFTER_CHARACTER_REFERENCE <template>@</template> 1`] = `
exports[`base parser Errors MISSING_SEMICOLON_AFTER_CHARACTER_REFERENCE <template>@</template> 1`] = `
Object {
"children": Array [
Object {
@ -4374,7 +4302,7 @@ Object {
}
`;
exports[`base parser onError option MISSING_SEMICOLON_AFTER_CHARACTER_REFERENCE <template>&</template> 1`] = `
exports[`base parser Errors MISSING_SEMICOLON_AFTER_CHARACTER_REFERENCE <template>&</template> 1`] = `
Object {
"children": Array [
Object {
@ -4436,7 +4364,7 @@ Object {
}
`;
exports[`base parser onError option MISSING_WHITESPACE_BETWEEN_ATTRIBUTES <template><div id="foo"\\x0d;\\x0a;class="bar"></div></template> 1`] = `
exports[`base parser Errors MISSING_WHITESPACE_BETWEEN_ATTRIBUTES <template><div id="foo"\\x0d;\\x0a;class="bar"></div></template> 1`] = `
Object {
"children": Array [
Object {
@ -4576,7 +4504,7 @@ class=\\"bar\\"></div></template>",
}
`;
exports[`base parser onError option MISSING_WHITESPACE_BETWEEN_ATTRIBUTES <template><div id="foo"class="bar"></div></template> 1`] = `
exports[`base parser Errors MISSING_WHITESPACE_BETWEEN_ATTRIBUTES <template><div id="foo"class="bar"></div></template> 1`] = `
Object {
"children": Array [
Object {
@ -4713,7 +4641,7 @@ Object {
}
`;
exports[`base parser onError option NESTED_COMMENT <template><!--a<!-- 1`] = `
exports[`base parser Errors NESTED_COMMENT <template><!--a<!-- 1`] = `
Object {
"children": Array [
Object {
@ -4774,7 +4702,7 @@ Object {
}
`;
exports[`base parser onError option NESTED_COMMENT <template><!--a<!--></template> 1`] = `
exports[`base parser Errors NESTED_COMMENT <template><!--a<!--></template> 1`] = `
Object {
"children": Array [
Object {
@ -4835,7 +4763,7 @@ Object {
}
`;
exports[`base parser onError option NESTED_COMMENT <template><!--a<!--b<!--c--></template> 1`] = `
exports[`base parser Errors NESTED_COMMENT <template><!--a<!--b<!--c--></template> 1`] = `
Object {
"children": Array [
Object {
@ -4896,7 +4824,7 @@ Object {
}
`;
exports[`base parser onError option NESTED_COMMENT <template><!--a<!--b--></template> 1`] = `
exports[`base parser Errors NESTED_COMMENT <template><!--a<!--b--></template> 1`] = `
Object {
"children": Array [
Object {
@ -4957,7 +4885,7 @@ Object {
}
`;
exports[`base parser onError option NONCHARACTER_CHARACTER_REFERENCE <template></template> 1`] = `
exports[`base parser Errors NONCHARACTER_CHARACTER_REFERENCE <template></template> 1`] = `
Object {
"children": Array [
Object {
@ -5019,7 +4947,7 @@ Object {
}
`;
exports[`base parser onError option NONCHARACTER_CHARACTER_REFERENCE <template></template> 1`] = `
exports[`base parser Errors NONCHARACTER_CHARACTER_REFERENCE <template></template> 1`] = `
Object {
"children": Array [
Object {
@ -5081,7 +5009,7 @@ Object {
}
`;
exports[`base parser onError option NULL_CHARACTER_REFERENCE <template>�</template> 1`] = `
exports[`base parser Errors NULL_CHARACTER_REFERENCE <template>�</template> 1`] = `
Object {
"children": Array [
Object {
@ -5143,7 +5071,7 @@ Object {
}
`;
exports[`base parser onError option SURROGATE_CHARACTER_REFERENCE <template>�</template> 1`] = `
exports[`base parser Errors SURROGATE_CHARACTER_REFERENCE <template>�</template> 1`] = `
Object {
"children": Array [
Object {
@ -5205,7 +5133,7 @@ Object {
}
`;
exports[`base parser onError option UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME <template><div a"bc=''></div></template> 1`] = `
exports[`base parser Errors UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME <template><div a"bc=''></div></template> 1`] = `
Object {
"children": Array [
Object {
@ -5307,7 +5235,7 @@ Object {
}
`;
exports[`base parser onError option UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME <template><div a'bc=''></div></template> 1`] = `
exports[`base parser Errors UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME <template><div a'bc=''></div></template> 1`] = `
Object {
"children": Array [
Object {
@ -5409,7 +5337,7 @@ Object {
}
`;
exports[`base parser onError option UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME <template><div a<bc=''></div></template> 1`] = `
exports[`base parser Errors UNEXPECTED_CHARACTER_IN_ATTRIBUTE_NAME <template><div a<bc=''></div></template> 1`] = `
Object {
"children": Array [
Object {
@ -5511,7 +5439,7 @@ Object {
}
`;
exports[`base parser onError option UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE <template><div foo=bar"></div></template> 1`] = `
exports[`base parser Errors UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE <template><div foo=bar"></div></template> 1`] = `
Object {
"children": Array [
Object {
@ -5613,7 +5541,7 @@ Object {
}
`;
exports[`base parser onError option UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE <template><div foo=bar'></div></template> 1`] = `
exports[`base parser Errors UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE <template><div foo=bar'></div></template> 1`] = `
Object {
"children": Array [
Object {
@ -5715,7 +5643,7 @@ Object {
}
`;
exports[`base parser onError option UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE <template><div foo=bar<div></div></template> 1`] = `
exports[`base parser Errors UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE <template><div foo=bar<div></div></template> 1`] = `
Object {
"children": Array [
Object {
@ -5817,7 +5745,7 @@ Object {
}
`;
exports[`base parser onError option UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE <template><div foo=bar=baz></div></template> 1`] = `
exports[`base parser Errors UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE <template><div foo=bar=baz></div></template> 1`] = `
Object {
"children": Array [
Object {
@ -5919,7 +5847,7 @@ Object {
}
`;
exports[`base parser onError option UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE <template><div foo=bar\`></div></template> 1`] = `
exports[`base parser Errors UNEXPECTED_CHARACTER_IN_UNQUOTED_ATTRIBUTE_VALUE <template><div foo=bar\`></div></template> 1`] = `
Object {
"children": Array [
Object {
@ -6021,7 +5949,7 @@ Object {
}
`;
exports[`base parser onError option UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME <template><div =></div></template> 1`] = `
exports[`base parser Errors UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME <template><div =></div></template> 1`] = `
Object {
"children": Array [
Object {
@ -6106,7 +6034,7 @@ Object {
}
`;
exports[`base parser onError option UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME <template><div =foo=bar></div></template> 1`] = `
exports[`base parser Errors UNEXPECTED_EQUALS_SIGN_BEFORE_ATTRIBUTE_NAME <template><div =foo=bar></div></template> 1`] = `
Object {
"children": Array [
Object {
@ -6208,7 +6136,7 @@ Object {
}
`;
exports[`base parser onError option UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME <template><?xml?></template> 1`] = `
exports[`base parser Errors UNEXPECTED_QUESTION_MARK_INSTEAD_OF_TAG_NAME <template><?xml?></template> 1`] = `
Object {
"children": Array [
Object {
@ -6269,7 +6197,7 @@ Object {
}
`;
exports[`base parser onError option UNEXPECTED_SOLIDUS_IN_TAG <template><div a/b></div></template> 1`] = `
exports[`base parser Errors UNEXPECTED_SOLIDUS_IN_TAG <template><div a/b></div></template> 1`] = `
Object {
"children": Array [
Object {
@ -6372,7 +6300,7 @@ Object {
}
`;
exports[`base parser onError option UNKNOWN_NAMED_CHARACTER_REFERENCE <template>&unknown;</template> 1`] = `
exports[`base parser Errors UNKNOWN_NAMED_CHARACTER_REFERENCE <template>&unknown;</template> 1`] = `
Object {
"children": Array [
Object {
@ -6434,7 +6362,7 @@ Object {
}
`;
exports[`base parser onError option X_INVALID_END_TAG <svg><![CDATA[</div>]]></svg> 1`] = `
exports[`base parser Errors X_INVALID_END_TAG <svg><![CDATA[</div>]]></svg> 1`] = `
Object {
"children": Array [
Object {
@ -6496,7 +6424,7 @@ Object {
}
`;
exports[`base parser onError option X_INVALID_END_TAG <svg><!--</div>--></svg> 1`] = `
exports[`base parser Errors X_INVALID_END_TAG <svg><!--</div>--></svg> 1`] = `
Object {
"children": Array [
Object {
@ -6557,7 +6485,7 @@ Object {
}
`;
exports[`base parser onError option X_INVALID_END_TAG <template></div></div></template> 1`] = `
exports[`base parser Errors X_INVALID_END_TAG <template></div></div></template> 1`] = `
Object {
"children": Array [
Object {
@ -6600,7 +6528,7 @@ Object {
}
`;
exports[`base parser onError option X_INVALID_END_TAG <template></div></template> 1`] = `
exports[`base parser Errors X_INVALID_END_TAG <template></div></template> 1`] = `
Object {
"children": Array [
Object {
@ -6643,7 +6571,7 @@ Object {
}
`;
exports[`base parser onError option X_INVALID_END_TAG <template>{{'</div>'}}</template> 1`] = `
exports[`base parser Errors X_INVALID_END_TAG <template>{{'</div>'}}</template> 1`] = `
Object {
"children": Array [
Object {
@ -6705,7 +6633,7 @@ Object {
}
`;
exports[`base parser onError option X_INVALID_END_TAG <textarea></div></textarea> 1`] = `
exports[`base parser Errors X_INVALID_END_TAG <textarea></div></textarea> 1`] = `
Object {
"children": Array [
Object {
@ -6767,7 +6695,7 @@ Object {
}
`;
exports[`base parser onError option X_MISSING_END_TAG <template><div> 1`] = `
exports[`base parser Errors X_MISSING_END_TAG <template><div> 1`] = `
Object {
"children": Array [
Object {
@ -6833,7 +6761,7 @@ Object {
}
`;
exports[`base parser onError option X_MISSING_END_TAG <template><div></template> 1`] = `
exports[`base parser Errors X_MISSING_END_TAG <template><div></template> 1`] = `
Object {
"children": Array [
Object {
@ -6899,7 +6827,7 @@ Object {
}
`;
exports[`base parser onError option X_MISSING_INTERPOLATION_END {{ 1`] = `
exports[`base parser Errors X_MISSING_INTERPOLATION_END {{ 1`] = `
Object {
"children": Array [
Object {
@ -6938,7 +6866,7 @@ Object {
}
`;
exports[`base parser onError option X_MISSING_INTERPOLATION_END {{ foo 1`] = `
exports[`base parser Errors X_MISSING_INTERPOLATION_END {{ foo 1`] = `
Object {
"children": Array [
Object {
@ -6977,7 +6905,7 @@ Object {
}
`;
exports[`base parser onError option X_MISSING_INTERPOLATION_END {{}} 1`] = `
exports[`base parser Errors X_MISSING_INTERPOLATION_END {{}} 1`] = `
Object {
"children": Array [
Object {
@ -7016,6 +6944,78 @@ Object {
}
`;
exports[`base parser invalid html 1`] = `
Object {
"children": Array [
Object {
"children": Array [
Object {
"children": Array [],
"isSelfClosing": false,
"loc": Object {
"end": Object {
"column": 1,
"line": 3,
"offset": 13,
},
"source": "<span>
",
"start": Object {
"column": 1,
"line": 2,
"offset": 6,
},
},
"ns": 0,
"props": Array [],
"tag": "span",
"tagType": 0,
"type": 2,
},
],
"isSelfClosing": false,
"loc": Object {
"end": Object {
"column": 7,
"line": 3,
"offset": 19,
},
"source": "<div>
<span>
</div>",
"start": Object {
"column": 1,
"line": 1,
"offset": 0,
},
},
"ns": 0,
"props": Array [],
"tag": "div",
"tagType": 0,
"type": 2,
},
],
"loc": Object {
"end": Object {
"column": 8,
"line": 4,
"offset": 27,
},
"source": "<div>
<span>
</div>
</span>",
"start": Object {
"column": 1,
"line": 1,
"offset": 0,
},
},
"type": 6,
}
`;
exports[`base parser self closing multiple tag 1`] = `
Object {
"children": Array [