24 lines
735 B
HTML
24 lines
735 B
HTML
<!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;
|
|
line-height: 20px;
|
|
}
|
|
.float {
|
|
height: 20px;
|
|
width: 40px;
|
|
margin: 0px 20px;
|
|
background-color: red;
|
|
color: green;
|
|
float: left;
|
|
}
|
|
</style>
|
|
<body>
|
|
<p><a href="https://bugs.webkit.org/show_bug.cgi?id=122243">Bug 122243</a> - [css-shapes] shape-outside does not properly handle the container and the float having different writing modes</p>
|
|
<p>You should see a single green square. You should not see any red.</p>
|
|
<div class="container">
|
|
<div class="float">XX</div>
|
|
</div>
|
|
</body>
|