summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/match-marker-rects.html
blob: d6509650b85bdcdd5c61eefb79a1f8aa43c7e6f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<style>
    div {
        height: 50px;
        width: 110px;
        margin: 10px 0;
        padding: 10px;
        border: solid black;
        font-size: 25px;
    }

    div.columns {
        -webkit-columns: 2;
        -webkit-column-gap: 10px;
    }

    div.scroll {
        overflow-y: scroll; 
    }
</style>
<p>
    In Safari, choose Edit > Find > Find, and type the strings &ldquo;xyz&rdquo;
    and &ldquo;123&rdquo;. The white &ldquo;holes&rdquo; in the Find overlay
    should line up with the matching text below.
</p>
<div class="columns">
    <br>xyz
</div>
<div class="scroll" id="scroll">
    <br><br>123<br><br>
</div>
<script>
    document.getElementById("scroll").scrollTop = 100;
</script>