Re: Publishing Web Notification Drafts

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

-atw

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