Index: LayoutTests/editing/text-iterator/findString.html |
diff --git a/LayoutTests/editing/text-iterator/findString.html b/LayoutTests/editing/text-iterator/findString.html |
index bd79c38b121e23ca64e86742026fdf8c148cdd5a..6f914190906dc8fce9ce8d40577191f61a207c8a 100644 |
--- a/LayoutTests/editing/text-iterator/findString.html |
+++ b/LayoutTests/editing/text-iterator/findString.html |
@@ -12,7 +12,7 @@ |
log("Searching for \u2018" + target + "\u2019 " + (text.length <= 64 ? "in \u2018" + text + "\u2019 " : "in long string ") + "with options [" + options.join(", ") + "]:"); |
var container = document.getElementById("container"); |
- container.innerText = text; |
+ container.innerHTML = text; |
document.body.offsetTop; |
var selection = getSelection(); |
selection.empty(); |
@@ -109,5 +109,7 @@ |
testFindString("Use an @import rule", "@", ["AtWordStarts"], [[7, 8], []]); |
testFindString("If ((x + 5) * 2) = 14, then x = 2", "(x", ["AtWordStarts"], [[4, 6], []]); |
+ testFindString("hello<img src='../resources/abe.png'>world", "lowo", [], [[3, 2], []]); |
+ |
document.getElementById("console").style.removeProperty("visibility"); |
</script> |