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

Re: dir/lang proposal

From: Jonas Sicking <jonas@sicking.cc>
Date: Tue, 17 Jul 2012 02:41:38 -0700
Message-ID: <CA+c2ei9vGHMY69g+fdXGpjODiDkZjrZgSsBwr8FGL+ERyM90zQ@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: Web Notification WG <public-web-notification@w3.org>
On Tue, Jul 17, 2012 at 1:39 AM, Anne van Kesteren <annevk@annevk.nl> wrote:
> There have been several concerns raised with the current solution for direction:
>
> * Too much complexity for developers
> * Not widely supported on platforms yet
> * Does not indicate the direction for the notification as a whole
> * Does not deal with direction changes within the same piece of text
>
> Going back to a single dir attribute for now makes sense to me,
> extending it later once we have some more deployment experience. We
> can then provide a specific override for the body text, rather than
> have a dir for each piece of text independently.
>
> I think we should do the same for lang. So just have the dictionary
> take a dir and lang member for now, extending it later as usage
> problems arise.
>
> For error handling I suggest we ignore the lang member and treat the
> language as unknown if its value could not be parsed (rather than
> throwing).
>
> Thoughts?

Sounds good to me. (I'd also love to get feedback on the icon issue
that I raised).

/ Jonas
Received on Tuesday, 17 July 2012 09:42:40 GMT

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