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

Re: Publishing Web Notification Drafts

From: John Gregg <johnnyg@google.com>
Date: Wed, 13 Oct 2010 13:59:16 -0700
Message-ID: <AANLkTi=1JpZiCvnLErvGL60+uBEEGKp9mOB-XYKNoMO8@mail.gmail.com>
To: Drew Wilson <atwilson@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>
> 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?
>

The current draft says: "Since the notification does not have a parent
element, if the notification's directionality state is not ltr or rtl,
the directionality shall be the same as the document, or ltr if there
is no document." So by default, it inherits, but the author can
override.

The workers (and extensions) use cases were motivating for providing a
dir attribute rather than always inheriting from the page.
Additionally, I had conversations with developers interested in RTL
notifications (perhaps there are some on this list to elaborate?) who
indicated that in practice, many RTL web pages are implemented as LTR
at the page level and only specify RTL at lower levels, so the
attribute is useful.

 -John
Received on Wednesday, 13 October 2010 20:59:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 17 December 2012 14:48:27 GMT