- From: <bugzilla@jessica.w3.org>
- Date: Tue, 09 Nov 2010 20:11:29 +0000
- To: public-html-bugzilla@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10809 Behdad Esfahbod <w3@behdad.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |w3@behdad.org --- Comment #44 from Behdad Esfahbod <w3@behdad.org> 2010-11-09 20:11:27 UTC --- (In reply to comment #43) > 3. If you do want to specify a complete name, there is also a completely > different alternative: pull instead of push. We could have an attribute named > dirof, or even directionof, and its value would be the name of another control > in the same form whose computed direction ('ltr' or 'rtl') would provide this > control's value at submit time. For example: > > <input name=foo type=text dir=auto /> > <input name=foodir directionof=foo /> > > The default stylesheet would make all inputs with directionof hidden by > default. And there is no need to specify a type value for a directionof input - > it must be text. > > This way, there is no magic creation of a submission control, and no room to > wonder where if there is or not. I like this proposal. Except that 1. it's a lot of typing. 2. To work best with older browsers, you need to manually hide it anyway, so, no gain there. Here's yet another proposal: <input name=foo type=text xxx=xxx> where xxx is whatever attribute name we comeup with. What this does though, is that it will instruct the agent to included exactly one of U+200E or U+200F at the beginning of the submitted text, depending on the resolved direction of the text. -- Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Received on Tuesday, 9 November 2010 20:11:32 UTC