diff options
Diffstat (limited to 'testing/web-platform/tests/svg/text/reftests/lang-attribute.svg')
-rw-r--r-- | testing/web-platform/tests/svg/text/reftests/lang-attribute.svg | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/text/reftests/lang-attribute.svg b/testing/web-platform/tests/svg/text/reftests/lang-attribute.svg new file mode 100644 index 0000000000..c619f8253e --- /dev/null +++ b/testing/web-platform/tests/svg/text/reftests/lang-attribute.svg @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml"> + <metadata> + <title>lang attribute should affect text rendering</title> + <h:link rel="help" href="https://svgwg.org/svg2-draft/struct.html#LangSpaceAttrs"/> + <h:link rel="mismatch" href="lang-attribute-ref.svg"/> + </metadata> + <text> + <tspan x="10" y="100" font-size="90" lang="ja">今骨直</tspan> + <tspan x="10" y="200" font-size="90" lang="zh-CN">今骨直</tspan> + <tspan x="10" y="300" font-size="90" lang="zh-TW">今骨直</tspan> + </text> +</svg> |