Re: [whatwg] Make quoted attributes a conformance criteria

2009-07-27 Thread Simon Pieters
On Sat, 25 Jul 2009 12:08:23 +0200, Eduard Pascual herenva...@gmail.com wrote: On Fri, Jul 24, 2009 at 9:52 PM, Keryx Webwebmas...@keryx.se wrote: On 2009-07-23 20:32, Eduard Pascual wrote: While I don't consider a hard requirement would be appropriate, there is an audience sector this

Re: [whatwg] Make quoted attributes a conformance criterion

2009-07-27 Thread Eduard Pascual
On Mon, Jul 27, 2009 at 2:53 AM, Jonas Sickingjo...@sicking.cc wrote: The more I think about it, the more I'm intrigued by Rob Sayres idea of completely removing the definition of what is conforming. Let the spec define UA (or HTML consumer) behavior, and let lint tools fight out best

[whatwg] Fwd: Make quoted attributes a conformance criterion

2009-07-27 Thread Jeremy Keith
Maciej wrote: So, in conclusion, having a baseline for correct syntax may actually make it easier to develop an ecosystem of style-checking tools. However, this makes it important to keep the core set of syntax errors relatively minimal. I'm not sure HTML5 as currently drafted entirely

Re: [whatwg] A Selector-based metadata proposal (was: Annotating structured data that HTML has no semantics for)

2009-07-27 Thread Eduard Pascual
I have put a new version of the CRDF document up [1]. Here is a summary of the most significant changes: * Location: with the migration from Google Pages to Google Sites, the PDF document will not be allowed anymore to be hosted at its former location. I wanted to keep this proposal independent

[whatwg] New HTML5 spec GIT collaboration repository

2009-07-27 Thread Manu Sporny
There is now a public GIT repository containing the build process for producing the HTML5 specification. The build process and source for generating the HTML5+RDFa specification are also included. More details here: http://github.com/html5/spec/ For instructions on how one might use the

Re: [whatwg] the cite element

2009-07-27 Thread Erik Vorhes
On Sun, Jul 19, 2009 at 4:58 AM, Ian Hicksoni...@hixie.ch wrote: If cite is exclusively for titles, it shouldn't be called cite. Sure, but we're about 15 years too late for that. Well, no: the as far as I have been able to determine, every HTML specification (before HTML5) did not limit this

Re: [whatwg] the cite element

2009-07-27 Thread Philip Taylor
On Mon, Jul 27, 2009 at 3:20 PM, Erik Vorhese...@textivism.com wrote: On Sun, Jul 19, 2009 at 4:58 AM, Ian Hicksoni...@hixie.ch wrote: In practice, people haven't been confused between these two attributes as far as we can tell. People who use cite seem to use it for titles, and people who

Re: [whatwg] New HTML5 spec GIT collaboration repository

2009-07-27 Thread Geoffrey Sneddon
Manu Sporny wrote: 3. Running the Anolis post-processor on the newly modified spec. Is there any reason you use --allow-duplicate-dfns? Likewise, you probably don't want --w3c-compat (the name is slightly misleading, it provides compatibility with the CSS WG's CSS3 Module Postprocessor, not

Re: [whatwg] the cite element

