background-clip-padding-box-with-border-radius-002.html (995B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Backgrounds and Borders Test: background-clip: padding-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-padding-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 padding box should follow the padding box curve, which should be equal to the outer border radius minus the corresponding border thickness."> 11 12 <div style=" 13 width: 20px; 14 height: 20px; 15 padding: 20px; 16 border: 20px solid black; 17 border-radius: 100% 0 0 0; 18 background-color: black; 19 background-clip: padding-box; 20 "></div>