| Index: third_party/WebKit/LayoutTests/fast/block/float/avoid-floats-when-negative-margin-top-3.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/block/float/avoid-floats-when-negative-margin-top-3.html b/third_party/WebKit/LayoutTests/fast/block/float/avoid-floats-when-negative-margin-top-3.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0111b37b23025f61ded7c9fb64b9a05d6a53cf3f
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/block/float/avoid-floats-when-negative-margin-top-3.html
|
| @@ -0,0 +1,20 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +body { margin: 0px; }
|
| +.float { float: left; width: 50px; height: 100px; background: green;}
|
| +.content { overflow: hidden; margin-top: -100px; width: 50px; height: 100px; background: green;}
|
| +.container { width: 100px; background: red;}
|
| +</style>
|
| +<p>crbug.com/666487: There should be a green square below.</p>
|
| +<div class="container">
|
| + <div>
|
| + <div class="float"></div>
|
| + <br clear=all>
|
| + </div>
|
| + <div style="width: 20px; height; 1px"></div>
|
| + <div class="content" data-offset-x=50></div>
|
| +</div>
|
| +<script src="../../../resources/check-layout.js"></script>
|
| +<script>
|
| +checkLayout('.content');
|
| +</script>
|
|
|