blob: aef8f692f8e74989994555adc2a0ba1e5a582dd7 [file] [log] [blame]
<!DOCTYPE html>
<style>
html, body { margin: 0; padding: 0; }
td::first-letter { color: green; }
td { quotes: "a" "v" "b" "u" ; }
.class1:before, .class2:before {
content: open-quote;
text-transform: uppercase;
}
</style>
<script>
function runTest() {
element1 = document.createElement('div');
element1.setAttribute('class', 'class2');
document.documentElement.appendChild(element1);
element2 = document.createElement('td');
element2.setAttribute('class', 'class1');
document.documentElement.appendChild(element2);
document.documentElement.offsetTop;
}
window.onload = runTest;
</script>
<p>Test passes if no CRASH and you see a quote on one line and a green B on the second line.</p>