fune/layout/reftests/transform/partial-prerender-expansion-with-resolution-ref.html
Hiroyuki Ikezoe 43877bd8b5 Bug 1647186 - Apply the cumulative resolution smaller than 1.0 to the root frame size for the partial pre-render. r=botond
So that we can reasonably expand the pre-render region on mobile environments.

Differential Revision: https://phabricator.services.mozilla.com/D81961
2020-07-05 23:17:02 +00:00

26 lines
637 B
HTML

<!DOCTYPE html>
<html reftest-resolution="0.5">
<meta name="viewport" content="width=device-width,minimum-scale=0.5,initial-scale=1">
<style>
html {
scrollbar-width: none;
}
body {
margin: 0px;
padding: 0px;
}
#target {
width: 4000px;
height: 4000px;
position: absolute;
transform: translateX(-400px);
}
</style>
<div id="target">
<svg xmlns="http://www.w3.org/4000/svg" viewBox="0 0 4000 4000">
<rect fill="green" x="0" width="1600" height="4000"></rect>
<rect fill="blue" x="1600" width="650" height="4000"></rect>
<rect fill="red" x="2250" width="1750" height="4000"></rect>
</svg>
</div>
</html>