mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 19:21:33 +03:00
b8fe04f720
**Description:** This PR makes the error reporter print contexts. **Related issue:** - https://github.com/swc-project/swc/issues/6525.
48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
|
|
x Start tag seen without seeing a doctype first, expected "<!DOCTYPE html>"
|
|
,-[$DIR/tests/recovery/element/colgroup-1/input.html:1:1]
|
|
1 | <body>
|
|
: ^^^^^^
|
|
2 | <template><col><colgroup></template>
|
|
`----
|
|
|
|
x Garbage in "colgroup" element
|
|
,-[$DIR/tests/recovery/element/colgroup-1/input.html:1:1]
|
|
1 | <body>
|
|
2 | <template><col><colgroup></template>
|
|
: ^^^^^^^^^^
|
|
3 | <template><col><colgroup></div></template>
|
|
`----
|
|
|
|
x Garbage in "colgroup" element
|
|
,-[$DIR/tests/recovery/element/colgroup-1/input.html:2:1]
|
|
2 | <template><col><colgroup></template>
|
|
3 | <template><col><colgroup></div></template>
|
|
: ^^^^^^^^^^
|
|
4 | <template><col><colgroup>A</template>
|
|
`----
|
|
|
|
x Garbage in "colgroup" element
|
|
,-[$DIR/tests/recovery/element/colgroup-1/input.html:2:1]
|
|
2 | <template><col><colgroup></template>
|
|
3 | <template><col><colgroup></div></template>
|
|
: ^^^^^^
|
|
4 | <template><col><colgroup>A</template>
|
|
`----
|
|
|
|
x Garbage in "colgroup" element
|
|
,-[$DIR/tests/recovery/element/colgroup-1/input.html:3:1]
|
|
3 | <template><col><colgroup></div></template>
|
|
4 | <template><col><colgroup>A</template>
|
|
: ^^^^^^^^^^
|
|
5 | </body>
|
|
`----
|
|
|
|
x Non-space character in "colgroup" element
|
|
,-[$DIR/tests/recovery/element/colgroup-1/input.html:3:1]
|
|
3 | <template><col><colgroup></div></template>
|
|
4 | <template><col><colgroup>A</template>
|
|
: ^
|
|
5 | </body>
|
|
`----
|