Closed Bug 614754 Opened 14 years ago Closed 14 years ago

Determine the text alignment of option elements based on the computed direction of their parent select element, and not by the direction of the option element itself

Categories

(Core :: Layout: Form Controls, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: ehsan.akhgari, Unassigned)

References

()

Details

The HTML5 spec has been modified to suggest that:

"User agents are expected to render the labels in a select in such a manner that any alignment remains is consistent whether the label is being displayed as part of the page or in a menu control."

<http://dev.w3.org/html5/spec/Overview.html#the-select-element-0>

We currently use the option element's computed direction style to determine the text alignment of the option element, and we need to change that to determine the text alignment based on the computed direction of the parent select element.

This applies to both <select> and <select size=n>.
It's not clear to me how the text you quote implies the conclusion.... but that might be because the grammar is so atrocious that I can't tell what it's trying to say.
I have actually filed the bug in error.  I will file the correct bug soon, and instead of morphing this one, I will close it to minimize the confusion in the future.
No longer blocks: html5bidi
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
The correct issue is bug 614851.
You need to log in before you can comment on or make changes to this bug.