blob: 55db571bf1dfadb2f50475b76ea998f0cfc18088 [file] [log] [blame]
<!DOCTYPE html>
<script src="../../resources/ahem.js"></script>
<style>
div {
width: 100px;
height: 100px;
overflow: hidden;
line-height: 50px;
font-size: 50px;
font-family: Ahem;
}
span {
background-color: green;
color: green;
-webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
</style>
<div>
<span>XX XX</span>
</div>