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

dir/lang proposal

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 17 Jul 2012 10:39:53 +0200
Message-ID: <CADnb78j8d0e4FyFeEVCEGrLYv+C8HV1w0GWyZPexeSjrfqDkaA@mail.gmail.com>
To: Web Notification WG <public-web-notification@w3.org>
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?


-- 
http://annevankesteren.nl/
Received on Tuesday, 17 July 2012 08:40:26 GMT

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