421885-1-ref.xml (1152B)
1 <?xml version="1.0"?> 2 <svg xmlns:html="http://www.w3.org/1999/xhtml" 3 xmlns="http://www.w3.org/2000/svg"> 4 <foreignObject transform="scale(2)" width="100%" height="100%"> 5 <!-- test the two-span case, subimage covers two tiles --> 6 <html:div style="width:2px; height:64px; background:black; 7 margin-bottom:5px;"> 8 </html:div> 9 <html:div style="width:64px; height:2px; background:black; 10 margin-bottom:5px;"> 11 </html:div> 12 <!-- test the one-span case, subimage covers one tile at the end of the tile --> 13 <html:div style="width:1px; height:64px; background:black; 14 margin-bottom:5px;"> 15 </html:div> 16 <html:div style="width:64px; height:1px; background:black; 17 margin-bottom:5px;"> 18 </html:div> 19 <!-- test the one-span case, subimage covers one tile at the start of the tile --> 20 <html:div style="width:1px; height:64px; background:black; 21 margin-bottom:5px;"> 22 </html:div> 23 <html:div style="width:64px; height:1px; background:black; 24 margin-bottom:5px;"> 25 </html:div> 26 </foreignObject> 27 </svg>