<!doctype html> | |
<style> | |
div { | |
font-size: 50px; | |
text-decoration: underline; | |
} | |
</style> | |
<script> | |
onload = function() { | |
target.style.textDecorationLine = "overline"; | |
}; | |
</script> | |
<p>Test that changes in text-decoration-line are recalculated correctly. PASS | |
if the text below has a solid green overline, and no underline.</p> | |
<div id="target"> | |
Filler text | |
</div> |