| Index: third_party/WebKit/LayoutTests/fast/overflow/add-visual-overflow-and-change-container-position.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/overflow/add-visual-overflow-and-change-container-position.html b/third_party/WebKit/LayoutTests/fast/overflow/add-visual-overflow-and-change-container-position.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7cb36d9aeb4d8b1339699e9c59157c45e1bd7b69
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/overflow/add-visual-overflow-and-change-container-position.html
|
| @@ -0,0 +1,13 @@
|
| +<!DOCTYPE html>
|
| +Tests overflow recalc when container changes position but no layout is scheduled for descendants.
|
| +Passes if the blue square has black box shadow.
|
| +<div id="container" style="width: 200px; height: 200px">
|
| + <div id="target" style="width: 200px; height: 200px; background-color: blue"></div>
|
| +</div>
|
| +<script src="../../resources/run-after-layout-and-paint.js"></script>
|
| +<script>
|
| +runAfterLayoutAndPaint(function() {
|
| + container.style.position = 'fixed';
|
| + target.style.boxShadow = '50px 50px black';
|
| +}, true);
|
| +</script>
|
|
|