Bug 1651074 [wpt PR 24486] - Upstream and update foreignObject isolation tests, a...
commitf07bd070805f0773af41ab0dc5f4682fe403154a
authorPhilip Rogers <pdr@chromium.org>
Thu, 9 Jul 2020 14:16:39 +0000 (9 14:16 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 10 Jul 2020 10:38:22 +0000 (10 10:38 +0000)
treef963fc75d41b2135a1a83daa22788cc25a7651a9
parent97d8582dac8d6175254023d991c1bd87d754f97c
Bug 1651074 [wpt PR 24486] - Upstream and update foreignObject isolation tests, a=testonly

Automatic update from web-platform-tests
Upstream and update foreignObject isolation tests

https://crrev.com/544756 ("Make <foreignObject> a stacking context")
added svg-isolation-foreign-isolation.html which had an incorrect
expectation. ForeignObject should create a stacking context [1] and
everything that creates a stacking context is an 'isolated' group [2],
so foreignObject should isolate. Our implementation is correct for html
content in foreignObject but has a bug for svg content in foreignObject.
This patch creates WPT tests for these two scenarios, and marks the svg
variant as failing.

[1] https://svgwg.org/svg2-draft/single-page.html#render-EstablishingStackingContex
[2] https://drafts.fxtf.org/compositing-2/#csscompositingrules_CSS

Bug: 11028031101002
Change-Id: Ia5baceccab0be09eeec5e4682f16247a2881509b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2284631
Commit-Queue: Philip Rogers <pdr@chromium.org>
Reviewed-by: Fredrik Söderquist <fs@opera.com>
Cr-Commit-Position: refs/heads/master@{#785765}

--

wpt-commits: db03cd2af9e67ab194dabd28f2a9384223d9e706
wpt-pr: 24486
testing/web-platform/tests/svg/extensibility/foreignObject/isolation-with-html-ref.html [new file with mode: 0644]
testing/web-platform/tests/svg/extensibility/foreignObject/isolation-with-html.html [new file with mode: 0644]
testing/web-platform/tests/svg/extensibility/foreignObject/isolation-with-svg-ref.html [new file with mode: 0644]
testing/web-platform/tests/svg/extensibility/foreignObject/isolation-with-svg.html [new file with mode: 0644]