blob: 048204cbf2cd135be44e8d7742d7cc7deec3b458 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
@font-face {
font-family: fontoverfowlayoutrect;
src: url("resources/font-overflow-layout-rect.svg") format("svg");
}
</style>
</head>
<body>
This test makes sure that shadows on text which draws far outside its layout box don't get clipped.
<div style="position: relative">
<span style="position: absolute; left: 109px; top: 109px; font: 100px fontoverfowlayoutrect; color: rgb(0, 255, 0)">a</span>
<span style="position: absolute; left: 100px; top: 100px; font: 100px fontoverfowlayoutrect;">a</span>
</div>
</body>
<html>