Index: LayoutTests/fast/repaint/text-match-pre-wrapped-text.html |
diff --git a/LayoutTests/fast/repaint/text-match-transparent-text.html b/LayoutTests/fast/repaint/text-match-pre-wrapped-text.html |
similarity index 66% |
copy from LayoutTests/fast/repaint/text-match-transparent-text.html |
copy to LayoutTests/fast/repaint/text-match-pre-wrapped-text.html |
index 6540ce66688a0fb8b7961652d38196e28a6cf2b4..65a73cbfc37a379845c4ffab7d9ddd916bd33c1d 100644 |
--- a/LayoutTests/fast/repaint/text-match-transparent-text.html |
+++ b/LayoutTests/fast/repaint/text-match-pre-wrapped-text.html |
@@ -9,12 +9,11 @@ |
window.internals.setMarkedTextMatchesAreHighlighted(document, true); |
} |
function highlightTest() { |
- highlightRange('1', 2, 5, true); |
+ highlightRange('1', 53, 60, true); |
} |
</script> |
<body onload="highlightTest()"> |
-Test for crbug.com/504712 |
-<p>Find In Page: The below transparent text "ndM" from findMe should be highlighted as orange and painted as black</p> |
-<span id="1" style="color:transparent">findMe</span> |
+Test for crbug.com/521047 |
+<pre id="1" style="max-width:460px; white-space:pre-wrap">Find In Page should correctly highlight wrapped text Find Me </pre> |
</body> |