blob: e9b559064bd2b9a8083b1c71acd7e2b07dcc02d8 [file] [log] [blame]
<html>
<import src="../resources/chai.sky" />
<import src="../resources/mocha.sky" />
<style>
#sandbox { color: red; }
.blue { color: blue; }
</style>
<body>
<div id="sandbox" class="blue">This should be blue.</div>
<script>
describe('Specificity', function() {
it('should not exist', function() {
var sandbox = document.getElementById("sandbox");
assert.equal(getComputedStyle(sandbox).color, "rgb(0, 0, 255)");
});
});
</script>
</body>
</html>