2009-07-27 Thread Erik Vorhes
On Mon, Jul 27, 2009 at 10:17 AM, Kristof Zelechovskigiecr...@stegny.2a.pl wrote:  1. If you cite a person, the person you cite does not become a citation because of that.  Putting the person inside the CITE element distorts the meaning. If you are citing a person (either as someone worth

Re: [whatwg] A New Way Forward for HTML5 (revised)

2009-07-27 Thread Sam Ruby
John Foliot wrote: Peter Kasting wrote: It seems like the only thing you could ask for beyond this is the ability to directly insert your own changes into the spec without prior editorial oversight. I think that might be what you're asking for. This seems very unwise. Really? This appears

[whatwg] Installed Apps

2009-07-27 Thread Michael Davidson
Hello folks - I'm an engineer on the Gmail team. We've been working on a prototype with the Chrome team to make the Gmail experience better. We thought we'd throw out our ideas to the list to get some feedback. THE PROBLEM We would like to enable rich internet applications to achieve feature

Re: [whatwg] Issues with Web Sockets API

2009-07-27 Thread Alexey Proskuryakov
06.07.2009, в 21:30, Ian Hickson написал(а): postMessage() may want another exception condition... 'too much data pending exception'... consider calling postMessage in a while(true) loop... at some point the system is going to have to give up queing the data if its not actually making its

Re: [whatwg] A New Way Forward for HTML5 (revised)

2009-07-27 Thread Peter Kasting
On Mon, Jul 27, 2009 at 12:06 PM, John Foliot jfol...@stanford.edu wrote: That said, the barrier to equal entry remains high: http://burningbird.net/node/28 I don't understand. That page says We're told that to propose changes to the document for consideration, we need to ... and then a long

Re: [whatwg] Issues with Web Sockets API

2009-07-27 Thread Alexey Proskuryakov
27.07.2009, в 12:35, Maciej Stachowiak написал(а): However, I do not think that raising an exception is an appropriate answer. Often, the TCP implementation takes a part of data given to it, and asks to resubmit the rest later. So, just returning an integer result from send() would be

Re: [whatwg] A New Way Forward for HTML5 (revised)

2009-07-27 Thread Sam Ruby
John Foliot wrote: Sam Ruby wrote: Really? This appears to be exactly the single, special status privilege currently reserved for Ian Hickson. False. ...and yes, I stand corrected. Although the *impression* that this is the current status remains fairly pervasive; however I will endeavor

Re: [whatwg] Issues with Web Sockets API

2009-07-27 Thread Jeremy Orlow
On Mon, Jul 27, 2009 at 1:14 PM, Alexey Proskuryakov a...@webkit.org wrote: 27.07.2009, в 12:35, Maciej Stachowiak написал(а): However, I do not think that raising an exception is an appropriate answer. Often, the TCP implementation takes a part of data given to it, and asks to resubmit

Re: [whatwg] Issues with Web Sockets API

2009-07-27 Thread Drew Wilson
On Mon, Jul 27, 2009 at 1:14 PM, Alexey Proskuryakov a...@webkit.org wrote: 27.07.2009, в 12:35, Maciej Stachowiak написал(а): However, I do not think that raising an exception is an appropriate answer. Often, the TCP implementation takes a part of data given to it, and asks to resubmit

Re: [whatwg] Issues with Web Sockets API

2009-07-27 Thread Alexey Proskuryakov
27.07.2009, в 13:20, Jeremy Orlow написал(а): I agree that this will help if the application sends data in burst mode, but what if it just constantly sends more than the network can transmit? It will never learn that it's misbehaving, and will just take more and more memory. An example

Re: [whatwg] Issues with Web Sockets API

2009-07-27 Thread Drew Wilson
On Mon, Jul 27, 2009 at 1:36 PM, Alexey Proskuryakov a...@webkit.org wrote: 27.07.2009, в 13:20, Jeremy Orlow написал(а): I agree that this will help if the application sends data in burst mode, but what if it just constantly sends more than the network can transmit? It will never learn

Re: [whatwg] Issues with Web Sockets API

2009-07-27 Thread Jeremy Orlow
On Mon, Jul 27, 2009 at 1:44 PM, Drew Wilson atwil...@google.com wrote: On Mon, Jul 27, 2009 at 1:36 PM, Alexey Proskuryakov a...@webkit.orgwrote: 27.07.2009, в 13:20, Jeremy Orlow написал(а): I agree that this will help if the application sends data in burst mode, but what if it just

Re: [whatwg] Issues with Web Sockets API

2009-07-27 Thread Drew Wilson
On Mon, Jul 27, 2009 at 2:02 PM, Jeremy Orlow jor...@chromium.org wrote: On Mon, Jul 27, 2009 at 1:44 PM, Drew Wilson atwil...@google.com wrote: On Mon, Jul 27, 2009 at 1:36 PM, Alexey Proskuryakov a...@webkit.orgwrote: 27.07.2009, в 13:20, Jeremy Orlow написал(а): I agree that this

Re: [whatwg] Serializing HTML fragments (9.4)

2009-07-27 Thread Ian Hickson
On Thu, 9 Jul 2009, Kartikaya Gupta wrote: According to this section 9.4, any descendant text node of a style element should be outputted literally, rather than being escaped. However, this doesn't seem to match what Opera/Chrome/FF do. Test case: html body style id=test /style

Re: [whatwg] Canvas context.drawImage clarification

2009-07-27 Thread Ian Hickson
On Thu, 9 Jul 2009, Gregg Tavares wrote: The specific ambiguity I'd like to bring up has to do with the several versions of a function, context.drawImage. They take width and height values. The spec does not make it clear what is supposed to happen with negative values. My personal

Re: [whatwg] New HTML5 spec GIT collaboration repository

2009-07-27 Thread Cameron McCormack
Manu Sporny: 3. Running the Anolis post-processor on the newly modified spec. Geoffrey Sneddon: Is there any reason you use --allow-duplicate-dfns? I think it’s because the source file includes the source for multiple specs (HTML 5, Web Sockets, etc.) which, when taken all together, have

Re: [whatwg] [EventSource] Garbage collection rules

2009-07-27 Thread Ian Hickson
On Fri, 10 Jul 2009, Stewart Brodie wrote: The GC rules in section 9 seem overly permissive - if there is a listener for message events but the script forgets to call close() when the user navigates away, then the resources it is consuming cannot be reclaimed. Fixed. There is a small

Re: [whatwg] Serving up Theora video in the real world

2009-07-27 Thread Ian Hickson
On Fri, 10 Jul 2009, Aryeh Gregor wrote: On Fri, Jul 10, 2009 at 4:57 AM, Robert O'Callahanrob...@ocallahan.org wrote: The way we've implemented in Firefox, we'll return yes if you specify a codecs parameter and we support every codec in your list. So v.canPlayType(video/ogg;

Re: [whatwg] Canvas context.drawImage clarification

2009-07-27 Thread Gregg Tavares
On Mon, Jul 27, 2009 at 3:12 PM, Ian Hickson i...@hixie.ch wrote: On Thu, 9 Jul 2009, Gregg Tavares wrote: The specific ambiguity I'd like to bring up has to do with the several versions of a function, context.drawImage. They take width and height values. The spec does not make it clear

Re: [whatwg] Canvas context.drawImage clarification

2009-07-27 Thread Ian Hickson
On Mon, 27 Jul 2009, Gregg Tavares wrote: The diagram in the docs http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#images Clearly show SX maps to DX, SY maps top DY But that is not the interpretation that is implemented. The interpretation that is

Re: [whatwg] getImageData/putImageData comments

2009-07-27 Thread Ian Hickson
On Fri, 10 Jul 2009, Boris Zbarsky wrote: Ian Hickson wrote: I don't see why the imagedata API isn't suitable for that. It's not like if you're painting that on the canvas you'll want to leave the last row or column unaffected. You'll want to clear it or some such, in practice. I

Re: [whatwg] Installed Apps

2009-07-27 Thread Drew Wilson
This sounds really powerful, and seems like a natural evolution of some of the stuff we've discussed previously for persistent workers. A few comments/notes: 1) It sounds like this background page would act like any other web page with respect to its processing model (i.e. like other pages, script

Re: [whatwg] CanvasRenderingContext2D.lineTo compatibility problem

2009-07-27 Thread Ian Hickson
On Sat, 11 Jul 2009, Oliver Hunt wrote: While investigating a compatibility issue with http://www.blahbleh.com/clock.php I found that the spec behaviour on CanvasRenderingContext2D.lineTo conflicts with what Gecko implements. The current spec language is The lineTo(x, y) method must do

Re: [whatwg] bezierCurveTo summary is incorrect

2009-07-27 Thread Ian Hickson
On Sat, 11 Jul 2009, Oliver Hunt wrote: Just noticed while looking at the path modification functions that the summary of bezierCurveTo (at the beginning of Section 4.8.11.1.8) gives bezierCurveTo the signature bezierCurveTo(cpx, cpy, x, y) which is the signature for quadraticCurveTo. The

Re: [whatwg] input type=url allow URLs without http:// prefix

2009-07-27 Thread Ian Hickson
On Sun, 12 Jul 2009, Bruce Lawson wrote: The eleventy squillion WordPress sites out there that allow comments ask for your web page address as well as name and email. The method of entering a URL does not require the http:// prefix; just beginning the URL with www is accepted. As it's

Re: [whatwg] Accessibility for Drag and Drop

2009-07-27 Thread Ian Hickson
On Sun, 12 Jul 2009, Aron Spohr wrote: 1. Every Element with the draggable attribute set to true should be focusable by default. I know that tabindex=n would make almost any element focusable but I think making draggable elements focusable is something that shouldn't be left to best

Re: [whatwg] Typos in spec

2009-07-27 Thread Ian Hickson
On Sun, 12 Jul 2009, Aryeh Gregor wrote: In 2.1.2: A content attribute is said to change value only if its value new value is different than its previous value; setting an attribute to a value it already has does not change it. should be A content attribute is said to change value

Re: [whatwg] nostyle consideration

2009-07-27 Thread Ian Hickson
On Sun, 12 Jul 2009, Joshua Brickner wrote: A tag like nostyle would useful to 'reset' the styles for the specifed part of the document. Essentially it would clear any inherited styles from being applied to it's contents. This idea is not quite the same as the one proposed but I've

Re: [whatwg] Installed Apps

2009-07-27 Thread Sebastian Markbåge
2) For multi-process browsers like Chrome, there seem to be limitations as to what can actually be accessed between processes (direct DOM access across process boundaries seems problematic for example). Do you have ideas about how to address this, since assumedly the page calling

