Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

support for older browsers that don't show ✓ or ✗

  • Loading branch information...
commit c82aa7bfd41346a10fe23fda28c17450dffc1983 1 parent e378549
@rvagg rvagg authored
Showing with 13 additions and 5 deletions.
  1. +10 −4 src/sink.css
  2. +3 −1 src/sink.js
View
14 src/sink.css
@@ -31,11 +31,12 @@ li {
padding: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
+ border-radius: 5px;
overflow: hidden;
+ cursor: pointer;
}
ol > li {
opacity: 0;
- cursor: pointer;
background-color: lightblue;
color: #000;
}
@@ -67,6 +68,10 @@ li ul {
margin: 0;
padding: 0;
list-style: none;
+ position: relative; /*early IE overflow bug*/
+}
+li ul.show {
+ position: static; /*early IE overflow bug*/
}
li.pass ul.show {
background-color: #8fffa3;
@@ -79,13 +84,14 @@ li ul.show {
padding: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
+ border-radius: 5px;
margin: 5px;
}
li ul li {
- padding: 0;
+ padding: 3px 6px;
margin: 2px 0;
list-style: none;
- position: relative;
+ font-size: 15px;
}
li b {
display: block;
@@ -96,4 +102,4 @@ li em.marker {
position: absolute;
right: 5px;
top: 0;
-}
+}
View
4 src/sink.js
@@ -139,6 +139,7 @@
else console.log(logKey + msg + (message + '').red)
} else {
var li = document.createElement('li')
+ li.className = b ? 'pass' : 'fail'
li.innerHTML = msg + ' ' + message + ' ' + '<em class="marker">' + (b ? '' : '') + '</em>'
item.appendChild(li)
}
@@ -153,6 +154,7 @@
else console.log(logKey + (message + '').red)
} else {
var li = document.createElement('li')
+ li.className = b ? 'pass' : 'fail'
li.innerHTML = message + ' ' + (b ? '' : '')
item.appendChild(li)
}
@@ -222,4 +224,4 @@
context.sink.timeout = 10000
}
-}(this)
+}(this)
Please sign in to comment.
Something went wrong with that request. Please try again.