Re: [whatwg] External document subset support

2009-06-19 Thread Giovanni Campagna
2009/6/19 Kristof Zelechovski giecr...@stegny.2a.pl: You can easily include a cross-domain script using a cross-domain DTD; just attach the malware as !ATTLIST body onload CDATA “{ sniper.shoot(); }” and hope for the worst. Chris You need to own the external subset, though, in order to

Re: [whatwg] HTML 5 suggestion for TABLE element

2009-06-11 Thread Giovanni Campagna
2009/6/10 Dahal, Biswa biswa-da...@uiowa.edu: Hi, I am a developer and as I was going through the draft for HTML 5 at: http://dev.w3.org/html5/html-author/#tabular-data, I could not find a common use-case that should be supported. That is not the HTML5 draft, that is the HTML5 for Authors

Re: [whatwg] Reserving id attribute values?

2009-06-10 Thread Giovanni Campagna
2009/6/10 Ian Hickson i...@hixie.ch: On Tue, 19 May 2009, Brett Zamir wrote: In order to comply with XML ID requirements in XML, and facilitate future transitions to XML, can HTML 5 explicitly encourage id attribute values to follow this pattern (e.g., disallowing numbers for the starting

Re: [whatwg] Two feature-suggestions for HTML5 (forms)

2009-06-09 Thread Giovanni Campagna
Please don't cross-post to w3 lists and to whatwg lists. 2009/6/8 Asser Nilsson asser.nils...@googlemail.com: Hi! There are two things in HTML5-forms that are often made with Active Technology like JavaScript, that would be very cool, if HTML5 could do these things without Scripting: 1.

Re: [whatwg] do not encourage use of small element for legal text (was: Pre-Last Call Comments)

2009-06-05 Thread Giovanni Campagna
2009/6/5 Jeff Walden jwalden+wha...@mit.edu: Do you seriously believe any client in an industry where he has to step carefully enough to worry about typographical formatting of legal notices is fool enough to follow a not-even-recommendation in the HTML5 specification over what his lawyer

Re: [whatwg] SVG extensions to canvas

2009-05-06 Thread Giovanni Campagna
2009/5/5 Robert O'Callahan rob...@ocallahan.org: On Tue, May 5, 2009 at 4:35 AM, Giovanni Campagna scampa.giova...@gmail.com wrote: What is embed used for? Flash and videos. Both have intrinsic sizes What is object used for? Videos, Java applets and Silverlight. They all have intrinsic sizes

Re: [whatwg] SVG extensions to canvas

2009-05-05 Thread Giovanni Campagna
2009/5/5 Robert O'Callahan rob...@ocallahan.org: On Mon, May 4, 2009 at 7:26 AM, Giovanni Campagna scampa.giova...@gmail.com wrote: svg has an intrinsic size (like video,img, and embed/object), the other have not. video and img usually have intrinsic sizes, but embed/object/iframe usually

Re: [whatwg] SVG extensions to canvas

2009-05-04 Thread Giovanni Campagna
2009/5/4 Oliver Hunt oli...@apple.com: On May 4, 2009, at 6:38 AM, Anne van Kesteren wrote: On Thu, 30 Apr 2009 21:15:04 +0200, Ian Hickson i...@hixie.ch wrote: As far as I can tell this doesn't require any changes to HTML5, since the same applies here as applies to a regular img, right?

Re: [whatwg] Exposing EventTarget to JavaScript

2009-04-24 Thread Giovanni Campagna
2009/4/24 Erik Arvidsson erik.arvids...@gmail.com: Almost all JavaScript libraries and web apps of moderate size end up reimplementing events for their UI toolkits or for messaging between different parts of their application. To help out with this scenario it would be good if an

Re: [whatwg] Exposing EventTarget to JavaScript

2009-04-24 Thread Giovanni Campagna
2009/4/24 Alex Russell slightly...@google.com: On Fri, Apr 24, 2009 at 10:30 AM, Giovanni Campagna scampa.giova...@gmail.com wrote: 2009/4/24 Erik Arvidsson erik.arvids...@gmail.com: Almost all JavaScript libraries and web apps of moderate size end up reimplementing events for their UI

Re: [whatwg] cross-domain scrollIntoView on frames and iframes

2009-04-06 Thread Giovanni Campagna
2009/4/6 Ojan Vafai o...@chromium.org: On Fri, Apr 3, 2009 at 10:46 PM, Cameron McCormack c...@mcc.id.au wrote: Ojan Vafai: 2) Add a css or xpath expression to fragment identifiers. Tthe iframe src can be set to http://foo.com#css(.foo #bar). Same as above applies. If there's no match,

