| Index: LayoutTests/fast/repaint/paint-invalidation-with-opacity.html
|
| diff --git a/LayoutTests/fast/repaint/paint-invalidation-with-opacity.html b/LayoutTests/fast/repaint/paint-invalidation-with-opacity.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..afc93d301da356ab529cb9cab5ea2f6f3f6afcfc
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/repaint/paint-invalidation-with-opacity.html
|
| @@ -0,0 +1,21 @@
|
| +<!doctype html>
|
| +<div id="target" style="width: 100px; height: 100px; background: lightblue"></div>
|
| +<script src="../../resources/run-after-display.js"></script>
|
| +<script>
|
| +if (testRunner) {
|
| + testRunner.dumpAsText();
|
| + testRunner.waitUntilDone();
|
| +}
|
| +
|
| +runAfterDisplay(function() {
|
| + if (internals)
|
| + window.internals.startTrackingRepaints(document);
|
| +
|
| + document.getElementById('target').style.opacity = 0.5;
|
| +
|
| + if (testRunner)
|
| + testRunner.setCustomTextOutput(window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_REPAINT_RECTS));
|
| +
|
| + testRunner.notifyDone();
|
| +});
|
| +</script>
|
|
|