Status: FAIL | Duration: 12ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-borders/border-shape-absolute-coords-shape.tentative.html
<!DOCTYPE html> <title>CSS Borders Test: border-shape with absolute positioning</title> <link rel="help" href="https://www.w3.org/TR/css-borders-4/#propdef-border-shape"> <link rel="help" href="https://drafts.csswg.org/css-shapes-1/#shape-function"> <link rel="match" href="border-shape-absolute-coords-shape-ref.tentative.html"> <style> .bs-target { position: absolute; top: 200px; left: 0px; width: 190px; height: 190px; border-shape: shape(from 0% 0%, line to 100% 0%, line to 50% 100%, close); border: 10px solid purple; background: green; } </style> <div class="bs-target"></div>
/css/css-borders/border-shape-absolute-coords-shape-ref.tentative.html
<!DOCTYPE html> <style> svg { position: absolute; top: 200px; left: 0; width: 200px; height: 200px; overflow: visible; stroke: purple; stroke-width: 10px; border: 5px solid transparent; fill: green; } </style> <svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"> <polygon points="0,0 200,0, 100,200" /> </svg>