| Index: third_party/WebKit/LayoutTests/fast/repaint/destroy-composited-scrollbar.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/repaint/destroy-composited-scrollbar.html b/third_party/WebKit/LayoutTests/fast/repaint/destroy-composited-scrollbar.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1cf579d23aabfe8c63e09fa21e408f05133fb3ec
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/repaint/destroy-composited-scrollbar.html
|
| @@ -0,0 +1,15 @@
|
| +<!DOCTYPE html>
|
| +<script src="resources/text-based-repaint.js"></script>
|
| +<script>
|
| +if (window.internals)
|
| + internals.settings.setPreferCompositingToLCDTextEnabled(true);
|
| +function repaintTest() {
|
| + document.getElementById('content').style.height = '100px';
|
| +}
|
| +onload = runRepaintTest;
|
| +</script>
|
| +Tests invalidation when a composited scrollbar is destroyed. Passes if there is no scrollbar.
|
| +<div style="position: absolute; top: 100px; left: 0; width: 200px; height: 200px; overflow: auto; background-color: blue; will-change: transform">
|
| + <div id="content" style="width: 100px; height: 400px"></div>
|
| +</div>
|
| +
|
|
|