mejllistor at kodfabrik.se
Wed Sep 5 07:23:59 PDT 2007
Manu Sporny wrote:
> Dimitri Glazkov wrote:
>> I really like the idea of allowing additional control over
>> presentation via pseudo-classes, but I am worried that :target isn't
>> quite right, at least if we follow the spec to the letter
>> (http://www.w3.org/TR/css3-selectors/#target-pseudo), specifically
>> since this pseudo-class is not dynamic and there may or may not be a
>> fragment identifier on the microformat.
> the “semanticDataUI” global variable attached to the currently loaded
> document. A publisher could disable the semantic data UI in any browser
> Users could control whether or not they allow web pages to disable the
> Semantic Data UI. Most would probably allow web pages to disable the
> semantic data UI.
> Publishers could manually disable the Semantic Data UI and use CSS to
> mark up their hCards, hCalendars, and hAudios.
> This would give cross-browser UI control to both the users and the
> publishers without having to do any CSS magic.
Interesting! Perhaps semanticData.ui.disable() instead and have
functions like semanticData.getDataById and other DOM-like functions and
when you have some data you have fooDataObject.action() or something and
fooDataObject.dataType just like nodeType exists in DOM etc.
Something like a SDOM (SemanticDataObjectModel) standard?
More information about the microformats-discuss