Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>CSS Borders Test: outline-style: dashed follows border-shape</title>
<link rel="help" href="https://drafts.csswg.org/css-ui/#outline">
<link rel="match" href="border-shape-outline-dashed-ref.html">
<meta name="assert" content="A dashed outline on an element with border-shape
must be painted along the border-shape path.">
<meta name="fuzzy" content="maxDifference=0-100;totalPixels=0-900">
<style>
body { margin: 0; }
.container { padding: 30px; }
.target {
width: 100px;
height: 100px;
background: lightblue;
border-shape: circle(50px at 50px 50px);
outline: 10px dashed green;
}
</style>
<div class="container">
<div class="target"></div>
</div>