{
    "name": "Attributes",
    "options": {},
    "file": "Attributes.html",
    "expected": [
        {
            "event": "processinginstruction",
            "data": ["!doctype", "!doctype html"]
        },
        {
            "event": "text",
            "data": ["\n"]
        },
        {
            "event": "opentagname",
            "data": ["html"]
        },
        {
            "event": "opentag",
            "data": ["html", {}]
        },
        {
            "event": "text",
            "data": ["\n"]
        },
        {
            "event": "opentagname",
            "data": ["head"]
        },
        {
            "event": "opentag",
            "data": ["head", {}]
        },
        {
            "event": "text",
            "data": ["\n\t"]
        },
        {
            "event": "opentagname",
            "data": ["title"]
        },
        {
            "event": "opentag",
            "data": ["title", {}]
        },
        {
            "event": "text",
            "data": ["Attributes test"]
        },
        {
            "event": "closetag",
            "data": ["title"]
        },
        {
            "event": "text",
            "data": ["\n"]
        },
        {
            "event": "closetag",
            "data": ["head"]
        },
        {
            "event": "text",
            "data": ["\n"]
        },
        {
            "event": "opentagname",
            "data": ["body"]
        },
        {
            "event": "opentag",
            "data": ["body", {}]
        },
        {
            "event": "text",
            "data": ["\n\t"]
        },
        {
            "event": "comment",
            "data": [" Normal attributes "]
        },
        {
            "event": "commentend",
            "data": []
        },
        {
            "event": "text",
            "data": ["\n\t"]
        },
        {
            "event": "opentagname",
            "data": ["button"]
        },
        {
            "event": "attribute",
            "data": ["id", "test0"]
        },
        {
            "event": "attribute",
            "data": ["class", "value0"]
        },
        {
            "event": "attribute",
            "data": ["title", "value1"]
        },
        {
            "event": "opentag",
            "data": [
                "button",
                {
                    "id": "test0",
                    "class": "value0",
                    "title": "value1"
                }
            ]
        },
        {
            "event": "text",
            "data": ["class=\"value0\" title=\"value1\""]
        },
        {
            "event": "closetag",
            "data": ["button"]
        },
        {
            "event": "text",
            "data": ["\n\n\t"]
        },
        {
            "event": "comment",
            "data": [" Attributes with no quotes or value "]
        },
        {
            "event": "commentend",
            "data": []
        },
        {
            "event": "text",
            "data": ["\n\t"]
        },
        {
            "event": "opentagname",
            "data": ["button"]
        },
        {
            "event": "attribute",
            "data": ["id", "test1"]
        },
        {
            "event": "attribute",
            "data": ["class", "value2"]
        },
        {
            "event": "attribute",
            "data": ["disabled", ""]
        },
        {
            "event": "opentag",
            "data": [
                "button",
                {
                    "id": "test1",
                    "class": "value2",
                    "disabled": ""
                }
            ]
        },
        {
            "event": "text",
            "data": ["class=value2 disabled"]
        },
        {
            "event": "closetag",
            "data": ["button"]
        },
        {
            "event": "text",
            "data": ["\n\n\t"]
        },
        {
            "event": "comment",
            "data": [
                " Attributes with no space between them. No valid, but accepted by the browser "
            ]
        },
        {
            "event": "commentend",
            "data": []
        },
        {
            "event": "text",
            "data": ["\n\t"]
        },
        {
            "event": "opentagname",
            "data": ["button"]
        },
        {
            "event": "attribute",
            "data": ["id", "test2"]
        },
        {
            "event": "attribute",
            "data": ["class", "value4"]
        },
        {
            "event": "attribute",
            "data": ["title", "value5"]
        },
        {
            "event": "opentag",
            "data": [
                "button",
                {
                    "id": "test2",
                    "class": "value4",
                    "title": "value5"
                }
            ]
        },
        {
            "event": "text",
            "data": ["class=\"value4\"title=\"value5\""]
        },
        {
            "event": "closetag",
            "data": ["button"]
        },
        {
            "event": "text",
            "data": ["\n"]
        },
        {
            "event": "closetag",
            "data": ["body"]
        },
        {
            "event": "text",
            "data": ["\n"]
        },
        {
            "event": "closetag",
            "data": ["html"]
        }
    ]
}
