blob: cebfbc42c52bf24d043f12d2b0848aede15c4e86 [file] [log] [blame]
<script>
if (window.internals)
internals.settings.setConstantPropertiesEnabled(true);
</script>
<style>
div {
position: absolute;
left: 100px;
top: 100px;
width: 100px;
height: 100px;
background-color: green;
top: env(safe-area-inset-top);
left: env(safe-area-inset-left);
}
</style>
<body>
<div></div>
<p>The box should be at 0, 0.</p>