<!DOCTYPE html> | |
<html> | |
<head> | |
<title>This tests that we don't paint the sibling element's content over the floating element when the float's text decoration changes.</title> | |
<style> | |
#first { | |
text-decoration: underline; | |
} | |
.container { | |
width: 100px; | |
text-overflow: ellipsis; | |
overflow: hidden; | |
white-space: nowrap; | |
font-size: 10px; | |
} | |
.inner { | |
float: left; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="container"><div class="inner"><span id=first>first</span></div><span>PASS if changing the text decoration style on 'first' does not introduce any text overlapping.</span></div> | |
</body> | |
</html> |