Bug 1530839 [wpt PR 15526] - Add test for "fully overlapping" radial gradient case, a=testonly
☠☠ backed out by 66b1aba3fb43 ☠ ☠
authorFredrik Söderquist <fs@opera.com>
Wed, 06 Mar 2019 12:35:58 +0000
changeset 525282 d6548d68aad49cb9402fea61bc76ecb4a0fc6d1a
parent 525281 f1a2f7d7615bd43b21e2209913f0c94d6c70e262
child 525283 83c0823bb8e1d0090feb779f075a2dc8402a31cb
push id2032
push userffxbld-merge
push dateMon, 13 May 2019 09:36:57 +0000
treeherdermozilla-release@455c1065dcbe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1530839, 15526, 933413, 1483023, 634711
milestone67.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 1530839 [wpt PR 15526] - Add test for "fully overlapping" radial gradient case, a=testonly Automatic update from web-platform-tests Add test for "fully overlapping" radial gradient case This adds a test for the case where the start and end circles of a radial gradient fully overlap (while having non-zero radii). Bug: 933413 Change-Id: Id059cb607f6fc137111d2306dd9c9eef1f55b6bc Reviewed-on: https://chromium-review.googlesource.com/c/1483023 Commit-Queue: Fredrik Söderquist <fs@opera.com> Commit-Queue: Florin Malita <fmalita@chromium.org> Auto-Submit: Fredrik Söderquist <fs@opera.com> Reviewed-by: Florin Malita <fmalita@chromium.org> Cr-Commit-Position: refs/heads/master@{#634711} -- wpt-commits: d45e29788020056d6bb95db7920a67306f06ade5 wpt-pr: 15526
testing/web-platform/tests/svg/pservers/reftests/radialgradient-fully-overlapping.svg
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/svg/pservers/reftests/radialgradient-fully-overlapping.svg
@@ -0,0 +1,16 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml">
+  <title>Radial gradient with overlapping start and end circles</title>
+  <metadata>
+    <h:link rel="help" href="https://svgwg.org/svg2-draft/pservers.html#RadialGradientNotes"/>
+    <h:link rel="match" href="reference/green-100x100.svg"/>
+    <h:meta name="assert" content="If the start circle fully overlaps with the end circle, no gradient is drawn."/>
+  </metadata>
+
+  <rect width="100" height="100" fill="green"/>
+
+  <radialGradient id="fully_overlapping" r="100" fr="100">
+    <stop stop-color="red"/>
+    <stop stop-color="red" offset="1"/>
+  </radialGradient>
+  <rect width="100" height="100" fill="url(#fully_overlapping) orange"/>
+</svg>