thin-element-render.html (825B)
1 <!DOCTYPE html> 2 <title>Thin elements should still paint even at small size.</title> 3 <link rel="author" title="Stephen Chenney" href="mailto:schenney@chromium.org"> 4 <link rel="help" href="https://drafts.csswg.org/css-sizing-3/#width-height-keywords"> 5 <link rel="match" href="thin-element-render-ref.html"> 6 <html> 7 <head> 8 <style> 9 .disappearing-border { 10 height:0.25px; 11 width:100%; 12 border-top: 0.25px solid black; 13 } 14 15 .disappearing-box { 16 height:0.25px; 17 width:100%; 18 background-color: black; 19 } 20 21 body { 22 margin: 0px; 23 padding: 0px; 24 box-sizing: border-box; 25 } 26 </style> 27 </head> 28 <body> 29 <div class="disappearing-border"></div> 30 <div style="height:8px;"></div> 31 <div class="disappearing-box"></div> 32 </body> 33 </html>