[Webkit-unassigned] [Bug 50969] New: <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
Mon Dec 13 14:03:43 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=50969
Summary: <option> should support the dir attribute and be
displayed accordingly both in the dropdown and after
being chosen
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
URL: http://dev.w3.org/html5/spec/Overview.html#text-render
ed-in-native-user-interfaces
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: xji at chromium.org
CC: playmobil at google.com, aharon at google.com,
rniwa at webkit.org
Blocks: 50910
Following is from the spec:
10.6.4 Text rendered in native user interfaces
User agents are expected to honor the Unicode semantics of text that is exposed in user interfaces, for example supporting the bidirectional algorithm in text shown in dialogs, title bars, pop-up menus, and tooltips. Text from elements (either attribute values or the contents of elements) is expected to be rendered in a manner that honors the directionality of the element from which the text was obtained.
Consider the following markup, which has Hebrew text asking for a programming language, the languages being text for which a left-to-right direction is important given the punctuation in some of their names:
<p dir="rtl" lang="he">
<label>
בחר שפת תכנות:
<select>
<option dir="ltr">C++</option>
<option dir="ltr">C#</option>
<option dir="ltr">FreePascal</option>
<option dir="ltr">F#</option>
</select>
</label>
</p>
If the select element was rendered as a drop down box, a correct rendering would ensure that the punctuation was the same both in the drop down, and in the box showing the current selection.
Note: with image showing the item showing in drop-down and selection are both in LTR directionality and right alignment.
--
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