| Index: LayoutTests/compositing/squashing/squash-overflow-hidden-contents.html
|
| diff --git a/LayoutTests/compositing/squashing/squash-overflow-hidden-contents.html b/LayoutTests/compositing/squashing/squash-overflow-hidden-contents.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dfb085cc7e60809409a362395cc24a9e8b272bd4
|
| --- /dev/null
|
| +++ b/LayoutTests/compositing/squashing/squash-overflow-hidden-contents.html
|
| @@ -0,0 +1,39 @@
|
| +<!DOCTYPE html>
|
| +<style type="text/css" media="screen">
|
| + .container {
|
| + display: inline-block;
|
| + width: 200px;
|
| + height: 200px;
|
| + overflow: hidden;
|
| + margin: 10px;
|
| + border: 1px solid black;
|
| + }
|
| +
|
| + .inner {
|
| + width: 100%;
|
| + height: 1000px;
|
| + background-color: blue;
|
| + }
|
| +
|
| + .compositing {
|
| + position: absolute;
|
| + top: 20px;
|
| + left: 20px;
|
| + width: 100px;
|
| + height: 100px;
|
| + -webkit-transform: translateZ(0);
|
| + }
|
| +</style>
|
| +<script type="text/javascript" charset="utf-8">
|
| + if (window.internals)
|
| + window.internals.settings.setLayerSquashingEnabled(true);
|
| +</script>
|
| +<!-- Go into compositing. -->
|
| +<div class="compositing"></div>
|
| +
|
| +<!-- Test repainting when the graphicsLayer offsetFromRenderer changes -->
|
| +<!-- You should see one green square, and no red -->
|
| +<div class="container" style="position: relative;">
|
| + <div class="inner" style="position: relative;">
|
| + </div>
|
| +</div>
|
|
|