Bug 1482193 [wpt PR 12382] - [PE] Allow blending for svg root etc., a=testonly
☠☠ backed out by e7aaefc49e5f ☠ ☠
authorXianzhu Wang <wangxianzhu@chromium.org>
Wed, 15 Aug 2018 09:55:37 +0000
changeset 431734 762833d5e75db09b1686e61b3304df3432842e7a
parent 431733 7b50355d1de053a38f32386bd640a8c4c5f032f7
child 431735 43ec825180e4fcdecb46e2d9860def4891d46468
push id34451
push userebalazs@mozilla.com
push dateThu, 16 Aug 2018 09:25:15 +0000
treeherdermozilla-central@161817e6d127 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1482193, 12382, 872437, 1169624, 582299
milestone63.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 1482193 [wpt PR 12382] - [PE] Allow blending for svg root etc., a=testonly Automatic update from web-platform-tests[PE] Allow blending for svg root etc. Bug: 872437 Cq-Include-Trybots: luci.chromium.try‚Äč:linux_layout_tests_slimming_paint_v2;master.tryserver.blink:linux_trusty_blink_rel Change-Id: Idb0d69320ddfa2dcfe02e493cd117573618459d5 Reviewed-on: https://chromium-review.googlesource.com/1169624 Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Reviewed-by: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#582299} -- wpt-commits: b382ac7192087da0a7439902e20be76ab7587ee8 wpt-pr: 12382
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/svg/render/reftests/blending-svg-foreign-object-ref.html
testing/web-platform/tests/svg/render/reftests/blending-svg-foreign-object.html
testing/web-platform/tests/svg/render/reftests/blending-svg-root-ref.html
testing/web-platform/tests/svg/render/reftests/blending-svg-root.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -185964,16 +185964,40 @@
       [
        "/svg/render/reftests/blending-002-ref.svg",
        "=="
       ]
      ],
      {}
     ]
    ],
+   "svg/render/reftests/blending-svg-foreign-object.html": [
+    [
+     "/svg/render/reftests/blending-svg-foreign-object.html",
+     [
+      [
+       "/svg/render/reftests/blending-svg-foreign-object-ref.html",
+       "=="
+      ]
+     ],
+     {}
+    ]
+   ],
+   "svg/render/reftests/blending-svg-root.html": [
+    [
+     "/svg/render/reftests/blending-svg-root.html",
+     [
+      [
+       "/svg/render/reftests/blending-svg-root-ref.html",
+       "=="
+      ]
+     ],
+     {}
+    ]
+   ],
    "svg/rendering/order/z-index.svg": [
     [
      "/svg/rendering/order/z-index.svg",
      [
       [
        "/svg/rendering/order/z-index-ref.svg",
        "=="
       ]
@@ -300877,16 +300901,26 @@
      {}
     ]
    ],
    "svg/render/reftests/blending-002-ref.svg": [
     [
      {}
     ]
    ],
+   "svg/render/reftests/blending-svg-foreign-object-ref.html": [
+    [
+     {}
+    ]
+   ],
+   "svg/render/reftests/blending-svg-root-ref.html": [
+    [
+     {}
+    ]
+   ],
    "svg/rendering/order/z-index-ref.svg": [
     [
      {}
     ]
    ],
    "svg/shapes/ellipse-01-ref.svg": [
     [
      {}
@@ -635742,16 +635776,32 @@
   "svg/render/reftests/blending-002-ref.svg": [
    "df6f29fa3bc0f122bcc69d8ba354bfffe4579189",
    "support"
   ],
   "svg/render/reftests/blending-002.svg": [
    "01e180f23a5b35b27e80ceee39087e1fa3118c6b",
    "reftest"
   ],
+  "svg/render/reftests/blending-svg-foreign-object-ref.html": [
+   "021be3582515cb0ae28ccac27e296f68142d27fe",
+   "support"
+  ],
+  "svg/render/reftests/blending-svg-foreign-object.html": [
+   "24f87ae5cb0503c5fd2d604845d859ad7c073056",
+   "reftest"
+  ],
+  "svg/render/reftests/blending-svg-root-ref.html": [
+   "35f278cfaf59168bf6e221b1b6a7bb2dc08578e2",
+   "support"
+  ],
+  "svg/render/reftests/blending-svg-root.html": [
+   "7cbf68d39a05d9b3e27f2613b65eaf64f63ed54b",
+   "reftest"
+  ],
   "svg/rendering/order/z-index-ref.svg": [
    "ff7f9156682b6436ea8d0e4ab805b7c0f0d0fd5a",
    "support"
   ],
   "svg/rendering/order/z-index.svg": [
    "786290a158b99a727bf26c4a30556246d30af8dc",
    "reftest"
   ],
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/svg/render/reftests/blending-svg-foreign-object-ref.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<div style="background: green">
+  <div>Expected: a black square on green background.</div>
+  <svg style="height: 200px">
+    <foreignObject>
+      <div style="width: 200px; height: 200px; background: black"></div>
+    </foreignObject>
+  </svg>
+</div>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/svg/render/reftests/blending-svg-foreign-object.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<title>'mix-blend-mode' for &lt;svg:foreignObject&gt;</title>
+<link rel="help" href="https://www.w3.org/TR/SVG2/render.html#PaintersModel">
+<link rel="match"  href="blending-svg-foreign-object-ref.html">
+<div style="background: green">
+  <div>Expected: a black square on green background.</div>
+  <svg style="width: 200px; height: 200px">
+    <foreignObject style="mix-blend-mode: multiply">
+      <div style="width: 200px; height: 200px; background: red"></div>
+    </foreignObject>
+  </svg>
+</div>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/svg/render/reftests/blending-svg-root-ref.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<div style="background: green">
+  <div>Expected: a black square on green background.</div>
+  <svg style="width: 200px; height: 200px; background: black">
+  </svg>
+</div>
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/svg/render/reftests/blending-svg-root.html
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<title>'mix-blend-mode' for &lt;svg&gt;</title>
+<link rel="help" href="https://www.w3.org/TR/SVG2/render.html#PaintersModel">
+<link rel="match"  href="blending-svg-root-ref.html">
+<div style="background: green">
+  <div>Expected: a black square on green background.</div>
+  <svg style="mix-blend-mode: multiply; width: 200px; height: 200px; background: red">
+  </svg>
+</div>