chromium/third_party/blink/web_tests/fast/shapes/shape-outside-floats/shape-outside-floats-different-writing-direction-content-box.html

<!DOCTYPE html>
<title>shape-outside on floats with a different writing direction in the float and the container</title>
<style>
    .container {
        font: 20px/1 Ahem;
        color: orange;
        width: 100px;
        height: 20px;
        background-color: blue;
    }
    .float {
        direction: rtl;
        shape-outside: content-box;
        height: 20px;
        width: 20px;
        border-style: solid;
        border-color: blue;
        background-color: blue;
    }
    .left {
        float: left;
        margin: 0px 20px 0px 0px;
        border-width: 0px 20px 0px 0px;
        padding: 0px 20px 0px 0px;
    }
    .right {
        float: right;
        margin: 0px 0px 0px 20px;
        border-width: 0px 0px 0px 20px;
        padding: 0px 0px 0px 20px;
    }
</style>
<body>
    <p><a href="https://code.google.com/p/chromium/issues/detail?id=322165">Issue 322165</a>: [META][CSS Shapes] Implement new syntax for CSS Shapes</p>
    <p>You should see an orange square touching the left side of a blue rectangle. There should be a blue square to the left of the orange square.</p>
    <div class="container">
        <div class="float left"></div>
        X
    </div>
    <p>You should see an orange square touching the right side of a blue rectangle. There should be a blue square to the right of the orange square.</p>
    <div class="container" style="text-align: right">
        <div class="float right"></div>
        X
    </div>
</body>