W3C home > Mailing lists > Public > public-i18n-core@w3.org > April to June 2011

I18N-ISSUE-37: New attribute: submitdir [HTML5-bidi]

From: Internationalization Core Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Mon, 20 Jun 2011 16:41:15 +0000
To: public-i18n-core@w3.org
Message-Id: <E1QYhXH-0005D3-EG@lowblow.w3.org>

I18N-ISSUE-37: New attribute: submitdir [HTML5-bidi]


Raised by: Richard Ishida
On product: HTML5-bidi

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. 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 />


Then, if the user typed in the LTR value "hello", the submission URL would be "foo?mytest=hello&mytest_dir=ltr".

Please add comments to bugzilla:

For implementation status see:

IMPORTANT: This issue was moved from our old review tracking system to the new tracker system. For previous mail relating to this issue, see: http://www.w3.org/Search/Mail/Public/advanced_search?keywords=&hdr-1-name=subject&hdr-1-query=%20new%20attribute%20submitdir&hdr-2-name=from&hdr-2-query=&hdr-3-name=message-id&hdr-3-query=&index-grp=Member__FULL+Public__FULL&index-type=t&type-index=public-i18n-bidi%40w3.org&resultsperpage=20&sortby=date
Received on Monday, 20 June 2011 16:41:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:23:07 UTC