Skip to content

Commit 4420f22

Browse files
longsonrmoz-wptsync-bot
authored andcommitted
Unify SVG and HTML image loading
Differential Revision: https://phabricator.services.mozilla.com/D251619 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1967531 gecko-commit: c4ff7f09ffc69cb7e67386b93092922f52c931c4 gecko-reviewers: emilio
1 parent 17e2e02 commit 4420f22

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

svg/embedded/image-embedding-nesteder-data-url.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<!doctype html>
2+
<html class="reftest-wait">
23
<title>SVG image that uses a data: URL and then again</title>
34
<link rel="match" href="../struct/reftests/reference/green-100x100.html">
5+
<script src="/common/reftest-wait.js"></script>
6+
<script src="/common/rendering-utils.js"></script>
47
<img src="data:image/svg+xml,
58
<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'>
69
<image href='data:image/svg+xml,
@@ -14,3 +17,9 @@
1417
'/>
1518
</svg>
1619
">
20+
<script>
21+
waitForAtLeastOneFrame().then(() => {
22+
takeScreenshot();
23+
});
24+
</script>
25+
</html>

svg/embedded/image-modify-href-4.svg

Lines changed: 5 additions & 3 deletions
Loading

0 commit comments

Comments
 (0)