Bug 1508900 [wpt PR 14150] - Add one more test for viewport units in SVG-in-<img> context, a=testonly
authorFredrik Söderquist <fs@opera.com>
Sat, 24 Nov 2018 10:28:35 +0000
changeset 504466 d28035fc485eabc7399c608a1a7388b5ad3976bf
parent 504465 ff09c6ce0e11a9465fe9bead8a2638c61847346f
child 504467 a4c69c1328915f7287a57fc1a69382c0390943d3
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1508900, 14150, 650147, 1344102, 609772
milestone65.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 1508900 [wpt PR 14150] - Add one more test for viewport units in SVG-in-<img> context, a=testonly Automatic update from web-platform-testsAdd one more test for viewport units in SVG-in-<img> context This one using inline style instead of presentation attributes. Bug: 650147 Change-Id: I00ee6c52b95803a928dd0b95a33da89f531a05ac Reviewed-on: https://chromium-review.googlesource.com/c/1344102 Reviewed-by: Philip Rogers <pdr@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#609772} -- wpt-commits: c51ac7cdef9b8ca83672e673d4de52115cdca850 wpt-pr: 14150
testing/web-platform/tests/svg/embedded/image-embedding-svg-with-viewport-units-inline-style.svg
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/svg/embedded/image-embedding-svg-with-viewport-units-inline-style.svg
@@ -0,0 +1,10 @@
+<svg xmlns="http://www.w3.org/2000/svg"
+     xmlns:xlink="http://www.w3.org/1999/xlink"
+     xmlns:h="http://www.w3.org/1999/xhtml">
+  <metadata>
+    <title>&lt;image&gt; embedding SVG image with viewport units</title>
+    <h:link rel="match" href="support/green-rect-100x100.svg"/>
+  </metadata>
+  <image xlink:href="data:image/svg+xml,&lt;svg xmlns='http://www.w3.org/2000/svg'&gt;&lt;rect style='width: 50vw; height: 50vh' fill='green'/&gt;&lt;/svg&gt;"
+         width="200" height="200"/>
+</svg>