react / wstein / node_modules / jest-cli / node_modules / jsdom / node_modules / htmlparser2 / test / Stream / 05-Attributes.json
81146 views{1"name": "Attributes",2"options": {},3"file": "Attributes.html",4"expected": [5{6"event": "processinginstruction",7"data": [8"!doctype",9"!doctype html"10]11},12{13"event": "text",14"data": [15"\n"16]17},18{19"event": "opentagname",20"data": [21"html"22]23},24{25"event": "opentag",26"data": [27"html",28{}29]30},31{32"event": "text",33"data": [34"\n"35]36},37{38"event": "opentagname",39"data": [40"head"41]42},43{44"event": "opentag",45"data": [46"head",47{}48]49},50{51"event": "text",52"data": [53"\n\t"54]55},56{57"event": "opentagname",58"data": [59"title"60]61},62{63"event": "opentag",64"data": [65"title",66{}67]68},69{70"event": "text",71"data": [72"Attributes test"73]74},75{76"event": "closetag",77"data": [78"title"79]80},81{82"event": "text",83"data": [84"\n"85]86},87{88"event": "closetag",89"data": [90"head"91]92},93{94"event": "text",95"data": [96"\n"97]98},99{100"event": "opentagname",101"data": [102"body"103]104},105{106"event": "opentag",107"data": [108"body",109{}110]111},112{113"event": "text",114"data": [115"\n\t"116]117},118{119"event": "comment",120"data": [121" Normal attributes "122]123},124{125"event": "commentend",126"data": []127},128{129"event": "text",130"data": [131"\n\t"132]133},134{135"event": "opentagname",136"data": [137"button"138]139},140{141"event": "attribute",142"data": [143"id",144"test0"145]146},147{148"event": "attribute",149"data": [150"class",151"value0"152]153},154{155"event": "attribute",156"data": [157"title",158"value1"159]160},161{162"event": "opentag",163"data": [164"button",165{166"id": "test0",167"class": "value0",168"title": "value1"169}170]171},172{173"event": "text",174"data": [175"class=\"value0\" title=\"value1\""176]177},178{179"event": "closetag",180"data": [181"button"182]183},184{185"event": "text",186"data": [187"\n\n\t"188]189},190{191"event": "comment",192"data": [193" Attributes with no quotes or value "194]195},196{197"event": "commentend",198"data": []199},200{201"event": "text",202"data": [203"\n\t"204]205},206{207"event": "opentagname",208"data": [209"button"210]211},212{213"event": "attribute",214"data": [215"id",216"test1"217]218},219{220"event": "attribute",221"data": [222"class",223"value2"224]225},226{227"event": "attribute",228"data": [229"disabled",230""231]232},233{234"event": "opentag",235"data": [236"button",237{238"id": "test1",239"class": "value2",240"disabled": ""241}242]243},244{245"event": "text",246"data": [247"class=value2 disabled"248]249},250{251"event": "closetag",252"data": [253"button"254]255},256{257"event": "text",258"data": [259"\n\n\t"260]261},262{263"event": "comment",264"data": [265" Attributes with no space between them. No valid, but accepted by the browser "266]267},268{269"event": "commentend",270"data": []271},272{273"event": "text",274"data": [275"\n\t"276]277},278{279"event": "opentagname",280"data": [281"button"282]283},284{285"event": "attribute",286"data": [287"id",288"test2"289]290},291{292"event": "attribute",293"data": [294"class",295"value4"296]297},298{299"event": "attribute",300"data": [301"title",302"value5"303]304},305{306"event": "opentag",307"data": [308"button",309{310"id": "test2",311"class": "value4",312"title": "value5"313}314]315},316{317"event": "text",318"data": [319"class=\"value4\"title=\"value5\""320]321},322{323"event": "closetag",324"data": [325"button"326]327},328{329"event": "text",330"data": [331"\n"332]333},334{335"event": "closetag",336"data": [337"body"338]339},340{341"event": "text",342"data": [343"\n"344]345},346{347"event": "closetag",348"data": [349"html"350]351}352]353}354355