Blame view

node_modules/domhandler/test/cases/10-singular_attribute.json 246 Bytes
f7563de62   Palak Handa   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  {
    "name": "Singular attribute",
    "options": {},
    "html": "<option value='foo' selected>",
    "expected": [
      {
        "type": "tag",
        "name": "option",
        "attribs": {
          "value": "foo",
          "selected": ""
        }
      }
    ]
  }