Status: FAIL | Duration: 10ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-masking/clip-path/clip-path-rect-003.html
<!DOCTYPE html> <html> <head> <title>CSS Masking: Test clip-path property and rect function</title> <link rel="help" href="https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-rect"> <link rel="match" href="reference/clip-path-xywh-003-ref.html"> <meta name="fuzzy" content="maxDifference=0-50; totalPixels=0-250"> <meta name="assert" content="The clip-path property takes the basic shape 'rect()' for clipping. On pass you should see a green rect with round."> </head> <style> #rect { width: 400px; height: 200px; background-color: green; clip-path: rect(50px 200px 150px 50px round 20px / 20px); } </style> <body> <p>The test passes if there is a green box with round.</p> <div id="rect"></div> </body> </html>
/css/css-masking/clip-path/reference/clip-path-xywh-003-ref.html
<!DOCTYPE html> <title>CSS Reftest Reference for xywh()</title> <style> #box { margin-left: 50px; margin-top: 50px; position: absolute; width: 150px; height: 100px; background-color: green; border-radius: 20px / 20px; } </style> <body> <p>The test passes if there is a green box with round.</p> <div id="box"></div> </body>