clip-border-area-on-root.html (527B)
1 <!DOCTYPE html> 2 <title>background-clip:border-area on the root</title> 3 <link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#propdef-background-clip"> 4 <link rel="match" href="../reference/green-root-background.html"> 5 <style> 6 html, body { 7 box-sizing: border-box; 8 height: 100%; 9 margin: 0; 10 } 11 html { 12 height: 100%; 13 color: transparent; 14 border: 20px solid transparent; 15 background-color: green; 16 background-clip: border-area; 17 } 18 </style> 19 20 The border should not be visible; the page should be entirely green.