blob: a07c23709043fb362ade3898099f0218bf5eca14 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>Hidden overflow on HTML, hidden overflow on BODY</title>
</head>
<body style="overflow:hidden; background:white; color:black;">
<div style="overflow:hidden; width:20em; height:20em; background:cyan;">
<p>This text should be inside a cyan box. There should be no red.</p>
<p>The viewport should not have scrollbars.</p>
</div>
</body>
</html>