<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>
    <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>
