<!DOCTYPE html> | |
<script src="../../resources/ahem.js"></script> | |
<style> | |
div { | |
font-family: Ahem; | |
color: green; | |
-webkit-text-stroke: 1px blue; | |
height: 1.5em; | |
width: 10.5em; | |
overflow: hidden; | |
white-space: nowrap; | |
text-overflow: ellipsis; | |
} | |
</style> | |
<div>This text should be ellipsized and the ellipsis should visible when printed.</div> |