forked from web-platform-tests/wpt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fall back to a slow path for content under <foreignObject>.
This avoids even more complicated code in GraphicsLayerUpdater. I don't think the performance will be a big problem in the short term, and longer-term CAP obsoletes this code. Bug: 968488 Change-Id: Id88ee31b47449ce752b004dd911b3918d035fc9a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1636858 Commit-Queue: Chris Harrelson <[email protected]> Reviewed-by: Xianzhu Wang <[email protected]> Cr-Commit-Position: refs/heads/master@{#665178}
- Loading branch information
1 parent
50683f7
commit 948c747
Showing
3 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
svg/extensibility/foreignObject/composited-inside-object-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!doctype HTML> | ||
<title>Compositing inside a non-stacking-context object works reference</title> | ||
<object style="display: block; backface-visibility:hidden"> | ||
<svg> | ||
<foreignObject> | ||
<div>Test</div> | ||
</foreignObject> | ||
</svg> | ||
</object> |
13 changes: 13 additions & 0 deletions
13
svg/extensibility/foreignObject/composited-inside-object.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!doctype HTML> | ||
<title>Compositing inside a non-stacking-context object works.</title> | ||
<link rel="author" title="Chris Harrelson" href="[email protected]"> | ||
<link rel="match" href="composited-inside-object-ref.html"> | ||
<link rel="help" href="https://svgwg.org/svg2-draft/single-page.html#embedded-ForeignObjectElement"/> | ||
|
||
<object style="display: block; backface-visibility:hidden"> | ||
<svg> | ||
<foreignObject> | ||
<div style="will-change: transform">Test</div> | ||
</foreignObject> | ||
</svg> | ||
</object> |
2 changes: 1 addition & 1 deletion
2
svg/extensibility/foreignObject/compositing-backface-visibility-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<!doctype HTML> | ||
<title>Basic backface-visibility compositing works referece</title> | ||
<title>Basic backface-visibility compositing works reference</title> | ||
<link rel="author" title="Chris Harrelson" href="[email protected]"> | ||
<svg> | ||
<foreignObject> | ||
|