| Index: third_party/WebKit/LayoutTests/paint/invalidation/compositing/should-not-repaint-composited-descendants.html
|
| diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/compositing/should-not-repaint-composited-descendants.html b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/should-not-repaint-composited-descendants.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..aded658934d17df65ee0d35873a7b2196cc51aab
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/paint/invalidation/compositing/should-not-repaint-composited-descendants.html
|
| @@ -0,0 +1,29 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +#composited-box {
|
| + backface-visibility: hidden;
|
| + position: absolute;
|
| + background-color: green;
|
| + clip: rect(40px, 110px, 110px, 40px);
|
| +}
|
| +.child {
|
| + width: 50px;
|
| + height: 50px;
|
| + background-color: green;
|
| +}
|
| +.composited {
|
| + backface-visibility: hidden;
|
| +}
|
| +</style>
|
| +<script src="../resources/text-based-repaint.js"></script>
|
| +<script>
|
| +function repaintTest() {
|
| + // This will cause a full layer repaint, but should not include the composited child.
|
| + document.getElementById('composited-box').style.clip = 'rect(30px, 120px, 120px, 30px)';
|
| +}
|
| +window.onload = runRepaintTest;
|
| +</script>
|
| +<div id="composited-box">
|
| + <div class="child"></div>
|
| + <div class="composited child"></div>
|
| +</div>
|
|
|