Re: [whatwg] DOMTokenList is unordered but yet requires sorting

2009-07-27 Thread Ian Hickson
On Sun, 12 Jul 2009, Jonas Sicking wrote: Oh, I have forseen that. Is it really necessary to remove duplicates ? I imagine DOMTokenList to be similar to what can be achieved with a String.split(), but then it would be just more duplicate functionality. If we don't remove

Re: [whatwg] Issues with Web Sockets API

2009-07-27 Thread Maciej Stachowiak
On Jul 27, 2009, at 2:14 PM, Alexey Proskuryakov wrote: 27.07.2009, в 12:35, Maciej Stachowiak написал(а): However, I do not think that raising an exception is an appropriate answer. Often, the TCP implementation takes a part of data given to it, and asks to resubmit the rest later. So,

Re: [whatwg] Issues with Web Sockets API

2009-07-27 Thread Maciej Stachowiak
On Jul 27, 2009, at 2:44 PM, Drew Wilson wrote: There's another option besides blocking, raising an exception, and dropping data: unlimited buffering in user space. So I'm saying we should not put any limits on the amount of user-space buffering we're willing to do, any more than we

Re: [whatwg] Serving up Theora video in the real world

2009-07-27 Thread Andrew Scherkus
On Mon, Jul 27, 2009 at 3:48 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 10 Jul 2009, Aryeh Gregor wrote: On Fri, Jul 10, 2009 at 4:57 AM, Robert O'Callahanrob...@ocallahan.org wrote: The way we've implemented in Firefox, we'll return yes if you specify a codecs parameter and we

