W3C home > Mailing lists > Public > public-web-notification@w3.org > October 2010

Re: Publishing Web Notification Drafts

From: Drew Wilson <atwilson@google.com>
Date: Wed, 13 Oct 2010 13:38:22 -0700
Message-ID: <AANLkTimX241NiVstJoDRxiCdUrMgZUkPoFmqe5K0dEQy@mail.gmail.com>
To: John Gregg <johnnyg@google.com>
Cc: Anne van Kesteren <annevk@opera.com>, Jonas Sicking <jonas@sicking.cc>, Doug Turner <dougt@dougt.org>, Web Notification WG <public-web-notification@w3.org>
On Wed, Oct 13, 2010 at 1:29 PM, John Gregg <johnnyg@google.com> wrote:

> > We don't have LTR/RTL indicators for alert() etc. Why are they needed
> here?
> >
> I believe that is generally seen as a shortcoming, not something to be
> used as a model, considering
> http://www.w3.org/TR/html-bidi/#script-dialog
>  -John

I think there are two issues here:

1) Should notifications inherit the directionality of the parent document?
If not, that implies that we're explicitly not supporting RTL languages. If
we are inheriting the directionality of the parent document, what does that
mean for notifications generated from WebWorkers? What if the underlying
platform doesn't allow specifying directionality for notifications - should
the spec specify what should happen in that case?

2) There are some use cases where a document may want to display a
notification that has directionality that is different from the document
itself. For example, a user is viewing Hebrew gmail, but then gets an
english email and wants to display an english-style notification (I'm a
little unclear on the use case for overriding document direction, so perhaps
there's a better example).

So I think one might be able to make a case that we don't need an explicit
'dir' attribute (issue #2), but we still need to figure out issue #1 (we
can't just punt on the issue because some platform doesn't support RTL).

Received on Wednesday, 13 October 2010 20:38:52 UTC

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