mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-25 11:15:34 +00:00
dcfdeea7f1
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
25 lines
368 B
HTML
25 lines
368 B
HTML
<!DOCTYPE html>
|
|
<meta name="viewport" content="width=device-height">
|
|
<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>
|