Re: Publishing Web Notification Drafts

> 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 UTC