W3C home > Mailing lists > Public > public-i18n-bidi@w3.org > July to September 2010

Re: per-paragraph auto-direction, a.k.a. dir=uba

From: Aharon (Vladimir) Lanin <aharon@google.com>
Date: Wed, 25 Aug 2010 17:02:53 +0300
Message-ID: <AANLkTikm=bvnBxJRu6+Hyyou2O96iH4Z31p_eQ2ZEyo2@mail.gmail.com>
To: Ehsan Akhgari <ehsan@mozilla.com>
Cc: Behdad Esfahbod <behdad@behdad.org>, Adil Allawi <adil@diwan.com>, Shachar Shemesh <shachar@shemesh.biz>, public-i18n-bidi@w3.org
<textarea> allows user input, has the look and feel of an input (e.g. the
border around it), and serves as a field in a form.

The new element is for display only, like <pre>.

Aharon

On Wed, Aug 25, 2010 at 4:23 PM, Ehsan Akhgari <ehsan@mozilla.com> wrote:

> On Wed, Aug 25, 2010 at 8:41 AM, Aharon (Vladimir) Lanin
> <aharon@google.com> wrote:
> > Whether the default behavior of <textarea> should / can change is a
> separate
> > question. But to achieve this more limited goal without running into the
> > problems described above, we could allow dir=uba on just two elements:
> > <textarea> and a new element that we could call <textareadiv> or perhaps
> > <plaintext>. The latter would be just like a <pre> except that:
> >
> > It would not allow mark-up (in the same way that <textarea> does not
> allow
> > mark-up).
> > It would have the same script-accessible properties as <textarea>,
> including
> > a settable value property.
> >
> > In other words, it would be the output counterpart of <textarea>. In
> terms
> > of CSS, dir=uba would result in unicode-bidi having the new value "uba"
> > (which is only allowed on <textarea> and <plaintext>); the element would
> > inherit direction as normal, but its effect under unicode-bidi:uba would
> be
> > limited to when the content is completely neutral.
>
> What purposes would the second element serve?  I don't see its
> advantage over <textarea>.
>
>
> --
> Ehsan
> <http://ehsanakhgari.org/>
>
Received on Wednesday, 25 August 2010 14:03:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 August 2010 14:03:48 GMT