Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<style>
div::before {
content: "PASS";
display: none;
}
.foo::before {
display: none;
}
</style>
<div></div>
<script>
window.onload = function() {
document.querySelector('div').className = "foo";
}
</script>