<!DOCTYPE html>
<title>shape-outside on floats with a different writing mode in the float and the container</title>
<style>
.container {
font: 20px/1 Ahem;
color: orange;
width: 120px;
height: 20px;
background-color: blue;
margin-left: 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 right side of a blue rectangle. There should be no blue to the right of the orange square.</p>
<div class="container" style="text-align: right;">
X
</div>
<p>You should see an orange square touching the left side of a blue rectangle. There should be no blue to the left of the orange square.</p>
<div class="container">
X
</div>
</body>