<!DOCTYPE html>
<style>
div {
    float: right;
    -webkit-shape-outside: ellipse(2257% 6317vmax);
    margin-right:-3553%;
}
</style>
<div>a</div>
This test passes if it doesn't crash.
<script>
    if (window.testRunner) {
        testRunner.dumpAsText();
    }
</script>
