diff options
Diffstat (limited to 'tests/span-tests')
| -rw-r--r-- | tests/span-tests/demo.html | 2 | ||||
| -rw-r--r-- | tests/span-tests/demo.out | 18 | 
2 files changed, 15 insertions, 5 deletions
| diff --git a/tests/span-tests/demo.html b/tests/span-tests/demo.html index 53bbab2..c635846 100644 --- a/tests/span-tests/demo.html +++ b/tests/span-tests/demo.html @@ -1,3 +1,5 @@  this is a tag: <h1>test</h1>  tags can have attributes: <div id = foobar> + +Attribute values can be quoted: <input name = 'age' type = "number"> diff --git a/tests/span-tests/demo.out b/tests/span-tests/demo.out index 2b69ce5..156247e 100644 --- a/tests/span-tests/demo.out +++ b/tests/span-tests/demo.out @@ -2,10 +2,18 @@ note:    ┌─ test.html:1:1    │  1 │ this is a tag: <h1>test</h1> -  │ ^^^^^^          ^^       ^^ end tag -  │ │               │ -  │ │               start tag -  │ attr value +  │                 ^^       ^^ end tag +  │                 │ +  │                 start tag  2 │  3 │ tags can have attributes: <div id = foobar> -  │                                ^^ attr name +  │                                ^^   ^^^^^^ attr value +  │                                │ +  │                                attr name +4 │ +5 │ Attribute values can be quoted: <input name = 'age' type = "number"> +  │                                        ^^^^   ^^^   ^^^^   ^^^^^^ attr value +  │                                        │      │     │ +  │                                        │      │     attr name +  │                                        │      attr value +  │                                        attr name | 
