gecko-dev/layout/reftests/meta-viewport/invalid-width.html
Hiroyuki Ikezoe dcfdeea7f1 Bug 1556275 - Handle unknown values for width and height as 'Auto' in viewport meta tag. r=botond
Without the change a green rectangle in each reftest in this commit covers whole
screen.

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

--HG--
extra : moz-landing-system : lando
2019-07-09 00:02:48 +00:00

25 lines
366 B
HTML

<!DOCTYPE html>
<meta name="viewport" content="width=devicewidth">
<style>
html, body {
margin: 0;
width: 100%;
height: 100%;
scrollbar-width: none;
}
#container {
position: relative;
}
#inner {
position: absolute;
top: 0;
left: 0;
width: 100px;
height: 100px;
background: green;
}
</style>
<div id="container">
<div id="inner"></div>
</div>