Guest User

Tenno Seremel

a guest
Jul 14th, 2010
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.83 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <svg
  3.     xmlns="http://www.w3.org/2000/svg"
  4.     xmlns:xlink="http://www.w3.org/1999/xlink"
  5.     viewBox="0 0 300 300"
  6.     version="1.1"
  7.     preserveAspectRatio="none"
  8.     width="300"
  9.     height="300"
  10. >
  11.  
  12.     <title>Tooltip background</title>
  13.  
  14.     <g id="topleft">
  15.         <rect x="0" y="0" width="9" height="9" fill="#eee"/>
  16.         <path
  17.             fill="none"
  18.             d="M 0 9 l 0 -9 l 9 0"
  19.             stroke="#aaa" stroke-width="1"
  20.         />
  21.     </g>
  22.     <g id="topright">
  23.         <rect x="291" y="0" width="9" height="9" fill="#eee"/>
  24.         <path
  25.             fill="none"
  26.             d="M 291 0 l 9 0 l 0 9"
  27.             stroke="#aaa" stroke-width="1"
  28.         />
  29.     </g>
  30.     <g id="bottomleft">
  31.         <rect x="0" y="291" width="9" height="9" fill="#eee"/>
  32.         <path
  33.             fill="none"
  34.             d="M 0 291 l 0 9 l 9 0"
  35.             stroke="#aaa" stroke-width="1"
  36.         />
  37.     </g>
  38.     <g id="bottomright">
  39.         <rect x="291" y="291" width="9" height="9" fill="#eee"/>
  40.         <path
  41.             fill="none"
  42.             d="M 291 300 l 9 0 l 0 -9"
  43.             stroke="#aaa" stroke-width="1"
  44.         />
  45.     </g>
  46.  
  47.     <g id="top">
  48.         <rect x="10" y="0" width="280" height="9" fill="#eee"/>
  49.         <!-- WTF: id as a hint but not any element with a given id? -->
  50.         <path id="hint-stretch-borders"
  51.             fill="none"
  52.             d="M 10 0 l 280 0"
  53.             stroke="#aaa" stroke-width="1"
  54.         />
  55.     </g>
  56.     <g id="bottom">
  57.         <rect x="10" y="291" width="280" height="9" fill="#eee"/>
  58.         <path
  59.             fill="none"
  60.             d="M 10 300 l 280 0"
  61.             stroke="#aaa" stroke-width="1"
  62.         />
  63.     </g>
  64.  
  65.     <g id="left">
  66.         <rect x="0" y="10" width="9" height="280" fill="#eee"/>
  67.         <path
  68.             fill="none"
  69.             d="M 0 10 l 0 280"
  70.             stroke="#aaa" stroke-width="1"
  71.         />
  72.     </g>
  73.     <g id="right">
  74.         <rect x="291" y="10" width="9" height="280" fill="#eee"/>
  75.         <path
  76.             fill="none"
  77.             d="M 300 10 l 0 280"
  78.             stroke="#aaa" stroke-width="1"
  79.         />
  80.     </g>
  81.  
  82.     <g id="center">
  83.         <rect x="10" y="10" width="280" height="280" fill="#eee"/>
  84.     </g>
  85. </svg>
Advertisement
Add Comment
Please, Sign In to add comment