[Webkit-unassigned] [Bug 50928] RTL: Select elements with a size attribute are always left aligned

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 15 18:49:44 PST 2011


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





--- Comment #11 from Aharon (Vladimir) Lanin <aharon at google.com>  2011-02-15 18:49:43 PST ---
A couple of thoughts:

1. when the select with size has dir=rtl, its scrollbar should be on the left. It is currently on the right. This is completely analogous to the drop-down button when there is no size, which on a select with dir=rtl comes out on the left. I know that Firefox doesn't get this right either, but I don't care - it's a bug. IE8 gets it right.

2. If you are going to make text-align work for options in a select with size, I think it is critical that you put the following in your default stylesheet:

select {text-align:start}
option {text-align:match-parent}

The first will prevent options in a select with size whose ancestor has text-align:center come out centered by default.

The second will make options with different dir in a select with size come out aligned to different sides.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list