summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-svgglyphs/svg-glyph-positioning-ref.svg
blob: 10e8ff11613b8b04524f3573194b4cf8429dbb4b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<svg xmlns="http://www.w3.org/2000/svg">
  <!-- The "L" glyph in Fira Sans has been hacked to have an advance of
       exactly 500/1000 em, or 100px at a font size of 200px. -->
  <!-- L -->
  <rect x="20" y="20" width="160" height="160" stroke-width="10"
    stroke="black" fill="red" />
  <rect x="20" y="0" width="20" height="20" stroke="none"
    fill="turquoise" />

  <!-- L -->
  <rect x="120" y="20" width="160" height="160" stroke-width="10"
    stroke="black" fill="red" />
  <rect x="120" y="0" width="20" height="20" stroke="none"
    fill="turquoise" />

  <!-- L -->
  <rect x="220" y="20" width="160" height="160" stroke-width="10"
    stroke="black" fill="red" />
  <rect x="220" y="0" width="20" height="20" stroke="none"
    fill="turquoise" />
</svg>