background-paint-order-001.html (904B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>CSS Test: Background clip and border painting order</title> 5 <link rel="author" title="Julien Chaffraix" href="mailto:jchaffraix@webkit.org"> 6 <link rel="reviewer" title="Arron Eicholz" href="mailto:arronei@microsoft.com" /> <!-- 2012-10-27 --> 7 <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-clip"> 8 <meta name="assert" content="The background is painted behind the border."> 9 <link rel="match" href="reference/background-paint-order-001-ref.html"> 10 <style> 11 div 12 { 13 width: 0; 14 border: 50px solid green; 15 background-color: red; 16 } 17 </style> 18 </head> 19 <body> 20 <p>Test passes if there is a green rectangle below and no red visible on the page.</p> 21 <div></div> 22 </body> 23 </html>