background-clip-content-box-with-border-radius-002.html (986B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Backgrounds and Borders Test: background-clip: content-box with border-radius</title> 4 <link rel="author" title="Oriol Brufau" href="mailto:obrufau@igalia.com"> 5 <link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#the-background-clip"> 6 <link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#corner-shaping"> 7 <link rel="help" href="https://github.com/servo/servo/issues/39540"> 8 <link rel="match" href="reference/background-clip-content-box-with-border-radius-002-ref.html"> 9 <meta name="fuzzy" content="maxDifference=0-96; totalPixels=0-400"> 10 <meta name="assert" content="Backgrounds clipped to the content box should follow the content box curve, which should be equal to the outer border radius minus the corresponding border+padding thickness."> 11 12 <div style=" 13 width: 50px; 14 height: 50px; 15 border: 25px solid black; 16 border-radius: 100% 0 0 0; 17 background-color: black; 18 background-clip: content-box; 19 "></div>