| <!DOCTYPE html> |
| <title>shape-outside-floats-inset-rectangle-000-reference.html</title> |
| <link rel="author" title="Adobe" href="http://html.adobe.com/"> |
| <link rel="author" title="Bem Jones-Bey" href="mailto:bjonesbe@adobe.com"> |
| <meta name="flags" content="ahem"> |
| <head> |
| <style> |
| .test { |
| font: 20px/1 Ahem, sans-serif; |
| border: 1px solid black; |
| line-height: 20px; |
| } |
| .vertical-lr { |
| -webkit-writing-mode: vertical-lr; |
| } |
| .vertical-rl { |
| -webkit-writing-mode: vertical-rl; |
| } |
| .container { |
| width: 60px; |
| height: 60px; |
| display: inline-block; |
| } |
| .float { |
| width: 40px; |
| height: 40px; |
| } |
| .exclusion-top { |
| height: 20px; |
| } |
| .exclusion-right { |
| width: 20px; |
| } |
| .exclusion-bottom { |
| height: 20px; |
| } |
| .exclusion-left { |
| width: 20px; |
| } |
| </style> |
| </head> |
| <body> |
| <div class="test container"> |
| XXX |
| <div style="float: left" class="float exclusion-top"></div> |
| X |
| XXX |
| </div> |
| <div class="test container"> |
| XXX |
| <div style="float: right" class="float exclusion-top"></div> |
| X |
| XXX |
| </div> |
| <div class="test container"> |
| <div style="float: left" class="float exclusion-right"></div> |
| XX |
| XX |
| XXX |
| </div> |
| <div class="test container"> |
| <div style="float: left" class="float exclusion-bottom"></div> |
| X |
| XXX |
| XXX |
| </div> |
| <div class="test container"> |
| <div style="float: right" class="float exclusion-bottom"></div> |
| X |
| XXX |
| XXX |
| </div> |
| <div class="test container"> |
| <div style="float: right" class="float exclusion-left"></div> |
| XX |
| XX |
| XXX |
| </div> |
| </body> |