Re: [whatwg] Installed Apps

2009-07-27 Thread Michael Enright
On Mon, Jul 27, 2009 at 11:50 AM, Michael Davidsonm...@google.com wrote: THE PROBLEM snip feature parity with desktop applications. snip A SOLUTION snip hidden HTML/JS page running in the background that can access the DOM of visible windows. snip KNOWN ISSUES As mentioned in

Re: [whatwg] Installed Apps

2009-07-27 Thread Robert O'Callahan
On Tue, Jul 28, 2009 at 6:50 AM, Michael Davidson m...@google.com wrote: As mentioned in earlier discussions about persistent workers, permissioning UI is a major issue. Indeed, the most difficult issue here is security and the permissions UI, which you haven't addressed at all. Currently,

Re: [whatwg] Issues with Web Sockets API

2009-07-27 Thread Robert O'Callahan
Why not just allow unlimited buffering, but also provide an API to query how much data is currently buffered (approximate only, so it would be OK to just return the size of data buffered in user space)? Then applications that care and can adapt can do so. But most applications will not need to.

Re: [whatwg] Issues with Web Sockets API

2009-07-27 Thread Michael Nordman
Obviously we need more web platform capabilities to make such use cases a reality, but they are foreseeable and we should deal with them in some reasonable way. Couldn't agree more. The proposed websocket interface is too dumbed down. The caller doesn't know what the impl is doing, and the impl

Re: [whatwg] HTML 5 video tag questions

2009-07-27 Thread Ian Hickson
There were some proposals to change video's fallback model to allow markup to be used as an alternative to a video stream, so that once the various alternative videos had been tried, the user agent would make video act as a regular display:block element and no longer act as a video viewport.

Re: [whatwg] Installed Apps

2009-07-27 Thread Maciej Stachowiak
On Jul 27, 2009, at 6:42 PM, Robert O'Callahan wrote: On Tue, Jul 28, 2009 at 6:50 AM, Michael Davidson m...@google.com wrote: As mentioned in earlier discussions about persistent workers, permissioning UI is a major issue. Indeed, the most difficult issue here is security and the

Re: [whatwg] Installed Apps