[whatwg] [html5] Pre-Last Call Comments

2009-04-05 Thread Giovanni Campagna
A few comments, as requested by Ian Hickson. - End of 2.2.1, a typo: JavsScript instead of Javascript - From section 2.4.2 I don't understand if boolean attributes with invalid values represent true or false. In addition, I don't understand if an empty value is false (as in XHTML1.0) or true (as

Re: [whatwg] Web Addresses vs Legacy Extended IRI (again)

2009-03-30 Thread Giovanni Campagna
2009/3/29 Kristof Zelechovski giecr...@stegny.2a.pl: It is not clear that the server will be able to correctly support various representations of characters in the path component, e.g. identify accented characters with their decompositions using combining diacritical marks.  The peculiarities

[whatwg] Web Addresses vs Legacy Extended IRI (again)

2009-03-29 Thread Giovanni Campagna
(In this email I will use URL5 as a short for Web Addresses, as that previously was the URL part of HTML5) As subject says, this is the continuation of the thread about LEIRI vs URL5 archived at http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2009-March/018929.html, where discussion diverged

Re: [whatwg] Web Addresses vs Legacy Extended IRI (again)

2009-03-29 Thread Giovanni Campagna
2009/3/29 Anne van Kesteren ann...@opera.com: On Sun, 29 Mar 2009 14:37:19 +0200, Giovanni Campagna scampa.giova...@gmail.com wrote: Summing up, the differences between URL5 and LEIRI are only about the percent sign and its uses for delimiters. I'm not sure if you're correct about those

Re: [whatwg] Web Addresses vs Legacy Extended IRI (again)

2009-03-29 Thread Giovanni Campagna
2009/3/29 Anne van Kesteren ann...@opera.com: On Sun, 29 Mar 2009 15:01:51 +0200, Giovanni Campagna scampa.giova...@gmail.com wrote: 2009/3/29 Anne van Kesteren ann...@opera.com: I'm not sure if you're correct about those differences, but even if you are they are not the only differences

Re: [whatwg] Web Addresses vs Legacy Extended IRI

2009-03-22 Thread Giovanni Campagna
2009/3/22 Ian Hickson i...@hixie.ch: On Sat, 21 Mar 2009, Giovanni Campagna wrote: Now I would like to ask: are there any major differences that requires the W3C / WHATWG to publish an other specification, just for HTML5, instead of just referencing the IRI-bis draft or the LEIRI working

[whatwg] Web Addresses vs Legacy Extended IRI

2009-03-21 Thread Giovanni Campagna
HTML5 originally included a section about resource identifiers processing. A few days ago that section was extracted into the W3C editor draft of Web Addresses. I noticed it and remembered that I had read once something like that. Precisely, what I once read is http://www.w3.org/TR/leiri, a note

Re: [whatwg] Accessing cookies from workers

2009-03-09 Thread Giovanni Campagna
2009/3/9 Jonas Sicking jo...@sicking.cc: On Mon, Mar 9, 2009 at 11:26 AM, Giovanni Campagna scampa.giova...@gmail.com wrote: 2009/3/9 Jonas Sicking jo...@sicking.cc: On Mon, Mar 9, 2009 at 11:01 AM, Giovanni Campagna This can be even worse: how would you syncronize the code in the callback

Re: [whatwg] [html5] Rendering of interactive content

2009-02-12 Thread Giovanni Campagna
2009/2/11 Ian Hickson i...@hixie.ch [...] 2) you depend on css3-ui, in CR stage, instead of becss, a very early WD BECSS is actually probably more stable than CSS3 UI at this point. Why do you say so? Will CSS3 UI go back to Last Call or BECSS process to Last Call in the

Re: [whatwg] [html5] Rendering of interactive content

