summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/forms/select-writing-direction-natural.html
blob: 2c5ca4ddb5a79965a10a16baadd7eaef01763efa (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
34
35
36
37
38
39
40
41
42
43
44
45
<html>
<head>
    <style>
        @import url('../text/international/resources/Mac-compatible-font-fallback.css');
        select { width: 70px; }
    </style>
</head>
<body>
    <p>
        Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=13775">http://bugs.webkit.org/show_bug.cgi?id=13775</a>
        REGRESSION: Popup button text should use "natural" directionality to match the items in the popup menu</i>.
    </p>
    <p>
        In all of the popup buttons below, the letter A should be on the left and the letter &#x05d0; should be on the right.
    </p>
    <div style="direction: ltr;">
        <div style="text-align: left;">
            <select><option>&#x05d0;A</option></select>
            <select><option>A&#x05d0;</option></select>
            <select><option>(&#x05d0;A</option></select>
            <select><option>(A&#x05d0;</option></select>
        </div>
        <div style="text-align: right;">
            <select><option>&#x05d0;A</option></select>
            <select><option>A&#x05d0;</option></select>
            <select><option>(&#x05d0;A</option></select>
            <select><option>(A&#x05d0;</option></select>
        </div>
    </div>
    <div style="direction: rtl;">
        <div style="text-align: left;">
            <select><option>&#x05d0;A</option></select>
            <select><option>A&#x05d0;</option></select>
            <select><option>(&#x05d0;A</option></select>
            <select><option>(A&#x05d0;</option></select>
        </div>
        <div style="text-align: right;">
            <select><option>&#x05d0;A</option></select>
            <select><option>A&#x05d0;</option></select>
            <select><option>(&#x05d0;A</option></select>
            <select><option>(A&#x05d0;</option></select>
        </div>
    </div>
</body>
</html>