Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/text/reftests/xml-lang-attribute.svg - WPT Dashboard Interop Dashboard
<?xml version="1.0" encoding="utf-8"?>
<metadata>
<title>xml:lang attribute should affect text rendering</title>
<h:link rel="mismatch" href="lang-attribute-ref.svg"/>
</metadata>
<text>
<tspan x="10" y="100" font-size="90" xml:lang="ja" lang="en">今骨直</tspan>
<tspan x="10" y="200" font-size="90" xml:lang="zh-CN">今骨直</tspan>
<tspan x="10" y="300" font-size="90" xml:lang="zh-TW">今骨直</tspan>
</text>
</svg>