blob: d9eeb23078e4902f0576458b4aae0cec86430207 [file] [log] [blame]
<!DOCTYPE html>
<style>
#actual:before {
content: "x";
quotes: "-" "-";
}
#actual.change:before {
content: "x" open-quote "y";
}
</style>
<p>
The below two lines should look identical.
</p>
<div id="actual"></div>
<div id="expected">x-y</div>
<script>
var div = document.getElementById('actual');
div.offsetTop;
div.className = 'change';
</script>