mirror of
https://github.com/swc-project/swc.git
synced 2025-01-03 19:14:01 +03:00
158 lines
4.8 KiB
Plaintext
158 lines
4.8 KiB
Plaintext
|
|
x Document
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:1:1]
|
|
1 | ,-> <!DOCTYPE html>
|
|
2 | | <html>
|
|
3 | | <body>
|
|
4 | |
|
|
5 | | <!--[if IE 5]>This is IE 5<br><![endif]-->
|
|
6 | | <!--[if IE 6]>This is IE 6<br><![endif]-->
|
|
7 | | <!--[if IE 7]>This is IE 7<br><![endif]-->
|
|
8 | | <!--[if IE 8]>This is IE 8<br><![endif]-->
|
|
9 | | <!--[if IE 9]>This is IE 9<br><![endif]-->
|
|
10 | |
|
|
11 | | </body>
|
|
12 | `-> </html>
|
|
`----
|
|
|
|
x Doctype { name: Some(Atom('html' type=inline)), force_quirks: false, public_id: None, system_id: None }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:1:1]
|
|
1 | <!DOCTYPE html>
|
|
: ^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Character { value: '\n' }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:1:1]
|
|
1 | <!DOCTYPE html>
|
|
: ^
|
|
2 | <html>
|
|
`----
|
|
|
|
x StartTag { tag_name: Atom('html' type=inline), self_closing: false, attributes: [] }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:2:1]
|
|
2 | <html>
|
|
: ^^^^^^
|
|
`----
|
|
|
|
x Character { value: '\n' }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:2:1]
|
|
2 | <html>
|
|
: ^
|
|
3 | <body>
|
|
`----
|
|
|
|
x StartTag { tag_name: Atom('body' type=inline), self_closing: false, attributes: [] }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:3:1]
|
|
3 | <body>
|
|
: ^^^^^^
|
|
`----
|
|
|
|
x Character { value: '\n' }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:3:1]
|
|
3 | <body>
|
|
: ^
|
|
`----
|
|
|
|
x Character { value: '\n' }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:4:1]
|
|
4 |
|
|
: ^
|
|
5 | <!--[if IE 5]>This is IE 5<br><![endif]-->
|
|
`----
|
|
|
|
x Comment { data: Atom('[if IE 5]>This is IE 5<br><![endif]' type=dynamic) }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:5:1]
|
|
5 | <!--[if IE 5]>This is IE 5<br><![endif]-->
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Character { value: '\n' }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:5:1]
|
|
5 | <!--[if IE 5]>This is IE 5<br><![endif]-->
|
|
: ^
|
|
6 | <!--[if IE 6]>This is IE 6<br><![endif]-->
|
|
`----
|
|
|
|
x Comment { data: Atom('[if IE 6]>This is IE 6<br><![endif]' type=dynamic) }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:6:1]
|
|
6 | <!--[if IE 6]>This is IE 6<br><![endif]-->
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Character { value: '\n' }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:6:1]
|
|
6 | <!--[if IE 6]>This is IE 6<br><![endif]-->
|
|
: ^
|
|
7 | <!--[if IE 7]>This is IE 7<br><![endif]-->
|
|
`----
|
|
|
|
x Comment { data: Atom('[if IE 7]>This is IE 7<br><![endif]' type=dynamic) }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:7:1]
|
|
7 | <!--[if IE 7]>This is IE 7<br><![endif]-->
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Character { value: '\n' }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:7:1]
|
|
7 | <!--[if IE 7]>This is IE 7<br><![endif]-->
|
|
: ^
|
|
8 | <!--[if IE 8]>This is IE 8<br><![endif]-->
|
|
`----
|
|
|
|
x Comment { data: Atom('[if IE 8]>This is IE 8<br><![endif]' type=dynamic) }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:8:1]
|
|
8 | <!--[if IE 8]>This is IE 8<br><![endif]-->
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Character { value: '\n' }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:8:1]
|
|
8 | <!--[if IE 8]>This is IE 8<br><![endif]-->
|
|
: ^
|
|
9 | <!--[if IE 9]>This is IE 9<br><![endif]-->
|
|
`----
|
|
|
|
x Comment { data: Atom('[if IE 9]>This is IE 9<br><![endif]' type=dynamic) }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:9:1]
|
|
9 | <!--[if IE 9]>This is IE 9<br><![endif]-->
|
|
: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
`----
|
|
|
|
x Character { value: '\n' }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:9:1]
|
|
9 | <!--[if IE 9]>This is IE 9<br><![endif]-->
|
|
: ^
|
|
`----
|
|
|
|
x Character { value: '\n' }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:10:1]
|
|
10 |
|
|
: ^
|
|
11 | </body>
|
|
`----
|
|
|
|
x EndTag { tag_name: Atom('body' type=inline), self_closing: false, attributes: [] }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:11:1]
|
|
11 | </body>
|
|
: ^^^^^^^
|
|
`----
|
|
|
|
x Character { value: '\n' }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:11:1]
|
|
11 | </body>
|
|
: ^
|
|
12 | </html>
|
|
`----
|
|
|
|
x EndTag { tag_name: Atom('html' type=inline), self_closing: false, attributes: [] }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:12:1]
|
|
12 | </html>
|
|
: ^^^^^^^
|
|
`----
|
|
|
|
x Character { value: '\n' }
|
|
,-[$DIR/tests/fixture/ie-conditional-comments/input.html:12:1]
|
|
12 | </html>
|
|
: ^
|
|
`----
|