<!DOCTYPE html> | |
<html> | |
<title>CSS Masking: Test clip-path property when the page is zoomed</title> | |
<style> | |
#rect { | |
width: 200px; | |
height: 200px; | |
background: green; | |
clip-path: path(nonzero, 'M0 0, L200 0, L0 200'); | |
} | |
</style> | |
<div id="rect"></div> | |
</html> |