summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/editing/execCommand/findString-diacriticals.html
blob: 41ef942626b4033e0323870e9688165b8ec18e19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<p>
    Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=23051">https://bugs.webkit.org/show_bug.cgi?id=23051</a>
    web page searching should use ICU's search so it can ignore diacritical differences</i>.
</p>
<p>
    The word "s&eacute;lect" should be selected.
</p>
<hr>
<p id="result">
    FAIL
</p>
<script>
    if (window.testRunner)
        testRunner.dumpAsText();
    if (document.execCommand("FindString", false, "Sel" + String.fromCharCode(0x00CB) + "ct"))
        document.getElementById("result").innerText = "PASS";
</script>