Spec edits: div/span and @dir/@class

Hello Jonathan,

I'm going through the disposition of comments and the actions list,
trying to pull together the spec edits that need to be done. Here is
the next one I have found.

I18N-ISSUE-7: Paragraphs and inline content 
http://dev.w3.org/webfonts/WOFF/DoC/issues-lc-2010.html#issue-13

I18N-ISSUE-8: Direction attributes needed
http://dev.w3.org/webfonts/WOFF/DoC/issues-lc-2010.html#issue-14

The edits for these two issues consist of adding a) div and span elements as children of 'text' elements, 

and b) adding @dir and @class to 'vendor', 'credit',  'licensee','text', 'name', 'div', 'span' 'item' and 'value' elements (so, the elements that contain text (text, div, span) plus the elements that don't themselves have text elements as children, but have attributes with text).

Add to the list of elements:

div element

  A block-level element used, for example, to contain a paragraph.

span element
  
  An inline element used, for example, to indicate a run of text with a different text direction, or in a different language.

For all the above elements, add to the table of attributes

dir     The text direction, either 'ltr' (for "left to right") or 'rtl' (for "right to left"). This attribute is OPTIONAL and, if omitted, defaults to 'ltr'.

class   An arbitrary set of space-separated tokens. This attribute is OPTIONAL.

We should also add examples of div and span. I made a start on one in the earlier email.
http://lists.w3.org/Archives/Public/www-font/2011AprJun/0000.html
although the URI in that email makes more sense as
http://dev.w3.org/webfonts/WOFF/spec/metadata/GentiumPlus-WOFF-metadata.xml

I have asked the I18n Core WG for text that can be used in examples of dir (Arabic or Hebrew text).

Note: I based the dir on emails with Richard and the definition in HTML5
http://www.w3.org/TR/html5/elements.html#the-dir-attribute
omitting the 'auto' value which seems, from the editors note, to be problematic. I also took the 'set of space separated tokens' wording for @class from HTML5
http://www.w3.org/TR/html5/elements.html#classes

I haven't updated the RNG yet for div/span, reading up on interleave and mixed content models first. I have however added the @dir and @class.

-- 
 Chris Lilley   Technical Director, Interaction Domain                 
 W3C Graphics Activity Lead, Fonts Activity Lead
 Co-Chair, W3C Hypertext CG
 Member, CSS, WebFonts, SVG Working Groups

Received on Tuesday, 24 May 2011 17:37:07 UTC