border-dotted-radius.html (1646B)
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>dotted border with radius</title> 6 <style> 7 .box { 8 position: relative; 9 width: 420px; 10 height: 420px; 11 } 12 .mask { 13 position: absolute; 14 top: 0px; 15 left: 0px; 16 } 17 18 table { 19 border-collapse: separate; 20 border-spacing: 10px; 21 empty-cells: show; 22 } 23 td { 24 border-style: dotted; 25 border-radius: 24px; 26 border-color: black; 27 height: 120px; 28 width: 120px; 29 box-sizing: border-box; 30 } 31 32 /* Bug 1303094 - Disable unreliable 1px and 2px tests. */ 33 .no-fill { 34 border-style: solid; 35 } 36 .no-unfill { 37 border-style: none; 38 } 39 .A { 40 border-width: 1px; 41 } 42 .B { 43 border-width: 2px; 44 } 45 .C { 46 border-width: 6px; 47 } 48 .D { 49 border-width: 8px; 50 } 51 .E { 52 border-width: 16px; 53 } 54 .F { 55 border-width: 24px; 56 } 57 .G { 58 border-width: 32px; 59 } 60 .H { 61 border-width: 48px; 62 } 63 .I { 64 border-width: 60px; 65 } 66 </style> 67 </head> 68 <body> 69 <div class="box"> 70 <table> 71 <tr><td class="A no-fill"></td><td class="B no-fill"></td><td class="C"></td></tr> 72 <tr><td class="D"></td><td class="E"></td><td class="F"></td></tr> 73 <tr><td class="G"></td><td class="H"></td><td class="I"></td></tr> 74 </table> 75 <img class="mask" src="border-dotted-radius-filled-mask.png"> 76 </div> 77 <div class="box"> 78 <table> 79 <tr><td class="A no-unfill"></td><td class="B no-unfill"></td><td class="C"></td></tr> 80 <tr><td class="D"></td><td class="E"></td><td class="F"></td></tr> 81 <tr><td class="G"></td><td class="H"></td><td class="I"></td></tr> 82 </table> 83 <img class="mask" src="border-dotted-radius-unfilled-mask.png"> 84 </div> 85 </body> 86 </html>