Status: FAIL | Duration: 8ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-borders/border-shape/border-shape-outline-double-shape.html
<!DOCTYPE html> <title>CSS Borders Test: outline follows border-shape with double shape</title> <link rel="help" href="https://drafts.csswg.org/css-borders-4/#border-shape"> <link rel="help" href="https://drafts.csswg.org/css-ui/#outline"> <link rel="match" href="border-shape-outline-double-shape-ref.html"> <meta name="fuzzy" content="maxDifference=0-150;totalPixels=0-2000"> <style> body { margin: 0; } .container { padding: 40px; } .target { width: 100px; height: 100px; background: lightblue; /* Equivalent to border-radius: 50%. The outer edge is the border-box (120x120), inner edge is padding-box (100x100) */ border-shape: circle(50% at 50% 50%) border-box circle(50% at 50% 50%) padding-box; border: 10px solid green; outline: 4px solid red; } </style> <div class="container"> <div class="target"></div> </div>
/css/css-borders/border-shape/border-shape-outline-double-shape-ref.html
<!DOCTYPE html> <title>CSS Borders Reference: outline follows border-shape with double shape</title> <style> body { margin: 0; } .container { padding: 40px; } .target { width: 100px; height: 100px; background: lightblue; border-radius: 50%; border: 10px solid green; outline: 4px solid red; } </style> <div class="container"> <div class="target"></div> </div>