Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test gets skipped with pattern: snapshot
- Manifest: layout/reftests/meta-viewport/reftest.list
<!DOCTYPE html>
<meta name="viewport" content="width=device-width, minimum-scale=0.5">
<style>
html {
overflow: hidden;
font-size: 20px;
}
html, body {
margin: 0;
width: 100%;
height: 100%;
}
div {
position: absolute;
}
p {
line-height: 1rem;
}
</style>
</head><body><p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
<div style="width: 200%; height: 200%;"></div>