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-auto.html
<!DOCTYPE html> <title>CSS Borders Test: outline auto follows border-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-auto-ref.html"> <meta name="fuzzy" content="maxDifference=0-5;totalPixels=0-50"> <style> body { margin: 0; } .container { padding: 20px; } .target { width: 100px; height: 100px; background: lightblue; border-shape: inset(0 round 50px); outline: auto 4px blue; } </style> <div class="container"> <div class="target" tabindex="0" id="target"></div> </div> <script> document.getElementById('target').focus(); </script>
/css/css-borders/border-shape/border-shape-outline-auto-ref.html
<!DOCTYPE html> <title>CSS Borders Reference: outline auto follows border-shape</title> <style> body { margin: 0; } .container { padding: 20px; } .target { width: 100px; height: 100px; background: lightblue; border-radius: 50px; outline: auto 4px blue; } </style> <div class="container"> <div class="target" tabindex="0" id="target"></div> </div> <script> document.getElementById('target').focus(); </script>