Bug 1626865. Improve the test from bug 1449640.

It was just checking that the rendering was not blank. But we can do better, we can approximately draw what the testcase should look like without transforms or preserve3d (which was what that bug was fixing).

Differential Revision: https://phabricator.services.mozilla.com/D69322

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Timothy Nikkel 2020-04-02 07:48:37 +00:00
Родитель 609d380eac
Коммит e414def8f5
2 изменённых файлов: 29 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,28 @@
<!DOCTYPE html>
<!-- This was just "drawn by hand" well after the original test landed to look
like the proper rendering of the test file without any transforms or
preserve3d. It's not identical, but a fuzzy match should be a good test
considering the original test just checked that it wasn't rendering blank
-->
<html>
<style>
div {
position: absolute;
top: 0;
left: 0;
}
</style>
</head>
<body>
<div>
<svg width="600px" height="600px">
<polygon fill="#DAD6CC" points="57, 51 114, 84 66, 124 10, 91"/>
<ellipse fill="#F8F1E5" cx="62" cy="88" rx="27" ry="19"/>
<polygon fill="#DAD6CC" points="57, -1 114, 32 66, 72 10, 39"/>
<ellipse fill="#F8F1E5" cx="62" cy="36" rx="27" ry="19"/>
</svg>
</div>
</body></html>

Просмотреть файл

@ -94,6 +94,7 @@ fuzzy-if(winWidget,0-150,0-120) == component-alpha-1.html component-alpha-1-ref.
== intermediate-1.html intermediate-1-ref.html
== preserves3d-nested-filter-1.html preserves3d-nested-filter-1-ref.html
!= preserve3d-scale.html about:blank
fuzzy(0-51,0-1133) == preserve3d-scale.html preserve3d-scale-ref.html
fuzzy-if(webrender,0-1,0-5) == perspective-overflow-1.html perspective-overflow-1-ref.html
== 1544995-1.html 1544995-1-ref.html
== preserve3d-will-change-large-frame.html preserve3d-will-change-ref.html