| <?xml version="1.0" encoding="UTF-8"?> |
| <svg xmlns="http://www.w3.org/2000/svg"> |
| <defs> |
| <font> |
| <font-face font-family="Arial"/> |
| <missing-glyph/> |
| <glyph horiz-adv-x="667" unicode="S" d="M40 230z"/> |
| </font> |
| </defs> |
| |
| <!-- |
| The old SVG text engine fired an assertion, if the <missing-glyph> element is included |
| in the <font> and if a nonexistant glyph is referenced in a different tspan. |
| Moving the 'o' next to the 'S' doesn't trigger it. |
| --> |
| <text style="font-family: Helvetica" x="10" y="20"><tspan>S</tspan><tspan>o</tspan></text> |
| |
| <text y="50">If you see "So" the test passed.</text> |
| |
| <script> |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| </script> |
| |
| </svg> |