Re: [whatwg] Annotating structured data that HTML has no semantics for

2009-05-11 Thread Simon Pieters
On Sun, 10 May 2009 12:32:34 +0200, Ian Hickson i...@hixie.ch wrote: Page 3: h2My Catsh2 dl dtSchrouml;dinger dd item=com.damowmow.cat meta property=com.damowmow.name content=Schrouml;dinger meta property=com.damowmow.age content=9 p

Re: [whatwg] innerStaticHTML

2009-05-11 Thread Adam Barth
On Wed, May 6, 2009 at 9:40 AM, João Eiras jo...@opera.com wrote: The suggestion of marking content as non-executable doesn't solve anything, because after setting innerStaticHTML another script might serialize a piece of the affected DOM to string and back to a tree, and the code could then

Re: [whatwg] Annotating structured data that HTML has no semantics for

2009-05-11 Thread Giovanni Gentili
Ian Hickson:   USE CASE: Annotate structured data that HTML has no semantics for, and   which nobody has annotated before, and may never again, for private use or   use in a small self-contained community. (..)   SCENARIOS: Between the scenarios should be considered also this case: * a user

Re: [whatwg] Annotating structured data that HTML has no semantics for

2009-05-11 Thread Philip Taylor
On Mon, May 11, 2009 at 6:15 PM, Giovanni Gentili giovanni.gent...@gmail.com wrote: * a user (or groups of users) wants to annotate items present on a generic web page with additional properties in a certain vocabulary. for example Joe wants to gather in a blog a series of personal annotation

Re: [whatwg] innerStaticHTML

2009-05-11 Thread Robert O'Callahan
On Tue, May 12, 2009 at 4:16 AM, Adam Barth wha...@adambarth.com wrote: On Thu, May 7, 2009 at 3:24 AM, Kristof Zelechovski giecr...@stegny.2a.pl wrote: If toStaticHTML prunes everything it is not sure of, the danger of a known language construct suddenly introducing active content is

Re: [whatwg] Custom microdata handling added to HTML5 spec

2009-05-11 Thread Ian Hickson
On Sun, 10 May 2009, Manu Sporny wrote: Shelley Powers wrote: Since a new section detailing HTML5's handling of custom microdata has been added to the HTML5 spec http://dev.w3.org/html5/spec/Overview.html#microdata I've only had a brief chance to look over the HTML5 Microdata spec,

Re: [whatwg] innerStaticHTML

2009-05-11 Thread Kornel Lesiński
On 06.05.2009, at 17:31, Adam Barth wrote: WHY NOT toStaticHTML? toStaticHTML addresses the same use cause by translating an untrusted string to another string that lacks active HTML content. This API has two issues: 1) The untrusted string - static string - HTML parser workflow requires the

[whatwg] Expandos and Prototyping

2009-05-11 Thread Charles Pritchard
Are expando / prototype functions at all included in the HTML 5 specs? While we may all know what Object.prototype does, I'd like to see its use added to Section 6: Web browsers. The Prototype Expando is not necessarily a Javascript-only construct, and neither is HTML 5. While I'm not

Re: [whatwg] Expandos and Prototyping

2009-05-11 Thread Ian Hickson
On Mon, 11 May 2009, Charles Pritchard wrote: Are expando / prototype functions at all included in the HTML 5 specs? Yes. Specifically, HTML5 uses WebIDL for all its definitions of interfaces, objects, etc, and the WebIDL spec defines how prototypes, custom properties, etc, work:

Re: [whatwg] Annotating structured data that HTML has no semantics for

2009-05-11 Thread Tim Tepaße
A cursory glance on the new section 5 raises two questions on indirection: (Note the metas in the last example -- since sometimes the information isn't visible, rather than requiring that people put it in and hide it with display:none, which has a rather poor accessibility story, I