W3C home > Mailing lists > Public > public-web-notification@w3.org > February 2012

Re: directionality of a notification

From: Aharon (Vladimir) Lanin <aharon@google.com>
Date: Sun, 12 Feb 2012 18:16:35 +0200
Message-ID: <CA+FsOYaQtGvJ9iNcO5Tjwfjdc9YfNQMbNH1ckEkmMJPo7tX3gA@mail.gmail.com>
To: "Kang-Hao (Kenny) Lu" <kennyluck@csail.mit.edu>
Cc: John Gregg <johnnyg@google.com>, Web Notification WG <public-web-notification@w3.org>, ML publc-i18n-bidi <public-i18n-bidi@w3.org>
> Do we actually need the dir attribute on interface Notification at all?

I would say yes. It is a lot easier to use than LRM or RLM at the start of
the message (when first-strong gets it wrong). And we even considered
asking the bodies responsible for JS standardization to add a dir parameter
to alert(), confirm(), and prompt(), except that those bodies are a zoo,
and I did not think that our chances of getting a (positional) parameter
allocated for bidi purposes were good. But neither argument is relevant


On Sun, Feb 12, 2012 at 6:00 PM, Kang-Hao (Kenny) Lu <
kennyluck@csail.mit.edu> wrote:

> (12/02/12 23:28), Aharon (Vladimir) Lanin wrote:
> > We decided not to try to derive the direction from the element enclosing
> > the script, or even from the overall page direction, because it makes it
> > very difficult to code scripts if the strings they display are
> interpreted
> > one way in one page and another way in another.
> >
> > I think that the same reasoning applies here. The "auto" value should not
> > mean inheritance, but first-strong estimation, and should in fact be the
> That sounds good. I think the remaining questions are
> 1) Do we still need a value for a state that does the "inheritance"?
> 2) Do we actually need the dir attribute on interface Notification at all?
> I guess the answer to the first question is "no" according to what you
> just said. This has the advantage that we don't need to work out all the
> inheritance logic and feedback 1. in my original mail gets resolved by
> itself. We also don't need to come up with a keyword for this state.
> I can't answer question 2. but if we are making analogy with alert() and
> confirm() my guess is that the answer is "no" as well?
> Cheers,
> Kenny
Received on Sunday, 12 February 2012 16:17:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:53:13 UTC