- From: <bugzilla@jessica.w3.org>
- Date: Wed, 29 Sep 2010 12:25:31 +0000
- To: public-html@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10809 Summary: i18n comment 3 : new attribute: submitdir Product: HTML WG Version: unspecified Platform: PC OS/Version: Windows XP Status: NEW Severity: normal Priority: P2 Component: HTML5 spec (editor: Ian Hickson) AssignedTo: ian@hixie.ch ReportedBy: public-i18n-bidi@w3.org QAContact: public-html-bugzilla@w3.org CC: mike@w3.org, public-html-wg-issue-tracking@w3.org, public-html@w3.org, public-i18n-bidi@w3.org Comment from the i18n review of: http://dev.w3.org/html5/spec/ Comment 3 At http://www.w3.org/International/reviews/html5-bidi/ Editorial/substantive: S Tracked by: AL Location in reviewed document: undefined [http://dev.w3.org/html5/spec/spec.html#contents] Comment:This is a part of the proposals made by the "Additional Requirements for Bidi in HTML" W3C First Public Working Draft. For a full description of the use cases, please see http://www.w3.org/International/docs/html-bidi-requirements/#reporting-direction [http://www.w3.org/International/docs/html-bidi-requirements/#reporting-direction] . Here is the proposal made there: Support a new attribute, tentatively named submitdir, in <input> and <textarea>. Its presence will specify that when the element is a "successful control" (i.e. its value is to be included in the form submission), then the value of the element's computed direction (at submission time) is also to be included in the submission, as an additional "successful control". (Reminder: the computed direction is the bottom-line "ltr" or "rtl" being used to display the element; it never takes on any other value. It is available as the value of the CSS direction property for the element.) The additional control's name is to be the element's control name suffixed with "_dir". If the form contains other control(s) with the same control name as the additional control, the additional control will still be submitted alongside them; it is up to the application to sort out what the different control values mean. The value of the submitdir attribute is immaterial; it would normally be an empty string (when the attribute is present without a value) or "submitdir". For example, let's assume that a dir attribute value to indicate direction estimation is "auto", and an RTL page contains the following form: <form action="foo" method="get"> <input type="text" name="mytest" dir="auto" submitdir /> </form> Then, if the user typed in the LTR value "hello", the submission URL would be "foo?mytest=hello&mytest_dir=ltr". -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
Received on Wednesday, 29 September 2010 12:25:33 UTC