2009-07-27 Thread Aryeh Gregor
On Mon, Jul 27, 2009 at 8:42 PM, Robert O'Callahanrob...@ocallahan.org wrote: Indeed, the most difficult issue here is security and the permissions UI, which you haven't addressed at all. One obvious solution would be to have installation UI like extensions, but somewhat less scary (no signing

Re: [whatwg] Installed Apps

2009-07-27 Thread Maciej Stachowiak
On Jul 27, 2009, at 7:13 PM, Aryeh Gregor wrote: I'm not clear how the UI requirements here are different from persistent workers, though. Those also persist after the user navigates away, right? Persistent workers are even more of a security risk, since they are supposed to persist even

Re: [whatwg] Installed Apps

2009-07-27 Thread Aryeh Gregor
On Mon, Jul 27, 2009 at 9:39 PM, Maciej Stachowiakm...@apple.com wrote: Persistent workers are even more of a security risk, since they are supposed to persist even after the browser has been restarted, or after the system has been rebooted. Persistent workers should be renamed to BotNet

Re: [whatwg] DOMTokenList is unordered but yet requires sorting

2009-07-27 Thread Sylvain Pasche
On Tue, Jul 28, 2009 at 2:17 AM, Ian Hicksoni...@hixie.ch wrote: On Sun, 12 Jul 2009, Jonas Sicking wrote: Oh, I have forseen that. Is it really necessary to remove duplicates ? I imagine DOMTokenList to be similar to what can be achieved with a String.split(), but then it would be just

Re: [whatwg] New HTML5 spec GIT collaboration repository

2009-07-27 Thread Manu Sporny
Geoffrey Sneddon wrote: Manu Sporny wrote: 3. Running the Anolis post-processor on the newly modified spec. Is there any reason you use --allow-duplicate-dfns? Legacy cruft. There was a time that I had duplicate dfns while attempting to figure something else out. The latest commit to the

Re: [whatwg] DOMTokenList is unordered but yet requires sorting

2009-07-27 Thread Jonas Sicking
On Mon, 13 Jul 2009, Sylvain wrote: This is a bit unrelated, but when looking at the DOMTokenList implementation, I had an idea about an alternative algorithm that could be easier to implement and could also be described more simply in the spec. The disadvantage is that the DOMTokenList

Re: [whatwg] Installed Apps

2009-07-27 Thread Michael Kozakewich
On Mon, Jul 27, 2009 at 11:50 AM, Michael Davidsonm...@google.com wrote: THE PROBLEM snip feature parity with desktop applications. snip A SOLUTION snip hidden HTML/JS page running in the background that can access the DOM of visible windows. snip KNOWN ISSUES As mentioned in earlier

Re: [whatwg] DOMTokenList is unordered but yet requires sorting

2009-07-27 Thread Jonas Sicking
On Mon, Jul 27, 2009 at 8:24 PM, Sylvain Paschesylvain.pas...@gmail.com wrote: On Tue, Jul 28, 2009 at 2:17 AM, Ian Hicksoni...@hixie.ch wrote: On Sun, 12 Jul 2009, Jonas Sicking wrote: Oh, I have forseen that. Is it really necessary to remove duplicates ? I imagine DOMTokenList to be

Re: [whatwg] A New Way Forward for HTML5 (revised)

2009-07-27 Thread Manu Sporny
Peter Kasting wrote: On Mon, Jul 27, 2009 at 12:06 PM, John Foliot jfol...@stanford.edu mailto:jfol...@stanford.edu wrote: That said, the barrier to equal entry remains high: http://burningbird.net/node/28 I don't necessarily agree with most of Shelley's take on the situation. I do

Re: [whatwg] New HTML5 spec GIT collaboration repository

2009-07-27 Thread Manu Sporny
Cameron McCormack wrote: Manu Sporny: 3. Running the Anolis post-processor on the newly modified spec. Geoffrey Sneddon: Is there any reason you use --allow-duplicate-dfns? I think it’s because the source file includes the source for multiple specs (HTML 5, Web Sockets, etc.) which, when

Re: [whatwg] scripts, defer, document.write and DOMContentLoaded

2009-07-27 Thread Jonas Sicking
On Mon, Jul 20, 2009 at 7:25 PM, Ian Hicksoni...@hixie.ch wrote: On Tue, 7 Jul 2009, Jonas Sicking wrote: What's tricky is that a document.write inside a deferred script in IE will in some circumstances clear the current document, in other cases append to it. Specifically it seems that if the

Re: [whatwg] Installed Apps

2009-07-27 Thread David Levin
It sounds like most of the concerns are about the 2nd part of this proposal: allowing a background page to continue running after the visible page has been closed. However, the first part sounds like it alone would be useful to web applications like GMail: The first, which should begenerally

Re: [whatwg] Canvas context.drawImage clarification

2009-07-27 Thread Gregg Tavares
On Mon, Jul 27, 2009 at 4:14 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 27 Jul 2009, Gregg Tavares wrote: The diagram in the docs http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#images Clearly show SX maps to DX, SY maps top DY But that is not