20 lines
424 B
HTML
20 lines
424 B
HTML
<!DOCTYPE html><!-- webkit-test-runner [ LayoutFormattingContextEnabled=true LayoutFormattingContextIntegrationEnabled=false ] -->
|
|
<style>
|
|
.float_box {
|
|
float: left;
|
|
background-color: green;
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
|
|
.float_avoider {
|
|
overflow: hidden;
|
|
width: 100px;
|
|
height: 100px;
|
|
background-color: blue;
|
|
color: blue;
|
|
}
|
|
</style>
|
|
<div class=float_box></div>
|
|
<div class=float_avoider>text content</div>
|