| Index: third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-transparent-background.html
|
| diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-transparent-background.html b/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-transparent-background.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5973fa417366c8ac5f9a6f812849fca295170311
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/compositing/overflow/overflow-scroll-with-transparent-background.html
|
| @@ -0,0 +1,28 @@
|
| +<script>
|
| +if (window.testRunner)
|
| + window.testRunner.dumpAsText();
|
| +onload = function() {
|
| + if (window.testRunner && window.internals)
|
| + document.getElementById('layertree').innerText = window.internals.layerTreeAsText(document);
|
| +}
|
| +</script>
|
| +<style>
|
| +#scroller {
|
| + background: white local content-box;
|
| + border: 10px solid rgba(0, 255, 0, 0.5);
|
| + overflow: scroll;
|
| + padding: 10px;
|
| + width: 180px;
|
| + height: 180px;
|
| + will-change: transform;
|
| +}
|
| +.spacer {
|
| + height: 280px;
|
| +}
|
| +</style>
|
| +<!-- The scroller's Scrolling Contents Layer should be opaque due to the opaque
|
| + color background. This means that we will be able to draw text with subpixel
|
| + anti-aliasing.
|
| +-->
|
| +<div id="scroller"><div class="spacer"></div></div>
|
| +<pre id="layertree"></pre>
|
|
|