RE: [widgets] dir and span elements

Hi Art,

Thanks. We will review the proposal and get back to you as soon as possible. Please note that our regular WG teleconferences are scheduled for Wednesdays at 17:30Z and we will discuss a WG response there, although some of us may reply individually prior to that.

Regards,

Addison

Addison Phillips
Globalization Architect -- Lab126

Internationalization is not a feature.
It is an architecture.

From: Arthur Barstow [mailto:art.barstow@nokia.com]
Sent: Monday, March 01, 2010 6:27 AM
To: Richard Ishida; Phillips, Addison; Felix Sasaki
Cc: Marcos Caceres; www-archive
Subject: Fwd: [widgets] dir and span elements

Hi All,

WebApps WG would greatly appreciate it if you would send us your comments (as soon as possible) about Marcos proposal below. Please send any comments to at least public-webapps.

-Thanks, Art

Begin forwarded message:


From: ext Marcos Caceres <marcosc@opera.com<mailto:marcosc@opera.com>>
Date: February 26, 2010 12:44:50 PM EST
To: public-webapps <public-webapps@w3.org<mailto:public-webapps@w3.org>>
Cc: "public-i18n-core@w3.org<mailto:public-i18n-core@w3.org>" <public-i18n-core@w3.org<mailto:public-i18n-core@w3.org>>
Subject: [widgets] dir and span elements
Reply-To: "marcosc@opera.com<mailto:marcosc@opera.com>" <marcosc@opera.com<mailto:marcosc@opera.com>>
Archived-At: <http://www.w3.org/mid/b21a10671002260944i31d7230es6e05af8f696118cd@mail.gmail.com>

Hi i18n WG,
I've added the dir attribute and span elements to the Widgets P&C
Specification, as well as a bunch of examples (which are wrong, so I
would really appreciate some help with these!).

The dir attribute is specified here:
http://dev.w3.org/2006/waf/widgets/#global-attributes


The span element is specified here:
http://dev.w3.org/2006/waf/widgets/#the-span-element

The processing step that defers to the yet to be written [WIDGET-BIDI]
specification is defined here:
http://dev.w3.org/2006/waf/widgets/#rule-for-getting-text-content


The specification makes it mandatory that a user agent implement the
WIDGET-BIDI spec:

"A user agent is an implementation of this specification that also
supports [XML], [XMLNS], [UTF-8], [DOM3CORE], [SNIFF], [WIDGETS-BIDI],
and [ZIP]..."

We would appreciate your review and any assistance you can provide.
In particular, we would appreciate your guidance into what would go
into the Widgets Bidi specification (i.e., how processing is done for
dir and span). At the moment, we only have the following text for such
a specification (based on HTML5's bdo element):

[[
If an element has the dir attribute set to the exact value ltr, then
for the purposes of the bidi algorithm, the user agent must act as if
there was a U+202D LEFT-TO-RIGHT OVERRIDE character at the start of
the element, and a U+202C POP DIRECTIONAL FORMATTING at the end of the
element.

If the element has the dir attribute set to the exact value rtl, then
for the purposes of the bidi algorithm, the user agent must act as if
there was a U+202E RIGHT-TO-LEFT OVERRIDE character at the start of
the element, and a U+202C POP DIRECTIONAL FORMATTING at the end of the
element.

The requirements on handling the span element for the bidi algorithm
may be implemented indirectly through the style layer.
]]

Thanks again for all your time and help!

Kind regards,
Marcos
--
Marcos Caceres
http://datadriven.com.au

Received on Monday, 1 March 2010 15:30:13 UTC