{ "type": "Document", "span": { "start": 1, "end": 1542, "ctxt": 0 }, "mode": "no-quirks", "children": [ { "type": "DocumentType", "span": { "start": 1, "end": 16, "ctxt": 0 }, "name": "html", "publicId": null, "systemId": null }, { "type": "Element", "span": { "start": 17, "end": 1542, "ctxt": 0 }, "tagName": "html", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [ { "type": "Attribute", "span": { "start": 23, "end": 32, "ctxt": 0 }, "namespace": null, "prefix": null, "name": "lang", "rawName": "lang", "value": "en", "rawValue": "\"en\"" } ], "children": [ { "type": "Element", "span": { "start": 34, "end": 76, "ctxt": 0 }, "tagName": "head", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [ { "type": "Text", "span": { "start": 40, "end": 45, "ctxt": 0 }, "data": "\n ", "raw": "\n " }, { "type": "Element", "span": { "start": 45, "end": 68, "ctxt": 0 }, "tagName": "title", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [ { "type": "Text", "span": { "start": 52, "end": 60, "ctxt": 0 }, "data": "Document", "raw": "Document" } ], "content": null, "isSelfClosing": false }, { "type": "Text", "span": { "start": 68, "end": 69, "ctxt": 0 }, "data": "\n", "raw": "\n" } ], "content": null, "isSelfClosing": false }, { "type": "Text", "span": { "start": 76, "end": 77, "ctxt": 0 }, "data": "\n", "raw": "\n" }, { "type": "Element", "span": { "start": 77, "end": 1542, "ctxt": 0 }, "tagName": "body", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [ { "type": "Text", "span": { "start": 83, "end": 88, "ctxt": 0 }, "data": "\n ", "raw": "\n " }, { "type": "Element", "span": { "start": 88, "end": 1137, "ctxt": 0 }, "tagName": "template", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [ { "type": "Attribute", "span": { "start": 98, "end": 127, "ctxt": 0 }, "namespace": null, "prefix": null, "name": "id", "rawName": "id", "value": "element-details-template", "rawValue": "\"element-details-template\"" } ], "children": [], "content": { "type": "DocumentFragment", "span": { "start": 88, "end": 1137, "ctxt": 0 }, "children": [ { "type": "Text", "span": { "start": 128, "end": 137, "ctxt": 0 }, "data": "\n ", "raw": "\n " }, { "type": "Element", "span": { "start": 137, "end": 697, "ctxt": 0 }, "tagName": "style", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [ { "type": "Text", "span": { "start": 144, "end": 689, "ctxt": 0 }, "data": "\n details {font-family: \"Open Sans Light\", Helvetica, Arial, sans-serif }\n .name {font-weight: bold; color: #217ac0; font-size: 120% }\n h4 {\n margin: 10px 0 -8px 0;\n background: #217ac0;\n color: white;\n padding: 2px 6px;\n border: 1px solid #cee9f9;\n border-radius: 4px;\n }\n .attributes { margin-left: 22px; font-size: 90% }\n .attributes p { margin-left: 16px; font-style: italic }\n ", "raw": "\n details {font-family: \"Open Sans Light\", Helvetica, Arial, sans-serif }\n .name {font-weight: bold; color: #217ac0; font-size: 120% }\n h4 {\n margin: 10px 0 -8px 0;\n background: #217ac0;\n color: white;\n padding: 2px 6px;\n border: 1px solid #cee9f9;\n border-radius: 4px;\n }\n .attributes { margin-left: 22px; font-size: 90% }\n .attributes p { margin-left: 16px; font-style: italic }\n " } ], "content": null, "isSelfClosing": false }, { "type": "Text", "span": { "start": 697, "end": 706, "ctxt": 0 }, "data": "\n ", "raw": "\n " }, { "type": "Element", "span": { "start": 706, "end": 1108, "ctxt": 0 }, "tagName": "details", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [ { "type": "Text", "span": { "start": 715, "end": 728, "ctxt": 0 }, "data": "\n ", "raw": "\n " }, { "type": "Element", "span": { "start": 728, "end": 938, "ctxt": 0 }, "tagName": "summary", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [ { "type": "Text", "span": { "start": 737, "end": 754, "ctxt": 0 }, "data": "\n ", "raw": "\n " }, { "type": "Element", "span": { "start": 754, "end": 830, "ctxt": 0 }, "tagName": "code", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [ { "type": "Attribute", "span": { "start": 760, "end": 772, "ctxt": 0 }, "namespace": null, "prefix": null, "name": "class", "rawName": "class", "value": "name", "rawValue": "\"name\"" } ], "children": [ { "type": "Text", "span": { "start": 773, "end": 777, "ctxt": 0 }, "data": "<", "raw": "<" }, { "type": "Element", "span": { "start": 777, "end": 819, "ctxt": 0 }, "tagName": "slot", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [ { "type": "Attribute", "span": { "start": 783, "end": 802, "ctxt": 0 }, "namespace": null, "prefix": null, "name": "name", "rawName": "name", "value": "element-name", "rawValue": "\"element-name\"" } ], "children": [ { "type": "Text", "span": { "start": 803, "end": 812, "ctxt": 0 }, "data": "NEED NAME", "raw": "NEED NAME" } ], "content": null, "isSelfClosing": false }, { "type": "Text", "span": { "start": 819, "end": 823, "ctxt": 0 }, "data": ">", "raw": ">" } ], "content": null, "isSelfClosing": false }, { "type": "Text", "span": { "start": 830, "end": 847, "ctxt": 0 }, "data": "\n ", "raw": "\n " }, { "type": "Element", "span": { "start": 847, "end": 915, "ctxt": 0 }, "tagName": "i", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [ { "type": "Attribute", "span": { "start": 850, "end": 862, "ctxt": 0 }, "namespace": null, "prefix": null, "name": "class", "rawName": "class", "value": "desc", "rawValue": "\"desc\"" } ], "children": [ { "type": "Element", "span": { "start": 863, "end": 911, "ctxt": 0 }, "tagName": "slot", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [ { "type": "Attribute", "span": { "start": 869, "end": 887, "ctxt": 0 }, "namespace": null, "prefix": null, "name": "name", "rawName": "name", "value": "description", "rawValue": "\"description\"" } ], "children": [ { "type": "Text", "span": { "start": 888, "end": 904, "ctxt": 0 }, "data": "NEED DESCRIPTION", "raw": "NEED DESCRIPTION" } ], "content": null, "isSelfClosing": false } ], "content": null, "isSelfClosing": false }, { "type": "Text", "span": { "start": 915, "end": 928, "ctxt": 0 }, "data": "\n ", "raw": "\n " } ], "content": null, "isSelfClosing": false }, { "type": "Text", "span": { "start": 938, "end": 951, "ctxt": 0 }, "data": "\n ", "raw": "\n " }, { "type": "Element", "span": { "start": 951, "end": 1089, "ctxt": 0 }, "tagName": "div", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [ { "type": "Attribute", "span": { "start": 956, "end": 974, "ctxt": 0 }, "namespace": null, "prefix": null, "name": "class", "rawName": "class", "value": "attributes", "rawValue": "\"attributes\"" } ], "children": [ { "type": "Text", "span": { "start": 975, "end": 992, "ctxt": 0 }, "data": "\n ", "raw": "\n " }, { "type": "Element", "span": { "start": 992, "end": 1011, "ctxt": 0 }, "tagName": "h4", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [ { "type": "Text", "span": { "start": 996, "end": 1006, "ctxt": 0 }, "data": "Attributes", "raw": "Attributes" } ], "content": null, "isSelfClosing": false }, { "type": "Text", "span": { "start": 1011, "end": 1028, "ctxt": 0 }, "data": "\n ", "raw": "\n " }, { "type": "Element", "span": { "start": 1028, "end": 1070, "ctxt": 0 }, "tagName": "slot", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [ { "type": "Attribute", "span": { "start": 1034, "end": 1051, "ctxt": 0 }, "namespace": null, "prefix": null, "name": "name", "rawName": "name", "value": "attributes", "rawValue": "\"attributes\"" } ], "children": [ { "type": "Element", "span": { "start": 1052, "end": 1063, "ctxt": 0 }, "tagName": "p", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [ { "type": "Text", "span": { "start": 1055, "end": 1059, "ctxt": 0 }, "data": "None", "raw": "None" } ], "content": null, "isSelfClosing": false } ], "content": null, "isSelfClosing": false }, { "type": "Text", "span": { "start": 1070, "end": 1083, "ctxt": 0 }, "data": "\n ", "raw": "\n " } ], "content": null, "isSelfClosing": false }, { "type": "Text", "span": { "start": 1089, "end": 1098, "ctxt": 0 }, "data": "\n ", "raw": "\n " } ], "content": null, "isSelfClosing": false }, { "type": "Text", "span": { "start": 1108, "end": 1117, "ctxt": 0 }, "data": "\n ", "raw": "\n " }, { "type": "Element", "span": { "start": 1117, "end": 1121, "ctxt": 0 }, "tagName": "hr", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [], "content": null, "isSelfClosing": false }, { "type": "Text", "span": { "start": 1121, "end": 1126, "ctxt": 0 }, "data": "\n ", "raw": "\n " } ] }, "isSelfClosing": false }, { "type": "Text", "span": { "start": 1137, "end": 1143, "ctxt": 0 }, "data": "\n\n ", "raw": "\n\n " }, { "type": "Element", "span": { "start": 1143, "end": 1483, "ctxt": 0 }, "tagName": "template", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [ { "type": "Attribute", "span": { "start": 1153, "end": 1163, "ctxt": 0 }, "namespace": null, "prefix": null, "name": "id", "rawName": "id", "value": "tmpl1", "rawValue": "\"tmpl1\"" } ], "children": [], "content": { "type": "DocumentFragment", "span": { "start": 1143, "end": 1483, "ctxt": 0 }, "children": [ { "type": "Text", "span": { "start": 1164, "end": 1173, "ctxt": 0 }, "data": "\n ", "raw": "\n " }, { "type": "Element", "span": { "start": 1173, "end": 1221, "ctxt": 0 }, "tagName": "div", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [ { "type": "Attribute", "span": { "start": 1178, "end": 1187, "ctxt": 0 }, "namespace": null, "prefix": null, "name": "id", "rawName": "id", "value": "div1", "rawValue": "\"div1\"" } ], "children": [ { "type": "Text", "span": { "start": 1188, "end": 1215, "ctxt": 0 }, "data": "This is div inside template", "raw": "This is div inside template" } ], "content": null, "isSelfClosing": false }, { "type": "Text", "span": { "start": 1221, "end": 1230, "ctxt": 0 }, "data": "\n ", "raw": "\n " }, { "type": "Element", "span": { "start": 1230, "end": 1286, "ctxt": 0 }, "tagName": "div", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [ { "type": "Attribute", "span": { "start": 1235, "end": 1244, "ctxt": 0 }, "namespace": null, "prefix": null, "name": "id", "rawName": "id", "value": "div2", "rawValue": "\"div2\"" } ], "children": [ { "type": "Text", "span": { "start": 1245, "end": 1280, "ctxt": 0 }, "data": "This is another div inside template", "raw": "This is another div inside template" } ], "content": null, "isSelfClosing": false }, { "type": "Text", "span": { "start": 1286, "end": 1295, "ctxt": 0 }, "data": "\n ", "raw": "\n " }, { "type": "Element", "span": { "start": 1295, "end": 1467, "ctxt": 0 }, "tagName": "template", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [ { "type": "Attribute", "span": { "start": 1305, "end": 1315, "ctxt": 0 }, "namespace": null, "prefix": null, "name": "id", "rawName": "id", "value": "tmpl2", "rawValue": "\"tmpl2\"" } ], "children": [], "content": { "type": "DocumentFragment", "span": { "start": 1295, "end": 1467, "ctxt": 0 }, "children": [ { "type": "Element", "span": { "start": 1316, "end": 1371, "ctxt": 0 }, "tagName": "div", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [ { "type": "Attribute", "span": { "start": 1321, "end": 1330, "ctxt": 0 }, "namespace": null, "prefix": null, "name": "id", "rawName": "id", "value": "div3", "rawValue": "\"div3\"" } ], "children": [ { "type": "Text", "span": { "start": 1331, "end": 1365, "ctxt": 0 }, "data": "This is div inside nested template", "raw": "This is div inside nested template" } ], "content": null, "isSelfClosing": false }, { "type": "Text", "span": { "start": 1371, "end": 1384, "ctxt": 0 }, "data": "\n ", "raw": "\n " }, { "type": "Element", "span": { "start": 1384, "end": 1447, "ctxt": 0 }, "tagName": "div", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [ { "type": "Attribute", "span": { "start": 1389, "end": 1398, "ctxt": 0 }, "namespace": null, "prefix": null, "name": "id", "rawName": "id", "value": "div4", "rawValue": "\"div4\"" } ], "children": [ { "type": "Text", "span": { "start": 1399, "end": 1441, "ctxt": 0 }, "data": "This is another div inside nested template", "raw": "This is another div inside nested template" } ], "content": null, "isSelfClosing": false }, { "type": "Text", "span": { "start": 1447, "end": 1456, "ctxt": 0 }, "data": "\n ", "raw": "\n " } ] }, "isSelfClosing": false }, { "type": "Text", "span": { "start": 1467, "end": 1472, "ctxt": 0 }, "data": "\n ", "raw": "\n " } ] }, "isSelfClosing": false }, { "type": "Text", "span": { "start": 1483, "end": 1489, "ctxt": 0 }, "data": "\n\n ", "raw": "\n\n " }, { "type": "Element", "span": { "start": 1489, "end": 1525, "ctxt": 0 }, "tagName": "template", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [], "content": { "type": "DocumentFragment", "span": { "start": 1489, "end": 1525, "ctxt": 0 }, "children": [ { "type": "Element", "span": { "start": 1499, "end": 1514, "ctxt": 0 }, "tagName": "div", "namespace": "http://www.w3.org/1999/xhtml", "attributes": [], "children": [ { "type": "Text", "span": { "start": 1504, "end": 1508, "ctxt": 0 }, "data": "test", "raw": "test" } ], "content": null, "isSelfClosing": false } ] }, "isSelfClosing": false }, { "type": "Text", "span": { "start": 1525, "end": 1542, "ctxt": 0 }, "data": "\n\n\n", "raw": "\n\n\n" } ], "content": null, "isSelfClosing": false } ], "content": null, "isSelfClosing": false } ] }