Sha256: a964c0688314bf48df63fd07e0e9d2e993c1302870402169cfe763dd6bb7528e

Contents?: true

Size: 1.17 KB

Versions: 46

Compression:

Stored size: 1.17 KB

Contents

{
  "name": "Basic test",
  "options": {},
  "html": "<!DOCTYPE html><html><title>The Title</title><body>Hello world</body></html>",
  "expected": [
    {
      "name": "!doctype",
      "data": "!DOCTYPE html",
      "type": "directive"
    },
    {
      "type": "tag",
      "name": "html",
      "attribs": {},
      "parent": null,
      "children": [
        {
          "type": "tag",
          "name": "title",
          "attribs": {},
          "parent": {
            "type": "tag",
            "name": "html",
            "attribs": {}
          },
          "children": [
            {
              "data": "The Title",
              "type": "text",
              "parent": {
                "type": "tag",
                "name": "title",
                "attribs": {}
              }
            }
          ]
        },
        {
          "type": "tag",
          "name": "body",
          "attribs": {},
          "children": [
            {
              "data": "Hello world",
              "type": "text"
            }
          ],
          "prev": {
              "type": "tag",
              "name": "title",
              "attribs": {}
          }
        }
      ]
    }
  ]
}

Version data entries

46 entries across 43 versions & 6 rubygems

Version Path
trusty-cms-6.3.1 node_modules/domhandler/test/cases/01-basic.json
trusty-cms-5.0.7 node_modules/domhandler/test/cases/01-basic.json
trusty-cms-5.0.6 node_modules/domhandler/test/cases/01-basic.json
trusty-cms-5.0.5 node_modules/domhandler/test/cases/01-basic.json
trusty-cms-5.0.4 node_modules/domhandler/test/cases/01-basic.json
trusty-cms-5.0.3 node_modules/domhandler/test/cases/01-basic.json
trusty-cms-5.0.2 node_modules/domhandler/test/cases/01-basic.json
trusty-cms-5.0.1 node_modules/domhandler/test/cases/01-basic.json
trusty-cms-4.3.5 node_modules/domhandler/test/cases/01-basic.json
trusty-cms-5.0.0 node_modules/domhandler/test/cases/01-basic.json
trusty-cms-4.3.4 node_modules/domhandler/test/cases/01-basic.json
trusty-cms-4.3.3 node_modules/domhandler/test/cases/01-basic.json
trusty-cms-4.3.2 node_modules/domhandler/test/cases/01-basic.json
trusty-cms-4.3.1 node_modules/domhandler/test/cases/01-basic.json
trusty-cms-4.3 node_modules/domhandler/test/cases/01-basic.json
trusty-cms-4.2.3 node_modules/domhandler/test/cases/01-basic.json
trusty-cms-4.2.2 node_modules/domhandler/test/cases/01-basic.json
trusty-cms-4.2.1 node_modules/domhandler/test/cases/01-basic.json
trusty-cms-4.2 node_modules/domhandler/test/cases/01-basic.json
trusty-cms-4.1.9 node_modules/domhandler/test/cases/01-basic.json