Bug 1632506 [wpt PR 23203] - Fix and export svg/text/textpath-local-url-reference.html to WPT, a=testonly
authorFredrik Söderqvist <fs@opera.com>
Tue, 28 Apr 2020 11:40:16 +0000
changeset 527608 7402c05e5bfa6f11de0357a510eef83ce99f939c
parent 527607 5918883c2f4bc88cfaeef2a2fc18bb9dea4d70d4
child 527609 fac9d6c03add838de55cabf89be45fc367027f55
push id37368
push userbtara@mozilla.com
push dateFri, 01 May 2020 21:45:51 +0000
treeherdermozilla-central@0f9c5a59e45d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1632506, 23203, 2162888, 761952
milestone77.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1632506 [wpt PR 23203] - Fix and export svg/text/textpath-local-url-reference.html to WPT, a=testonly Automatic update from web-platform-tests Fix and export svg/text/textpath-local-url-reference.html to WPT Since the <script> tag appeared after defining the base URL of the document, the script wasn't fetched and run. This likely worked out anyway because of having Ahem available through other means. Fix this and export the test to WPT while at it. Change-Id: I9dff35db0bcfa6ccaa697d791583e897e47b768f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2162888 Reviewed-by: Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#761952} -- wpt-commits: 9a63939d185821b782ba34d642be3cffef6a2e41 wpt-pr: 23203
testing/web-platform/tests/svg/linking/reftests/url-reference-local-textpath.svg
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/svg/linking/reftests/url-reference-local-textpath.svg
@@ -0,0 +1,10 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml">
+  <title>Local URL reference on &#x3c;textPath&#x3e; with base URL different from document URL</title>
+  <h:link rel="stylesheet" type="text/css" href="/fonts/ahem.css"/>
+  <h:link rel="help" href="https://svgwg.org/svg2-draft/linking.html#linkRefAttrs"/>
+  <h:link rel="match" href="reference/green-100x100.svg"/>
+  <h:base href="http://www.example.com/"/>
+
+  <path id="path" d="M0,80h100"/>
+  <text font-size="100" font-family="Ahem" fill="green"><textPath href="#path">X</textPath></text>
+</svg>