OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html style="overflow:hidden; background:white; color:black;"> |
| 3 <head> |
| 4 <title>Hidden overflow on HTML, hidden overflow on BODY</title> |
| 5 </head> |
| 6 <body style="overflow:hidden; width:20em; height:20em; background:cyan;"> |
| 7 <p>This text should be inside a cyan box. There should be no red.</p> |
| 8 <p>The viewport should not have scrollbars.</p> |
| 9 <div style="width:30em;"> |
| 10 <div style="float:right; width:10em; height:20em; background:red;">F
AIL</div> |
| 11 </div> |
| 12 <div style="width:300vw; height:300vh;"></div> |
| 13 </body> |
| 14 </html> |
OLD | NEW |