<!DOCTYPE html>
<html>
<body>
	<p>Test that percentage values are relative to the right dimension of the bounding box</p>
    <div style="margin:0; width: 150px; height: 100px; border: solid red 50px; background-color: green; -webkit-clip-path: polygon(20% 50px, 80% 25%, 80% 75%, 20% 75%)"></div>
</body>
</html>