mirror of
https://github.com/kennethreitz-archive/kJS.tmbundle.git
synced 2026-10-24 15:29:12 +00:00
6 lines
10 KiB
JSON
6 lines
10 KiB
JSON
{"tool_tip_prefix":"<style type=\"text\/css\" media=\"screen\">\nbody {\n background: transparent;\n\/* opacity: 0.9;*\/\n}\nhtml,body,table{font-size:10px; font-family: \"Lucida Grande\", \"Trebuchet MS\", Verdana, sans-serif;}\ntable{-webkit-border-radius:1ex;background-color:#fff;border:2px solid #eee;width:auto;}\ntd.declaration{width:15em;}\ntd.comp{-webkit-border-radius:1ex;}\n\n\/*COMPATIBILITY TABLES*\/\ntable.compatibility{line-height:140%;border-spacing:0.5em;position:relative;}\ntable.compatibility caption{border-top:1px dotted #9198C1;padding:10px 0;text-align:left;}\ntable.compatibility caption select{margin-left:5px;margin-right:7px;border:1px dotted #9198C1;}\nwbr:after{content:\"\u000200B\"}\ntr{width:100%;}\ntable.compatibility ul,table.compatibility ol{border:none;margin-bottom:0;}\ntable.compatibility td{vertical-align:top;}\ncol.IE{width:3em;}\ncol.FF{width:4em;}\ncol.Saf{width:4em;}\ncol.Op{width:4em;}\ncol.Rest{width:8em;}\ntr.compheader{background-color:#F2F3EF;}\ntr.compheader th{font-weight:normal;font-size:90%;color:#666666;}\ntr.compheader th:first-child{text-align:right;padding:1em;}\ntr.compheader:last-child th{border:none;}\ntd.header{background-color:#F2F3EF;padding:0.3em;}\ntd.header h3,td.header h4{margin-top:0.5em;text-align:center;}\ntd.declaration{background-color:#F2F3EF;text-align:right;padding-right:10px;color:#666666;}\ntd.declaration a{text-decoration:none;}\ndiv.name{font-weight:bold;margin-bottom:1em;margin-top:1em;}\ntd.comp{font-family:verdana,sans-serif;font-size:95%;text-transform:lowercase;text-align:center;height:3em;vertical-align:middle !important;}\ntable.keepCaps td.comp{text-transform:none;}\ntd.yes{background-color:#00882D;color:#ffffff;text-shadow:0 1px 1px #003211;}\ntd.almost{background-color:#40A662;color:#ffffff;text-shadow:0 1px 1px #297D47;}\ntd.incomplete{color:#00882D;border:1px solid #00882D;}\ntd.alternative{color:#666666;border:1px solid #666666;}\ntd.untestable{color:#006699;}\ntd.minimal{color:#CB000F;}\ntd.incorrect{color:#CB000F;border:1px solid #CB000F;}\ntd.inappropriate{background-color:#EFB2B7;text-shadow:0 1px 1px #fff;}\ntd.toomany{background-color:#CCE7D5;text-shadow:0 1px 1px #fff;}\ntd.buggy{background-color:#DA4C57;color:#ffffff;text-shadow:0 1px 1px #81272C;}\ntd.severebug{background-color:#82000A;color:#ffffff;text-shadow:0 1px 1px #410005;}\ntd.no{background-color:#CB000F;color:#ffffff;text-shadow:0 1px 1px #410301;}\ntd.crash{background-color:#535353;font-weight:bold;text-transform:uppercase;color:#ffffff;text-shadow:0 1px 1px #333;}\nb.warning{display:block;color:#F2F3EF;padding:0.5em;margin-right:-10px;margin-top:0.5em;background-color:#999999;text-shadow:0 1px 1px #666;}\ntd pre{padding:0;}\ntd pre + p{margin-top:2px;}\ntd th,td td{padding:1px !important;vertical-align:top;color:#666666;}\ntd th{text-align:left !important;}\n\ncite {\n -webkit-transition: right 1s ease-out, opacity 1s ease-out;\n position: relative;\n opacity: 0;\n right: 50%;\n \n display: block;\n float: right;\n -webkit-border-radius: 1ex;\n margin: 1ex auto 0;\n text-align: center;\n background: #111;\n color: #eee;\n line-height: 2em;\n padding: 0 1em;\n text-shadow: 0 1px 1px #000;\n border: 1px solid #222;\n}\n<\/style>\n<script>\nwindow.addEventListener('load',function(){\n \n var c = document.getElementsByTagName('cite')[0];\n c.style.right = '0px';\n c.style.opacity = '1';\n \n},false);\n<\/script>\n","suggestions":[
|
|
{"tool_tip":"<table class=\"compatibility wide\" cellspacing=\"5\" style=\"clear: right\">\n<tr class=\"compheader\">\n\t\t<th>Selector<\/th>\n\t\t<th>IE 5.5<\/th>\n\t\t<th>IE 6<\/th>\n\t\t<th>IE 7<\/th>\n\t\t<th>IE8 as IE7<\/th>\n\t\t<th>IE8 as IE8<\/th>\n\t\t<th>FF 2<\/th>\n\t\t<th>FF 3.0<\/th>\n\t\t<th>FF 3.5<\/th>\n\t\t<th>Saf 3.0 Win<\/th>\n\t\t<th>Saf 4.0 Win<\/th>\n\t\t<th>Chrome 2<\/th>\n\t\t<th>Opera 9.62<\/th>\n\t\t<th>Opera 10b<\/th>\n\t\t<th>Konqueror 3.5.7<\/th>\n\t<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\">\n\t\t<div class=\"name\">childElementCount<\/div>\n\t\tThe number of element children\n\t\t<br \/><br \/><a href=\"tests\/traversal.html#childElementCount\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\" colspan=\"5\">No<\/td>\n\t<td class=\"comp no\" colspan=\"2\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\" colspan=\"2\">Yes<\/td>\n\t<td class=\"comp test\">To be tested<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"25\"><pre>x.childElementCount<\/pre>\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_traversal.html<\/cite>","insert":"$0","display":"Traversal childElementCount","tool_tip_format":"html","match":"childElementCount","image":"Traversal"},
|
|
{"tool_tip":"<table class=\"compatibility wide\" cellspacing=\"5\" style=\"clear: right\">\n<tr class=\"compheader\">\n\t\t<th>Selector<\/th>\n\t\t<th>IE 5.5<\/th>\n\t\t<th>IE 6<\/th>\n\t\t<th>IE 7<\/th>\n\t\t<th>IE8 as IE7<\/th>\n\t\t<th>IE8 as IE8<\/th>\n\t\t<th>FF 2<\/th>\n\t\t<th>FF 3.0<\/th>\n\t\t<th>FF 3.5<\/th>\n\t\t<th>Saf 3.0 Win<\/th>\n\t\t<th>Saf 4.0 Win<\/th>\n\t\t<th>Chrome 2<\/th>\n\t\t<th>Opera 9.62<\/th>\n\t\t<th>Opera 10b<\/th>\n\t\t<th>Konqueror 3.5.7<\/th>\n\t<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\">\n\t\t<div class=\"name\">firstElementChild<\/div>\n\t\tThe first child that is an element node\n\t\t<br \/><br \/><a href=\"tests\/traversal.html#firstElementChild\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\" colspan=\"5\">No<\/td>\n\t<td class=\"comp no\" colspan=\"2\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\" colspan=\"2\">Yes<\/td>\n\t<td class=\"comp test\">To be tested<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"25\"><pre>x.firstElementChild<\/pre>\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_traversal.html<\/cite>","insert":"$0","display":"Traversal firstElementChild","tool_tip_format":"html","match":"firstElementChild","image":"Traversal"},
|
|
{"tool_tip":"<table class=\"compatibility wide\" cellspacing=\"5\" style=\"clear: right\">\n<tr class=\"compheader\">\n\t\t<th>Selector<\/th>\n\t\t<th>IE 5.5<\/th>\n\t\t<th>IE 6<\/th>\n\t\t<th>IE 7<\/th>\n\t\t<th>IE8 as IE7<\/th>\n\t\t<th>IE8 as IE8<\/th>\n\t\t<th>FF 2<\/th>\n\t\t<th>FF 3.0<\/th>\n\t\t<th>FF 3.5<\/th>\n\t\t<th>Saf 3.0 Win<\/th>\n\t\t<th>Saf 4.0 Win<\/th>\n\t\t<th>Chrome 2<\/th>\n\t\t<th>Opera 9.62<\/th>\n\t\t<th>Opera 10b<\/th>\n\t\t<th>Konqueror 3.5.7<\/th>\n\t<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\">\n\t\t<div class=\"name\">lastElementChild<\/div>\n\t\tThe last child that is an element node\n\t\t<br \/><br \/><a href=\"tests\/traversal.html#lastElementChild\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\" colspan=\"5\">No<\/td>\n\t<td class=\"comp no\" colspan=\"2\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\" colspan=\"2\">Yes<\/td>\n\t<td class=\"comp test\">To be tested<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"25\"><pre>x.lastElementChild<\/pre>\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_traversal.html<\/cite>","insert":"$0","display":"Traversal lastElementChild","tool_tip_format":"html","match":"lastElementChild","image":"Traversal"},
|
|
{"tool_tip":"<table class=\"compatibility wide\" cellspacing=\"5\" style=\"clear: right\">\n<tr class=\"compheader\">\n\t\t<th>Selector<\/th>\n\t\t<th>IE 5.5<\/th>\n\t\t<th>IE 6<\/th>\n\t\t<th>IE 7<\/th>\n\t\t<th>IE8 as IE7<\/th>\n\t\t<th>IE8 as IE8<\/th>\n\t\t<th>FF 2<\/th>\n\t\t<th>FF 3.0<\/th>\n\t\t<th>FF 3.5<\/th>\n\t\t<th>Saf 3.0 Win<\/th>\n\t\t<th>Saf 4.0 Win<\/th>\n\t\t<th>Chrome 2<\/th>\n\t\t<th>Opera 9.62<\/th>\n\t\t<th>Opera 10b<\/th>\n\t\t<th>Konqueror 3.5.7<\/th>\n\t<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\">\n\t\t<div class=\"name\">nextElementSibling<\/div>\n\t\tThe next element node sibling\n\t\t<br \/><br \/><a href=\"tests\/traversal.html#nextElementSibling\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\" colspan=\"5\">No<\/td>\n\t<td class=\"comp no\" colspan=\"2\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\" colspan=\"2\">Yes<\/td>\n\t<td class=\"comp test\">To be tested<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"25\"><pre>x.nextElementSibling<\/pre>\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_traversal.html<\/cite>","insert":"$0","display":"Traversal nextElementSibling","tool_tip_format":"html","match":"nextElementSibling","image":"Traversal"},
|
|
{"tool_tip":"<table class=\"compatibility wide\" cellspacing=\"5\" style=\"clear: right\">\n<tr class=\"compheader\">\n\t\t<th>Selector<\/th>\n\t\t<th>IE 5.5<\/th>\n\t\t<th>IE 6<\/th>\n\t\t<th>IE 7<\/th>\n\t\t<th>IE8 as IE7<\/th>\n\t\t<th>IE8 as IE8<\/th>\n\t\t<th>FF 2<\/th>\n\t\t<th>FF 3.0<\/th>\n\t\t<th>FF 3.5<\/th>\n\t\t<th>Saf 3.0 Win<\/th>\n\t\t<th>Saf 4.0 Win<\/th>\n\t\t<th>Chrome 2<\/th>\n\t\t<th>Opera 9.62<\/th>\n\t\t<th>Opera 10b<\/th>\n\t\t<th>Konqueror 3.5.7<\/th>\n\t<\/tr>\n<tr>\n\t<td class=\"declaration\" rowspan=\"2\">\n\t\t<div class=\"name\">previousElementSibling<\/div>\n\t\tThe previous element node sibling\n\t\t<br \/><br \/><a href=\"tests\/traversal.html#previousElementSibling\">Test page<\/a>\n\t<\/td>\n\t<td class=\"comp no\" colspan=\"5\">No<\/td>\n\t<td class=\"comp no\" colspan=\"2\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp no\">No<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\">Yes<\/td>\n\t<td class=\"comp yes\" colspan=\"2\">Yes<\/td>\n\t<td class=\"comp test\">To be tested<\/td>\n<\/tr>\n<tr>\n\t<td colspan=\"25\"><pre>x.previousElementSibling<\/pre>\n\t<\/td>\n<\/tr>\n<\/table>\n\n<cite>Excerpt from http:\/\/www.<b>quirksmode.org<\/b>\/dom\/w3c_traversal.html<\/cite>","insert":"$0","display":"Traversal previousElementSibling","tool_tip_format":"html","match":"previousElementSibling","image":"Traversal"}],"tool_tip_format":"html"} |