19 lines
565 B
HTML
19 lines
565 B
HTML
<!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>
|