gecko-dev/layout/reftests/bugs/1366144.html

12 строки
214 B
HTML

<!DOCTYPE html>
<style>
div::after { color: green }
div.foo::after { content: "Bar" }
</style>
<div></div>
<script>
onload = function() {
document.querySelector('div').classList.add('foo');
}
</script>