| Index: third_party/WebKit/LayoutTests/fast/repaint/text-match-pre-wrapped-text.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/repaint/text-match-pre-wrapped-text.html b/third_party/WebKit/LayoutTests/fast/repaint/text-match-pre-wrapped-text.html
|
| deleted file mode 100644
|
| index c1dbf4b8862d6ff9ac7bc6da65bc6f79d05014af..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/fast/repaint/text-match-pre-wrapped-text.html
|
| +++ /dev/null
|
| @@ -1,21 +0,0 @@
|
| -<!DOCTYPE html>
|
| -<script src="../../resources/ahem.js"></script>
|
| -<script src="../../resources/run-after-layout-and-paint.js"></script>
|
| -<pre id="demo" style="font-family: Ahem; width: 2em; white-space: pre-wrap">a b </pre>
|
| -<p>Test for crbug.com/521047. Passes if find-in-page marker highlight is visible in both lines above.
|
| -<script>
|
| -function highlightRange(id, start, end, active) {
|
| - var range = document.createRange();
|
| - var elem = document.getElementById(id).firstChild;
|
| - range.setStart(elem, start);
|
| - range.setEnd(elem, end);
|
| - if (window.internals) {
|
| - window.internals.addTextMatchMarker(range, active);
|
| - window.internals.setMarkedTextMatchesAreHighlighted(document, true);
|
| - }
|
| -}
|
| -
|
| -runAfterLayoutAndPaint(function() {
|
| - highlightRange('demo', 0, 4, true);
|
| -}, true);
|
| -</script>
|
|
|