2009-02-09 Thread Giovanni Campagna
@Smylers: So the whole rendering section is just for implementors and authors should act if no default style sheet is present or worse, if it could be everything, like a inline-block div or blue table, so that the author should set all supported properties to initial or the HTML5 expected value?

Re: [whatwg] [html5] Rendering of interactive content

2009-02-09 Thread Giovanni Campagna
2009/2/9 Smylers smyl...@stripey.com Giovanni Campagna writes: So the whole rendering section is just for implementors and authors should act if no default style sheet is present No; the section is also for authors, in that it advises them of how content is expected to be rendered

Re: [whatwg] [html5] Rendering of interactive content

2009-02-08 Thread Giovanni Campagna
2009/2/8 Benjamin Hawkes-Lewis bhawkesle...@googlemail.com On 7/2/09 20:07, Giovanni Campagna wrote: Yes, but what properties should I query for? In order to find out what, precisely? What to reset, for example (see the first Ian email on this topic) Binding, behaviour, appearance

Re: [whatwg] [html5] Rendering of interactive content

2009-02-08 Thread Giovanni Campagna
2009/2/8 Smylers smyl...@stripey.com Giovanni Campagna writes: If input type=submit in some UA is rendered with all properties set to initial, not only it does not express the semantic of a button, but it may be difficult for a user to actually recognize it as a button and eventually

Re: [whatwg] [html5] Rendering of interactive content

2009-02-07 Thread Giovanni Campagna
2009/2/6 Ian Hickson i...@hixie.ch On Fri, 6 Feb 2009, Giovanni Campagna wrote: I'm proposing to replace the current rendering mechanism, based on Behavioural Extension to CSS, that in turn is based on XBL2, with something based on the CSS3 Basic User Interface (css3-ui), ie replacing

Re: [whatwg] [html5] Rendering of interactive content

2009-02-07 Thread Giovanni Campagna
2009/2/7 Benjamin Hawkes-Lewis bhawkesle...@googlemail.com On 7/2/09 14:22, Giovanni Campagna wrote: 5) becss requires one or more binding languages: it is not necessarily XBL2, but currently XBL2 is the only one available: are you constraining the implementation

Re: [whatwg] [html5] Rendering of interactive content

2009-02-07 Thread Giovanni Campagna
2009/2/7 Benjamin Hawkes-Lewis bhawkesle...@googlemail.com On 7/2/09 18:51, Giovanni Campagna wrote: So the rendering section imposes *no* requirements on HTML5 conforming user agents, therefore the spec is not constraining the implementation of HTML5 on that of XBL2. Yes, but UA

[whatwg] [html5] Rendering of interactive content

2009-02-06 Thread Giovanni Campagna
I'm proposing to replace the current rendering mechanism, based on Behavioural Extension to CSS, that in turn is based on XBL2, with something based on the CSS3 Basic User Interface (css3-ui), ie replacing the binding: property with appropriate appearance: property directly on the element, instead

Re: [whatwg] 5.12.3.7 Link type help

2009-02-03 Thread Giovanni Campagna
a elements are always hyperlinks, link can be hyperlinks or resources. So it only makes sense for the link element to be explicitly marked like this. Giovanni 2009/2/3 Philipp Kempgen philipp.kemp...@amooma.de: ---cut--- 5.12.3.7 Link type help The help keyword may be used with link, a, and

Re: [whatwg] Trying to work out the problems solved by RDFa

2009-01-03 Thread Giovanni Campagna
I've tried to follow all the discussion besides of its lengths and my conclusion is: You're asking the wrong question People against RDFa in HTML5 are asking why do you need RDFa?, and supporters of the proposal are actually describing the benefits of RDFa itself. The right question is: why do

Re: [whatwg] Spellchecking mark III

2008-12-30 Thread Giovanni Campagna
2008/12/30 timeless timel...@gmail.com On Tue, Dec 30, 2008 at 5:20 PM, Kornel Lesiński kor...@geekhood.net wrote: It's useful for fields that contain non-textual content, e.g. product ID, license plate number, CAPTCHA answer, etc. Browser would mark these as misspelt, which might be

[whatwg] (X)HTML + SMIL?

