Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(819)

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/text-match-pre-wrapped-text.html

Issue 2327223002: Move all remaining fast/repaint tests to paint/invalidation (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698