Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<style>
div { color: red; }
div::first-line { color: green }
</style>
<div id="x"></div>
<script>
x.offsetWidth;
x.appendChild(document.createTextNode('This should be green'));
</script>