W3C home > Mailing lists > Public > public-html@w3.org > September 2009

Re: Implementor feedback on new elements in HTML5

From: Robin Berjon <robin@berjon.com>
Date: Tue, 1 Sep 2009 15:10:42 +0200
Cc: Anne van Kesteren <annevk@opera.com>, HTML WG <public-html@w3.org>
Message-Id: <9F21740F-FA7E-41D4-BB7F-0E4C066E609D@berjon.com>
To: Henri Sivonen <hsivonen@iki.fi>
On Sep 1, 2009, at 13:33 , Henri Sivonen wrote:
> On Sep 1, 2009, at 14:19, Robin Berjon wrote:
>> Could adding an itemvaluetype attribute help (we can pick a better  
>> name later)? itemvaluetype = textContent | childNodes | ...  
>> defaulting to the former?
>
> How would you map the latter to JSON?

You stringify the markup and expose itemvaluetype so that one can  
reconstruct the original. In the API you'd return a DocumentFragment.

> Bringing in the whole complexity of DOM subtrees to microdata makes  
> in significantly less micro (consider XMLLiteral). I'd rather keep  
> microdata simple and address lack of native markup features without  
> microdata.


Other options could work, what did you have in mind?

-- 
Robin Berjon - http://berjon.com/
Received on Tuesday, 1 September 2009 13:24:35 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:07 UTC