<!DOCTYPE html> | |
<html> | |
<!-- Test for http://crbug.com/264492 --> | |
<head> | |
<style> | |
div { font-family: monospace; } | |
#clipped:first-letter { | |
-webkit-clip-path: url(#c2); | |
} | |
</style> | |
</head> | |
<body> | |
<svg width="100" height="100"> | |
<clipPath id="c2" clipPathUnits="objectBoundingBox"> | |
<rect width="100%" height="100%"/> | |
</clipPath> | |
</svg> | |
<div id="clipped">PASS: did not crash.</div> | |
</body> | |
</html> | |