<!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: 100px; top: 100px; font: 100px fontoverfowlayoutrect; text-shadow: rgb(128, 128, 128) -500px 0px 0px, rgb(0, 255, 0) 9px 9px 0px;">a</span>
</div>
</body>
<html>
