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

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

Issue 1394833002: Find In Page doesn't correctly highlight wrapped text. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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-expected.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/text-match-pre-wrapped-text-expected.html b/third_party/WebKit/LayoutTests/fast/repaint/text-match-pre-wrapped-text-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..36abc165e7163d9eb56ec47476217afc14497de2
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/repaint/text-match-pre-wrapped-text-expected.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<script src="../../resources/ahem.js"></script>
+<div style="position: relative;">
+ <pre id="demo" style="font-family: Ahem; width: 2em; white-space: pre-wrap">a b </pre>
+ <div style="position: absolute; top: 0; left: 1em; width: 1em; height: 2em; background-color: #ff9632;"></div>
+</div>
+<p>Test for crbug.com/521047. Passes if find-in-page marker highlight is visible in both lines above.

Powered by Google App Engine
This is Rietveld 408576698