W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2010

Re: [widgets] dir and span elements

From: Marcos Caceres <marcosc@opera.com>
Date: Sat, 6 Mar 2010 17:22:34 +0100
Message-ID: <b21a10671003060822j116a41d2of8ca94468e5b78ae@mail.gmail.com>
To: Scott Wilson <scott.bradley.wilson@gmail.com>
Cc: public-webapps <public-webapps@w3.org>, public-i18n-core@w3.org
(Apologies, I'm re-replying to this email to make sure I've personally
covered all the issues raised)

On Mon, Mar 1, 2010 at 6:44 PM, Scott Wilson
<scott.bradley.wilson@gmail.com> wrote:
> Hi Marcos,
>
> I can live with this, with a few comments:
>
> 1. "dir" is now an (optional?) attribute of every element; however,

I've added the following to make it clear that dir is optional (under
the section Global Attributes).

"Authoring Guidelines: Although is optional for an author to use any
global attributes, their usage is recommended when appropriate (e.g.,
when declaring the language will help with legibility and when
directional information will assist the user agent render text
correctly)."

> previously its usage was limited to elements that contain human-readable
> text content: <author>, <license>, <description>, and <name>. Is there a
> reason for making it global in this manner? E.g. would it not make more
> sense to specify "dir" attributes on these four specific P&C elements? I
> don't see anyone putting "dir" on (e.g.) the height attribute, nor would we
> want to include a test for it for compliance with optional spec features.

The benefits of extensibility outweigh defining the attribute per
element, IMO. However, you are absolutely correct in saying that dir's
influence is not globally applied... this will be addressed
separately.

> 2. "span" should be allowed as a child element of the <license> element as
> well as for <name>, <description> and <author>.

I have made this clear now in the spec by including the following to
the definition of the element:
[[
Context in which this element is used: As a child of the name, author,
license, description.
Occurrences: Zero or more
Expected children: Any.
Localizable via xml:lang: No.
Attributes: Globals.
]]



-- 
Marcos Caceres
http://datadriven.com.au
Received on Saturday, 6 March 2010 16:23:23 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:37 GMT