Bug 1724901. Add test. r=hiro

Differential Revision: https://phabricator.services.mozilla.com/D122927
This commit is contained in:
Timothy Nikkel 2021-08-18 03:44:56 +00:00
parent 2bb375920d
commit a288ba0b52
4 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,3 @@
<svg width="30" height="15" viewBox="0 0 50 50" fill="black" xmlns="http://www.w3.org/2000/svg">
<text x="-20" y="20" font-size="30">some</text>
</svg>

After

Width:  |  Height:  |  Size: 152 B

View File

@ -0,0 +1,3 @@
<div style="transform: scale(40); transform-origin: top left">
<!-- regular uri makes this an in-process if with or without fission -->
<iframe src="1724901-1-helper.svg" style="border: none; width: 30px; height: 15px;">

View File

@ -0,0 +1,3 @@
<div style="transform: scale(40); transform-origin: top left">
<!-- data uri makes this an oop if with fission in a reftest because reftests set the pref browser.tabs.remote.dataUriInDefaultWebProcess -->
<iframe src="data:image/svg+xml,<svg width='30' height='15' viewBox='0 0 50 50' fill='black' xmlns='http://www.w3.org/2000/svg'><text x='-20' y='20' font-size='30'>some</text></svg>" style="border: none; width: 30px; height: 15px;">

View File

@ -31,3 +31,4 @@ pref(apz.allow_zooming,true) fails-if(useDrawSnapshot) == 1662062-1-no-blurry.ht
skip-if(!webrender||geckoview) fuzzy-if(!useDrawSnapshot,0-255,0-667) fuzzy-if(useDrawSnapshot,0-255,0-3601) == 1687157-1.html 1687157-1-ref.html
skip-if(!webrender) fuzzy-if(webrender,64-99,512-523) == 1696439-1.html 1696439-1-ref.html
random-if(gtkWidget) == 1722689-1.html 1722689-1-ref.html
== 1724901-1.html 1724901-1-ref.html