2008-12-27 Thread Giovanni Campagna
Very back in 2002, a W3C Note about the integration of XHTML (at that time was 1.1, now it would be 2.0) and SMIL (at that time 2.0, now 3.0). I was wondering if any work was produced because of that document, or it was simply forgotten. IMHO, it addresses many issues: 1) the video HTML5 element

[whatwg] Merry Christmas!

2008-12-25 Thread Giovanni Campagna
Probably you didn't notice, but it is 25th December today. Merry Christmas and Happy New Year to all members of WHAT and W3C working groups! Giovanni

Re: [whatwg] Parsing, syntax, and content model feedback

2008-12-25 Thread Giovanni Campagna
2008/12/25 Ian Hickson i...@hixie.ch We're very constrained by the legacy for text/html's syntax; sadly, usability concerns aren't really able to make us change the language. [...] The goal is not to guess what the author meant when the authors makes a mistake; the goal is to have

Re: [whatwg] Thoughts on HTML 5

2008-12-22 Thread Giovanni Campagna
2008/12/21 Garrett Smith dhtmlkitc...@gmail.com Styling is done in css. Dynamic styling is currently done with the style property of HTMLElement. This is currently implemented in DOM2HTML and HTML5, but I once read they're going to write a separate CSS-Object Model, whose spec is not ready

Re: [whatwg] Thoughts on HTML 5

2008-12-21 Thread Giovanni Campagna
inside HTML. Best regards, Giovanni Campagna

Re: [whatwg] Thoughts on HTML 5

2008-12-18 Thread Giovanni Campagna
2008/12/17 Ian Hickson i...@hixie.ch This doesn't cost any time in HTML either, since the tokeniser doesn't need to worry about what tags have end tags, the tree construction side just drops unexpected end tags on the floor. I don't think authors expect tags to disappear. don't check for

Re: [whatwg] Thoughts on HTML 5

2008-12-18 Thread Giovanni Campagna
-formed XHTML 6) use JS + DOM Do you think it is enough? Giovanni Campagna

Re: [whatwg] Thoughts on HTML 5

2008-12-17 Thread Giovanni Campagna
(DOMDocument.write or DOMElement.outerHTML) should be marked deprecate, since there are stricter and more performant way to do same thing. Giovanni Campagna

Re: [whatwg] Thoughts on HTML 5

2008-12-17 Thread Giovanni Campagna
the string HTML is deprecated and should no longer be used? By the way, XHTML1.0 / 1.1 said nothing about HTML4, they were independent specifications. Giovanni Campagna

Re: [whatwg] Thoughts on HTML 5

2008-12-16 Thread Giovanni Campagna
2008/12/16 Nils Dagsson Moskopp nils-dagsson-mosk...@dieweltistgarnichtso.net Am Dienstag, den 16.12.2008, 14:32 +0100 schrieb Giovanni Campagna: (The same behaviour can be achieved also with a @namespace rule, putting non-standard attributes in an application-specific namespace) Since

Re: [whatwg] Thoughts on HTML 5

2008-12-16 Thread Giovanni Campagna
2008/12/16 Nils Dagsson Moskopp nils-dagsson-mosk...@dieweltistgarnichtso.net Am Dienstag, den 16.12.2008, 15:38 +0100 schrieb Giovanni Campagna: Browser assume that author knows XML because he's put an application/* +xml mime type. On the other hand, this assumption cannot be done

Re: [whatwg] Thoughts on HTML 5

2008-12-16 Thread Giovanni Campagna
2008/12/16 Nils Dagsson Moskopp nils-dagsson-mosk...@dieweltistgarnichtso.net Am Dienstag, den 16.12.2008, 14:14 +0100 schrieb Giovanni Campagna: Maybe so-called invalid HTML attributes are not the only solution, but in my opinion it is a simple way to embed metadata within any element

Re: [whatwg] Thoughts on HTML 5

2008-12-16 Thread Giovanni Campagna
Maybe so-called invalid HTML attributes are not the only solution, but in my opinion it is a simple way to embed metadata within any element. Imagine that such markup is then passed to a web application through XHR. In that case scripts aren't parsed and executed. In this case you have three ways