Index: third_party/WebKit/LayoutTests/compositing/overflow/selection-gaps-toggling.html |
diff --git a/third_party/WebKit/LayoutTests/compositing/overflow/selection-gaps-toggling.html b/third_party/WebKit/LayoutTests/compositing/overflow/selection-gaps-toggling.html |
deleted file mode 100644 |
index edee4126473522437f287c9b5b17b4d7d74216cf..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/LayoutTests/compositing/overflow/selection-gaps-toggling.html |
+++ /dev/null |
@@ -1,75 +0,0 @@ |
-<!DOCTYPE html> |
-<style> |
- .container { |
- height: 500px; |
- width: 300px; |
- overflow: scroll; |
- } |
- |
- .scrolled { |
- height: 50px; |
- width: 100px; |
- background: orange; |
- margin: 15px; |
- transform: translateZ(0); |
- } |
-</style> |
-<script> |
- if (window.testRunner) |
- testRunner.dumpAsText(); |
- |
- if (window.internals) |
- window.internals.settings.setPreferCompositingToLCDTextEnabled(true); |
- |
- onload = function() |
- { |
- var pre = document.getElementById("console"); |
- |
- pre.innerHTML = ''; |
- |
- if (window.internals) { |
- var layerTreeAsText = internals.layerTreeAsText(document); |
- pre.innerHTML += '\n\n*** iteration 1: ***\n\n'; |
- pre.innerHTML += layerTreeAsText; |
- } |
- |
- var selection = getSelection(); |
- |
- var range = document.createRange(); |
- range.selectNode(document.getElementById("selection")); |
- selection.addRange(range); |
- |
- if (window.internals) { |
- var layerTreeAsText = internals.layerTreeAsText(document); |
- pre.innerHTML += '\n\n*** iteration 2: ***\n\n'; |
- pre.innerHTML += layerTreeAsText; |
- } |
- |
- selection.removeAllRanges(); |
- |
- if (window.internals) { |
- var layerTreeAsText = internals.layerTreeAsText(document); |
- pre.innerHTML += '\n\n*** iteration 3: ***\n\n'; |
- pre.innerHTML += layerTreeAsText; |
- } |
- } |
-</script> |
- |
-This test passes if the container's scrolling contents layer (the first child of the GraphicsLayer with 4 children) |
-doesn't draw content at all, and its scrolling block selection layer (the child of the scrolling contents layer) |
-draws content only on iteration 2. The scrolling block selection layer should also be much smaller than the |
-scrolling contents layer. |
- |
-<div class="container"> |
- <div class="scrolled">Lorem Ipsum</div> |
- <div class="scrolled">Lorem Ipsum</div> |
- <div class="scrolled" id="selection">Lorem Ipsum</div> |
- <div class="scrolled">Lorem Ipsum</div> |
- <div class="scrolled">Lorem Ipsum</div> |
- <div class="scrolled">Lorem Ipsum</div> |
- <div class="scrolled">Lorem Ipsum</div> |
- <div class="scrolled">Lorem Ipsum</div> |
- <div class="scrolled">Lorem Ipsum</div> |
- <div class="scrolled">Lorem Ipsum</div> |
-</div> |
-<pre id="console"></pre> |