16 lines
393 B
HTML
16 lines
393 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
#elem {overflow: scroll;}
|
|
#elem::-webkit-scrollbar {overflow: auto;}
|
|
</style>
|
|
<p>Zooming in (ctrl++) should not crash.
|
|
The test PASSES if it did not crash.</p>
|
|
<div id="elem"></div>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.dumpAsText();
|
|
if (window.eventSender)
|
|
eventSender.zoomPageIn();
|
|
document.getElementById('elem').style.setProperty('zoom', 2);
|
|
</script>
|