[Webkit-unassigned] [Bug 50969] <option> should support the dir attribute and be displayed accordingly both in the dropdown and after being chosen

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 8 08:51:41 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=50969

Ahmad Saleem <ahmad.saleem792 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ahmad.saleem792 at gmail.com

--- Comment #29 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
(In reply to Jeremy Moskovich from comment #2)
> Levi: perhaps what you're seeing is Cocoa aligning Hebrew text to the right
> and English text to the left?  What about the following case:
> 
>   <select>
>    <option dir="rtl">Right aligned</option>
>    <option dir="ltr">left aligned</option>
>    <option dir="ltr">מיושר לשמאל</option>
>    <option dir="rtl">מיושר לימין</option>
>   </select

I changed it into JSFiddle:

Link - https://jsfiddle.net/9rny41Lh/

and I am able to reproduce this in Safari Technology Preview 155 and it does not show options aligned left to right similar to Chrome Canary 108 and Firefox Nightly 107.

NOTE - Chrome show all options in drop-down as LTR while when selecting, the RTL options are displayed as RTL. In case of Firefox, the options are displayed in drop-down as appropriate as well and "Tick" also respect the LTR and RTL. I would say "Firefox" has superior implementation IMO.

_____

Just to share updated testing results. Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221008/f084896c/attachment.htm>


More information about the webkit-unassigned mailing list