<!DOCTYPE html>
<script>
    if (window.testRunner)
        testRunner.dumpAsText();
</script>
<p>An extremely wide multicol container with RTL direction will get its first column far, far away
    to the right. Make sure this doesn't result in integer overflow.</p>
<p>PASS if no assertion failure or crash.</p>
<div dir="rtl" style="-webkit-columns:3; width:100000000000000000px;">
    <div style="position:relative;"></div>
</div>
<div style="position:relative;"></div>
