зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1572935 [wpt PR 18372] - SVG Text: text-anchor computed value, a=testonly
Automatic update from web-platform-tests SVG Text: text-anchor computed value (#18372) The computed value of text-anchor is the specified keyword. https://svgwg.org/svg2-draft/text.html#TextAnchorProperty -- wpt-commits: 8561d630fb3c4ede85b33df61f91847a21c1989e wpt-pr: 18372
This commit is contained in:
Родитель
640699ebc3
Коммит
e51cdfb41b
|
@ -0,0 +1,21 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:h="http://www.w3.org/1999/xhtml"
|
||||||
|
width="800px" height="800px">
|
||||||
|
<title>SVG Text: getComputedStyle().textAnchor</title>
|
||||||
|
<metadata>
|
||||||
|
<h:link rel="help" href="https://svgwg.org/svg2-draft/text.html#TextAnchorProperty"/>
|
||||||
|
<h:meta name="assert" content="text-anchor computed value is the specified keyword."/>
|
||||||
|
</metadata>
|
||||||
|
<text id="target"></text>
|
||||||
|
<h:script src="/resources/testharness.js"/>
|
||||||
|
<h:script src="/resources/testharnessreport.js"/>
|
||||||
|
<h:script src="/css/support/computed-testcommon.js"/>
|
||||||
|
<script><![CDATA[
|
||||||
|
|
||||||
|
test_computed_value("text-anchor", "start");
|
||||||
|
test_computed_value("text-anchor", "middle");
|
||||||
|
test_computed_value("text-anchor", "end");
|
||||||
|
|
||||||
|
]]></script>
|
||||||
|
</svg>
|
После Ширина: | Высота: | Размер: 783 B |
Загрузка…
Ссылка в новой задаче