Re: [whatwg] XMLHttpRequest.status on connection timeout

2005-12-09 Thread Maciej Stachowiak
On Nov 30, 2005, at 2:12 AM, Jim Ley wrote: On 11/30/05, Boris Zbarsky [EMAIL PROTECTED] wrote: What should XMLHttpRequest.status return on connection timeout? Ian and I were talking about this, and it seems like 502 is a good response code here... See

Re: [whatwg] Better model for avoiding history spam from pushState?

2005-12-09 Thread Maciej Stachowiak
On Nov 21, 2005, at 4:13 PM, L. David Baron wrote: In http://lists.w3.org/Archives/Public/public-webapi/2005Nov/0017 , I wrote a comment on a WHATWG spec, http://whatwg.org/specs/web-apps/current-work/#scs-session , which I quote here: On Monday 2005-11-21 07:44 -0800, Kenny wrote: [...] My

Re: [whatwg] [WF2] form submission protocols and methods

2005-12-09 Thread Maciej Stachowiak
On Dec 9, 2005, at 3:42 PM, Ian Hickson wrote: On Fri, 9 Dec 2005, Maciej Stachowiak wrote: I think a lot of section 5.6 should be removed from the spec. Most of section 5.6 consists of defining behaviour to ensure interoperability between implementations, since if the spec doesn't list

Re: [whatwg] [WF2] form submission protocols and methods

2005-12-12 Thread Maciej Stachowiak
On Dec 12, 2005, at 5:58 PM, Ian Hickson wrote: Note that user agents may implement whichever URI schemes are required for their particular application. The WF2 specification does not specify a required core set of protocols that must be implemented. For those that are implemented, UAs

Re: [whatwg] [WF2] form submission protocols and methods

2005-12-19 Thread Maciej Stachowiak
On Dec 19, 2005, at 2:40 PM, Ian Hickson wrote: Untrusted content is unclear. It implies the existence of something that isn't untrusted content, i.e. trusted content. Where is that defined? I do not believe it is defined anywhere, in which case specifying its behavior seems non-useful. I

Re: [whatwg] Empty elements

2006-02-26 Thread Maciej Stachowiak
On Feb 15, 2006, at 4:41 PM, Ian Hickson wrote:We're stuck with it forever as well, since most of the Dashboard widgets use script src=""/ in HTML. You can say we're wrong in the spec, but we won't be able to change it. :(I think we need a dashboard mode, given that this is incompatible with all

Re: [whatwg] Select conformance

2006-04-03 Thread Maciej Stachowiak
On Mar 29, 2006, at 10:15 AM, Henri Sivonen wrote: Single select: Is it conforming for an option to be both selected and disabled? (I think it shouldn't be conforming.) And analogously: Is is conforming for a radio button to be both checked and disabled if the whole set is not disabled?

Re: [whatwg] [canvas-developers] Opera with support for getPixel/setPixel

2006-04-03 Thread Maciej Stachowiak
On Mar 29, 2006, at 10:26 AM, Vladimir Vukicevic wrote: In addition to supporting getting and setting of individual pixels, we also support locking of the canvas and better control over the redraw process, for optimized performance in games. What happens if an exception is thrown while you

Re: [whatwg] proposed canvas 2d API additions

2006-04-23 Thread Maciej Stachowiak
putPixels is just a cover for drawing a bunch of 1 x 1 rects. And in general it won't be much more efficient than that, due to possible device scaling. Is drawing a bunch of 1x1 rects a common enough use case to be worth it? Seems like it would almost always be better solved by drawing

[whatwg] Problems with DOMTokenString

2007-02-02 Thread Maciej Stachowiak
I looked into DOMTokenString with keen interest, because I believe an API for manipulating individual classes of an HTML element is increasingly important as we see more dynamic sites that use CSS styling. However, I think the design for this is not suitable as-is. Summary of

Re: [whatwg] The m element

2007-02-07 Thread Maciej Stachowiak
On Feb 7, 2007, at 3:44 PM, Nicholas Shanks wrote: On concern that we would be 'wasting' such a short element name for such an esoteric usage, why not call it mark instead? I agree, I think the spec should be hesitant to introduce additional single-letter element names. Regards, Maciej

Re: [whatwg] Configure Apache to send the right MIME type for XHTML

2007-03-07 Thread Maciej Stachowiak
On Mar 7, 2007, at 8:13 AM, Elliotte Harold wrote: Anne van Kesteren wrote: Personally I'd just give everyone HTML unless they specifically ask for XML and even then those tools should be capable of handling HTML imo. After all, it's the exchange format of the web. Personally I'm happy

[whatwg] Attributes vs. Elements

2007-03-12 Thread Maciej Stachowiak
The recent discussion of possibly making the href attribute global brings to mind a broader issue. To what extent should semantics and behavior belong to specific elements, and to what extent should they be carried by global attributes that can apply to any element? XHTML2 moves a lot

Re: [whatwg] canvas elements rect polygon etc

2007-03-12 Thread Maciej Stachowiak
On Mar 11, 2007, at 1:34 PM, carmen wrote: suppose one is building a GUI with solely canvas elements. i suppose i should have researched canvas - it looks like it doesn't have elemnts one might be faimilar with the Tk canvas - you can only draw using javascript. are there plans to

[whatwg] Fallback behavior

2007-03-12 Thread Maciej Stachowiak
As far as I can tell, the current spec does not adequately define how fallback behavior works. Specifically, what should be done with fallback content when not falling back? Presumably it should be parsed into the DOM, but should not render - that's the de facto behavior. But I don't

Re: [whatwg] Fallback behavior

2007-03-13 Thread Maciej Stachowiak
On Mar 13, 2007, at 1:46 AM, Anne van Kesteren wrote: On Tue, 13 Mar 2007 00:47:23 +0100, Maciej Stachowiak [EMAIL PROTECTED] wrote: As far as I can tell, the current spec does not adequately define how fallback behavior works. Specifically, what should be done with fallback content when

Re: [whatwg] Drop tabindex=

2007-03-20 Thread Maciej Stachowiak
On Mar 20, 2007, at 8:16 PM, Simon Pieters wrote: Hi, I think tabindex= has a number of problems: 1) Lacking a feature to scope tabindexes into local contexts, which I proposed[1] a while back, makes the feature rather useless for its intended purpose (which, AIUI, was to provide a means

[whatwg] Apple Proposal for Timed Media Elements

2007-03-21 Thread Maciej Stachowiak
/specs/ HTML_Timed_Media_Elements.html We also have a list of areas where we think the proposal could use refinement or additional features, but where we do not yet have a final design to present: http://webkit.org/specs/Timed_Media_Elements-Open_Issues.html Regards, Maciej Stachowiak

[whatwg] Codecs (was Re: Apple Proposal for Timed Media Elements)

2007-03-21 Thread Maciej Stachowiak
On Mar 21, 2007, at 6:16 PM, Ian Hickson wrote: * I'm concerned about the type attribute for content negotiation. Historically, type attributes are very badly implemented and even less reliably used. Conditional fallback in general is badly implemented and bug-prone especially in the

Re: [whatwg] Codecs (was Re: Apple Proposal for Timed Media Elements)

2007-03-21 Thread Maciej Stachowiak
On Mar 21, 2007, at 9:14 PM, Robert O'Callahan wrote: - As mentioned above, some devices may have a much harder time implementing Ogg than other codecs. Although a SHOULD-level requirement would excuse them, I'm not sure it's appropriate to have it if it might be invoked often. OK, let's

Re: [whatwg] Codecs (was Re: Apple Proposal for Timed Media Elements)

2007-03-22 Thread Maciej Stachowiak
On Mar 22, 2007, at 1:29 AM, Martin Atkins wrote: However, as others have pointed out, MIME types only represent the container format and not the codecs inside, so content negotiation would need to be extended to somehow allow audio and video codecs to be presented in addition to

Re: [whatwg] Apple Proposal for Timed Media Elements

2007-03-22 Thread Maciej Stachowiak
On Mar 22, 2007, at 2:09 AM, Dave Raggett wrote: From an accessibility perspective the proposal lacks support for captioning. There should be a mechanism for enabling/disabling captions to avoid disadvantaging people who have difficulties with hearing the audio. It should further be

Re: [whatwg] Codecs (was Re: Apple Proposal for Timed Media Elements)

2007-03-22 Thread Maciej Stachowiak
On Mar 22, 2007, at 2:16 AM, Håkon Wium Lie wrote: I think having a single baseline codec will make video immensely more attractive to authors than it otherwise would be. I also believe from the point of view of Mozilla (or any other open source project) Theora is vastly more attractive

Re: [whatwg] Codecs (was Re: Apple Proposal for Timed Media Elements)

2007-03-22 Thread Maciej Stachowiak
On Mar 22, 2007, at 3:33 AM, Christian F.K. Schaller wrote: A fallback without a mandated 'minimum' codec is next to worthless. Standards with similar goals of interoperability, like DLNA, have ended up choosing some mandated codecs (which are all 'older' codecs) and some optional higher

Re: [whatwg] source

2007-03-23 Thread Maciej Stachowiak
On Mar 23, 2007, at 2:26 PM, Nicholas Shanks wrote: On 23 Mar 2007, at 20:47, Maciej Stachowiak wrote: I agree the repetition of source/src is a little weird. and name the new element something like alt I don't like abbreviations such as alt and src. The use case is uncommon enough

Re: [whatwg] HTMLMediaElement.load()

2007-03-23 Thread Maciej Stachowiak
On Mar 23, 2007, at 3:20 PM, Ian Hickson wrote: On Fri, 23 Mar 2007, Anne van Kesteren wrote: How can load() be invoked when certain method calls have not yet returned? Most of the methods result in synchronous event dispatch, which can invoke further code. Why does it switch to the

Re: [whatwg] HTMLMediaElement.load()

2007-03-23 Thread Maciej Stachowiak
On Mar 23, 2007, at 4:37 PM, Ian Hickson wrote: On Fri, 23 Mar 2007, Maciej Stachowiak wrote: I would suggest adopting the states from the Apple proposal instead, where this state would correspond to UNINITIALIZED (starting a load would switch to LOADING state). Yeah, I'm planning

Re: [whatwg] Video proposals

2007-03-25 Thread Maciej Stachowiak
On Mar 18, 2007, at 4:21 PM, Matthew Ratzloff wrote: Slightly more complex use case: object classid=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B codebase=http://www.apple.com/qtactivex/qtplugin.cab; width=200 height=16 param name=src value=my-audio.mp3 / param

Re: [whatwg] Codecs (was Re: Apple Proposal for Timed Media Elements)

2007-03-26 Thread Maciej Stachowiak
On Mar 26, 2007, at 6:58 AM, Christian F.K. Schaller wrote: On Sat, 2007-03-24 at 11:31 -0700, Kevin Marks wrote: Are you talking container or codecs here? AVI is a significant container format, with some variant of MPEG4 codecs in. My point was that the MPEG4 standard, including both its

Re: [whatwg] on codecs in a 'video' tag.

2007-03-30 Thread Maciej Stachowiak
On Mar 29, 2007, at 6:32 AM, Gervase Markham wrote: Dave Singer wrote: That's an attempt to force the issue by fiat. But any specification for anything could be described as an attempt to force the issue by fiat. That' just loaded language. Let me frame the conversation a bit

Re: [whatwg] on codecs in a 'video' tag.

2007-04-02 Thread Maciej Stachowiak
On Apr 2, 2007, at 5:03 AM, Gervase Markham wrote: Maciej Stachowiak wrote: Reasons Apple would like MPEG4 + H.264 + AAC to be the preferred codec stack -- - We already need to support these for video production and consumer electronics (so no extra patent cost to us) I don't

Re: [whatwg] on codecs in a 'video' tag.

2007-04-02 Thread Maciej Stachowiak
On Apr 2, 2007, at 11:50 AM, Maik Merten wrote: Maciej Stachowiak schrieb: It's not immediately clear to me that a Mozilla license would not cover redistribution, for instance the license fees paid by OS vendors generally cover redistribution when the OS is bundled with a PC. I think

Re: [whatwg] on codecs in a 'video' tag.

2007-04-03 Thread Maciej Stachowiak
Hey Gerv, On Apr 3, 2007, at 5:51 AM, Gervase Markham wrote: Maciej Stachowiak wrote: What I mean is that unlike the case for other browser vendors, it won't cost us anything in patent license fees. Ah, right. So you want MPEG because it gives Apple (and Microsoft, I guess) a financial

Re: [whatwg] on codecs in a 'video' tag.

2007-04-03 Thread Maciej Stachowiak
On Apr 3, 2007, at 9:47 AM, Gervase Markham wrote: Maciej Stachowiak wrote: Maciej Stachowiak wrote: What I mean is that unlike the case for other browser vendors, it won't cost us anything in patent license fees. Ah, right. So you want MPEG because it gives Apple (and Microsoft, I

Re: [whatwg] Apple Proposal for Timed Media Elements

2007-04-04 Thread Maciej Stachowiak
On Apr 4, 2007, at 7:31 PM, Vladimir Vukicevic wrote: Maciej Stachowiak wrote: CSS Timed Media Module proposal - http://webkit.org/specs/ Timed_Media_CSS.html Some feedback on my initial reading.. the CSS properties specified seem like a good set that will cover most common

Re: [whatwg] Apple Proposal for Timed Media Elements

2007-04-05 Thread Maciej Stachowiak
On Apr 5, 2007, at 4:53 AM, ddailey wrote: I understand that some here have reasons not to be happy with SMIL, but its implementation within SVG really is quite nice and understandable. So far as I can see, the discontent with it stems primarily from the fact SMIL seems to have

Re: [whatwg] Parsing: comment tokenization

2007-04-07 Thread Maciej Stachowiak
On Apr 7, 2007, at 3:16 PM, Nicholas Shanks wrote: On 7 Apr 2007, at 15:47, Anne van Kesteren wrote: On Sat, 07 Apr 2007 14:27:14 +0200, Nicholas Shanks [EMAIL PROTECTED] wrote: AFAIK browsers and other HTML clients don't currently treat these as comments, [...] Well, sorry to say, you

Re: [whatwg] Attribute for holding private data for scripting

2007-04-09 Thread Maciej Stachowiak
On Apr 8, 2007, at 11:12 AM, Henri Sivonen wrote: At http://www.quirksmode.org/blog/archives/2007/04/html_5.html PPK suggests having an attribute for storing private data for scripts. Currently, one can invent an attribute and it will work for scripts. However, it will look ugly for

Re: [whatwg] Give guidance about RFC 4281 codecs parameter

2007-04-10 Thread Maciej Stachowiak
On Apr 10, 2007, at 11:58 AM, Ralph Giles wrote: On Tue, Apr 10, 2007 at 11:21:10AM -0700, Dave Singer wrote: # application/ogg; disposition=moving-image; codecs=theora, vorbis # application/ogg; disposition=sound; codecs=speex what is the 'disposition' parameter? The idea of a

Re: [whatwg] Attribute for holding private data for scripting

2007-04-10 Thread Maciej Stachowiak
On Apr 10, 2007, at 2:14 PM, Sam Ruby wrote: Anne van Kesteren wrote: On Tue, 10 Apr 2007 22:41:12 +0200, Sam Ruby [EMAIL PROTECTED] wrote: How so? I missed the part where you wanted to change existing HTML parsers. I thought Hixie pointed out earlier (by means of examples) why we can't

[whatwg] Conformance for Mail clients (and maybe other WYSIWYG editors)

2007-04-11 Thread Maciej Stachowiak
This topic came up on #html-wg today. Mail.app and other mail clients don't put alt attributes on images generated in email. They could add alt=, but there are two reasons it might be better to allow no alt attribute at all, at least for email clients. 1) A mail message is often sent to

Re: [whatwg] Attribute for holding private data for scripting

2007-04-11 Thread Maciej Stachowiak
On Apr 10, 2007, at 11:42 PM, Jonas Sicking wrote: Here's a page I constructed, and tested on Firefox: http://intertwingly.net/stories/2007/04/10/test.html This page is meant to be served as application/xhtml+xml. Can you test it and see what results you get? Then lets discuss further.

Re: [whatwg] Conformance for Mail clients (and maybe other WYSIWYGeditors)

2007-04-11 Thread Maciej Stachowiak
On Apr 11, 2007, at 2:01 AM, Kristof Zelechovski wrote: I think the correct fallback for a photograph for its own sake is alt=(Use a browser that supports graphic images to view). If you really want to be anal about the spec, I don't think this would truly represent text with an

Re: [whatwg] Attribute for holding private data for scripting

2007-04-11 Thread Maciej Stachowiak
On Apr 11, 2007, at 6:04 AM, Sam Ruby wrote: Anne van Kesteren wrote: I think I'd rather have something simple such as prefix_name for extensions made by ECMAScript libraries, etc. (As opposed to an in scope xmlns:prefix=http://...; with prefix:name extensions which work differently in

Re: [whatwg] A few editing suggestions for the HTML5 spec

2007-04-14 Thread Maciej Stachowiak
On Apr 14, 2007, at 3:14 PM, Geoffrey Garen wrote: 1.4 when not qualified to explicitly refer when not qualified explicitly to refer (split infinitive) The split infinitive is not generally considered a grammatical error these days. See http://en.wikipedia.org/wiki/Split_infinitive for

Re: [whatwg] Canvas suggestions

2007-04-15 Thread Maciej Stachowiak
On Apr 15, 2007, at 11:15 AM, Jordan OSETE wrote: Hello folks at the WHATWG. Some simple suggestions about the great canvas tag: Clipping-paths: --- Right now if i understand it correctly, the clip() function creates a new clipping path, being the intersection of the last

Re: [whatwg] A few editing suggestions for the HTML5 spec

2007-04-15 Thread Maciej Stachowiak
On Apr 14, 2007, at 10:01 PM, gary turner wrote: Maciej Stachowiak wrote: On Apr 14, 2007, at 3:14 PM, Geoffrey Garen wrote: 1.4 when not qualified to explicitly refer when not qualified explicitly to refer (split infinitive) The split infinitive is not generally considered a grammatical

Re: [whatwg] Conformance for Mail clients (and maybe other WYSIWYG editors)

2007-04-16 Thread Maciej Stachowiak
Hi Karl, On Apr 15, 2007, at 11:48 PM, Karl Dubost wrote: in a drag and drop scenario in your mail.app or other HTML authoring tool, you could imagine: +--+ | | | | the image itself | | | | |

Re: [whatwg] Web Documents off the Web (was Web Archives)

2007-04-16 Thread Maciej Stachowiak
On Apr 16, 2007, at 1:39 PM, Tyler Keating wrote: Hi, I'm bringing this up again with a different tact, because the more that I think about it, the more I believe it has the ability to significantly change the perception and application of HTML and I would really like to keep the

Re: [whatwg] Alt text authoring Re: Conformance for Mail clients (and maybe other WYSIWYG editors)

2007-04-18 Thread Maciej Stachowiak
On Apr 18, 2007, at 11:56 AM, Charles McCathieNevile wrote: On Mon, 16 Apr 2007 10:32:10 -0400, Maciej Stachowiak [EMAIL PROTECTED] wrote: I think it remains the case that for end-user generated content, there will often be semantically meaningful images that are meaningful in themselves

Re: [whatwg] Alt text authoring Re: Conformance for Mail clients

2007-04-22 Thread Maciej Stachowiak
On Apr 22, 2007, at 2:48 AM, Kornel Lesinski wrote: On Sun, 22 Apr 2007 01:26:55 +0100, Jon Barnett [EMAIL PROTECTED] wrote: By entirely omitted alt, do you still only mean WYSIWYG editors? If not, I agree. The distinction would be as follows: (1) img src=obvious.jpg alt=obvious - This

Re: [whatwg] include element

2007-04-27 Thread Maciej Stachowiak
On Apr 27, 2007, at 3:36 AM, Jonas Sicking wrote: Martin Atkins wrote: Christian Schmidt wrote: In practice, the result effect is often achieved by wrapping your include file in a document.write() and including this using script a script src= However, this makes it harder to write

[whatwg] classList.toggle()

2007-04-27 Thread Maciej Stachowiak
How about about adding a toggle() operation to classList? Adds the token if not present, removes it if present. This would be useful for script code that dynamically manipulates classes to cause style changes. Regards, Macie

Re: [whatwg] Target Attribute Values

2007-04-27 Thread Maciej Stachowiak
On Apr 27, 2007, at 8:49 PM, Ian Hickson wrote: On Thu, 26 Apr 2007, Lachlan Hunt wrote: Why is _blank still considered a conforming value? On IRC, Hixie mentioned that there are some legitimate use cases, but didn't list any. I've argued against popups many times before and heard many

Re: [whatwg] Target Attribute Values

2007-04-27 Thread Maciej Stachowiak
On Apr 27, 2007, at 9:55 PM, Lachlan Hunt wrote: The major reasons for popups that I can remember include: * Links to external sites, so that users don't leave the previous site. - It's far better to inform the user that they're going to an external site and let them decide for

Re: [whatwg] Target Attribute Values

2007-04-27 Thread Maciej Stachowiak
On Apr 27, 2007, at 10:24 PM, Ian Hickson wrote: On Fri, 27 Apr 2007, Maciej Stachowiak wrote: Won't this just lead authors (who care about conformance) to use window.open(), with equally bad results that it's harder for the UA to control? I also made it non-conforming for window.open

Re: [whatwg] Target Attribute Values

2007-04-28 Thread Maciej Stachowiak
On Apr 28, 2007, at 2:04 AM, Matthew Paul Thomas wrote: On Apr 28, 2007, at 4:12 PM, Maciej Stachowiak wrote: ... One valid reason to use _blank instead of a named target to open a new window is the fact that the top-level frame namespace is global, and you don't want to collide

Re: [whatwg] classList.toggle()

2007-05-01 Thread Maciej Stachowiak
On May 1, 2007, at 12:05 AM, Martin Atkins wrote: Maciej Stachowiak wrote: How about about adding a toggle() operation to classList? Adds the token if not present, removes it if present. This would be useful for script code that dynamically manipulates classes to cause style changes

Re: [whatwg] Target Attribute Values

2007-05-04 Thread Maciej Stachowiak
On Apr 29, 2007, at 9:21 AM, Sander Tekelenburg wrote: At 00:36 +1200 UTC, on 2007-04-30, Matthew Paul Thomas wrote: [...] If _blank is allowed, I would prefer the specification to discourage authors from using _blank when another solution is practical (e.g. using a details element in the

Re: [whatwg] Target Attribute Values

2007-05-04 Thread Maciej Stachowiak
On May 4, 2007, at 4:48 PM, Sander Tekelenburg wrote: At 01:32 -0700 UTC, on 2007-05-04, Maciej Stachowiak wrote: Safari indicates in the status bar hover feedback when a link will open in a new window, new frame or new tab, or if it will download, if we can tell based on target setting

Re: [whatwg] Web Documents off the Web (was Web Archives)

2007-05-05 Thread Maciej Stachowiak
On May 5, 2007, at 10:27 AM, Ben Ward wrote: On 16 Apr 2007, at 22:03, Maciej Stachowiak wrote: A cross-browser web archive format sounds like a useful thing From a purely practical perspective, surely support for the data: URI format solves this problem? The user-agent's ‘Save as Web

Re: [whatwg] HTML5 is now also hosted by the W3C

2007-05-10 Thread Maciej Stachowiak
On May 10, 2007, at 1:13 AM, Anne van Kesteren wrote: On Thu, 10 May 2007 06:52:33 +0200, Ian Hickson [EMAIL PROTECTED] wrote: The W3C's HTML working group today resolved to start from the current WHATWG work. Specifically, the group resolved to review our work, and will probably build on it.

Re: [whatwg] custom ImageData objects

2007-05-13 Thread Maciej Stachowiak
On May 13, 2007, at 2:49 AM, Anne van Kesteren wrote: In a reply to a message from Mathieu Hixie indicated that you can create your own ImageData objects easily in ECMAScript: var data = { height:1, width:1, data:[0,0,0,0] } context.putImageData(data, 0, 0) I would like the

Re: [whatwg] Canvas and imageData

2007-05-15 Thread Maciej Stachowiak
On May 15, 2007, at 5:29 PM, Ian Hickson wrote: On Sun, 13 May 2007, Maciej Stachowiak wrote: (Given that you can create them yourself I'm not sure why ImageData has readonly attributes, but maybe that would save some additional checking...) Ironically, due to the readonly attributes you

Re: [whatwg] Predefined classes are gone

2007-05-17 Thread Maciej Stachowiak
On May 17, 2007, at 5:43 PM, Lachlan Hunt wrote: Ian Hickson wrote: In response to overwhelming feedback on this issue (especially in blogs, forums, and mailing lists other than this one, like www- html and public-html) I've removed the predefined classes. They're opaque again. The main

Re: [whatwg] Scripting Tweaks

2007-05-18 Thread Maciej Stachowiak
On May 18, 2007, at 3:40 PM, Ian Hickson wrote: On Wed, 20 Apr 2005, Dean Edwards wrote: 1) Mozilla's DOMContentLoaded event is very handy. It fires when a node's content has been loaded and parsed (the DOM has been constructed). This is much better than the standard onload event as it

Re: [whatwg] Radio UserLand: Mail from Ian Hickson

2007-05-18 Thread Maciej Stachowiak
On May 18, 2007, at 4:19 PM, Ian Hickson wrote: On Fri, 22 Apr 2005, Brad Neuberg wrote: Here's a possible API for GET and POST semantics without XmlHttpRequest: window.location.href = base URL + URL parameters already appended window.location.method = GET or POST, nothing else supported

Re: [whatwg] Scripting Tweaks

2007-05-19 Thread Maciej Stachowiak
On May 18, 2007, at 9:56 PM, Ian Hickson wrote: I did quite a lot of research before defining it. There's content depending on it. Two browsers support it, and workarounds are hacked into libraries to fake it for the two other browsers, including one that supports script defer. (The

Re: [whatwg] Scripting Tweaks

2007-05-19 Thread Maciej Stachowiak
On May 18, 2007, at 10:14 PM, liorean wrote: On 19/05/07, Ian Hickson [EMAIL PROTECTED] wrote: for (var i in elements) { if (!elements[i].processed) { process(elements[i]); elements[i].processed = true; } } for (var i in elements) delete elements[i].processed;

Re: [whatwg] Scripting Tweaks

2007-05-19 Thread Maciej Stachowiak
On May 19, 2007, at 4:27 PM, Dean Edwards wrote: Maciej Stachowiak wrote: On May 18, 2007, at 10:14 PM, liorean wrote: On 19/05/07, Ian Hickson [EMAIL PROTECTED] wrote: The uniqueID thing is really working around a deficiency in JS (inability to use objects as keys). I think that's where

Re: [whatwg] Parsing: ignore /head?

2007-05-21 Thread Maciej Stachowiak
On May 21, 2007, at 3:10 AM, Anne van Kesteren wrote: If we simply ignore /head there's no longer a need to append elements to the head element pointer. In fact, we can remove it. I'm not sure how much this would complicate conformance checking, but it would certainly be very nice not to

Re: [whatwg] password option for window.prompt?

2007-05-22 Thread Maciej Stachowiak
On May 22, 2007, at 12:47 AM, Kristof Zelechovski wrote: And besides, the bookmarklet uses the javascript protocol, which, IIRC, is designed to produce a new document on the fly, not to modify the current one. On the contrary, many uses of the javascript: URI scheme in web pages are

Re: [whatwg] password option for window.prompt?

2007-05-22 Thread Maciej Stachowiak
On May 22, 2007, at 12:16 PM, Kristof Zelechovski wrote: Forgive my being nosy: which uses? a href=javascript:. is valid but it replaces the current document with a document parsed from the textual representation of the value returned from the script. If the javascript: URI returns the

Re: [whatwg] ISO-8859-* and the C1 control range

2007-05-29 Thread Maciej Stachowiak
On May 29, 2007, at 3:13 AM, Henri Sivonen wrote: To avoid stepping on the toes of Charmod more than is necessary, I suggest making it non-conforming for a document to have bytes in the 0x80…0x9F range when the character encoding is declared to be one of the ISO-8859 family encodings.

Re: [whatwg] noscript should be allowed in head

2007-05-30 Thread Maciej Stachowiak
On May 30, 2007, at 2:02 AM, Julian Reschke wrote: Henri Sivonen wrote: On May 30, 2007, at 11:39, Julian Reschke wrote: Anne van Kesteren wrote: Whether or not it should be conforming is a different question. How a document is to be parsed is best agreed upon between browser vendors I

Re: [whatwg] Google Gears and HTML5

2007-05-30 Thread Maciej Stachowiak
On May 30, 2007, at 8:32 PM, Robert O'Callahan wrote: I know Mozilla has considered other approaches to offline web apps, but I think the LocalServer type approach seems cleaner than Mozilla's JAR file plan, since it is much more transparent and allows local resource caching to be decoupled

Re: [whatwg] HTMLDocument.title and SVGDocument

2007-06-01 Thread Maciej Stachowiak
On Jun 1, 2007, at 3:21 PM, Ian Hickson wrote: On Sat, 10 Feb 2007, Anne van Kesteren wrote: If HTMLDocument really is going to apply to every Document object... then at least HTMLDocument.title needs to somehow not clash with SVGDocument.title or do both or something. I basically see two

Re: [whatwg] HTMLMediaElement.volume

2007-06-02 Thread Maciej Stachowiak
On Jun 1, 2007, at 6:03 PM, Ian Hickson wrote: On Fri, 23 Mar 2007, Anne van Kesteren wrote: Wouldn't it be better if no INDEX_SIZE_ERR was raised but instead the previous value was retained? For consistency with CanvasRenderingContext2D.globalAlpha for instance. It's not really important,

Re: [whatwg] HTMLDocument.title and SVGDocument

2007-06-02 Thread Maciej Stachowiak
On Jun 2, 2007, at 1:31 AM, Anne van Kesteren wrote: On Sat, 02 Jun 2007 01:06:12 +0200, Maciej Stachowiak [EMAIL PROTECTED] wrote: I like the check the root element option. That way, one could use the exact same Document object implementation for SVG and XHTML, while remaining compatible

Re: [whatwg] javascript API for video element

2007-06-02 Thread Maciej Stachowiak
On Jun 2, 2007, at 5:40 AM, Silvia Pfeiffer wrote: Hi all, the Annodex Association and Xiph Foundation are in the process of implementing a small-footprint library and firefox plugin called OggPlay that provides native Ogg Theora support. There's a javascript API in the process of being

Re: [whatwg] Setting innerHTML to null or undefined

2007-06-04 Thread Maciej Stachowiak
On Jun 4, 2007, at 5:45 PM, liorean wrote: On 05/06/07, Michael A. Puls II [EMAIL PROTECTED] wrote: On 6/4/07, Jonas Sicking [EMAIL PROTECTED] wrote: I'd really dislike having to have this one property behave differently than other text properties in the DOM. How do opera/ie deal with

Re: [whatwg] Scripting Tweaks

2007-06-05 Thread Maciej Stachowiak
On Jun 4, 2007, at 9:25 PM, Ian Hickson wrote: On Sat, 19 May 2007, Maciej Stachowiak wrote: May I suggest reproposing [DOMContentLoaded] for DOM 3 Events, then, since your former objection to it is withdrawn? I can if you want, but I don't really see it as a feature that would

Re: [whatwg] Issues concerning the base element and xml:base

2007-06-05 Thread Maciej Stachowiak
On Jun 4, 2007, at 3:23 PM, Jonas Sicking wrote: 2. Not support multiple base elements in either quirks nor standards mode. This would break a lot of pages (36000 in hixies test) for no really good reason since very little code is needed to deal with it. I don't know if this

Re: [whatwg] ISO-8859-* and the C1 control range

2007-06-05 Thread Maciej Stachowiak
On Jun 5, 2007, at 12:18 AM, Henri Sivonen wrote: On May 29, 2007, at 13:13, Henri Sivonen wrote: To avoid stepping on the toes of Charmod more than is necessary, I suggest making it non-conforming for a document to have bytes in the 0x80…0x9F range when the character encoding is declared

Re: [whatwg] Still more comments and questions on Web Apps 1.0

2007-06-10 Thread Maciej Stachowiak
On Jun 8, 2007, at 6:05 PM, Ian Hickson wrote: I am not an expert here, but IIRC, the underlying PDF/Quartz imaging model does not allow general xoring. I think it is important to ensure that canvas can be implemented on top a Quartz 2D drawing context on OS X without breaking hardware

Re: [whatwg] Offline Resources

2007-06-11 Thread Maciej Stachowiak
On Jun 10, 2007, at 3:40 AM, Lachlan Hunt wrote: Hi, Apparently Firefox 3 has implemented new features for offline resources, including rel=offline-resource and some new DOM APIs. | Introduced support for link rel=offline-resource, which puts | resources into the browser's offline cache.

Re: [whatwg] Offline Resources

2007-06-11 Thread Maciej Stachowiak
On Jun 11, 2007, at 2:24 AM, Robert O'Callahan wrote: Maciej Stachowiak wrote: I think the Google Gears design for this works better than the Mozilla design, because it lets offline mode use all the same URIs as regular mode, so the offline support can be cleanly factored from the rest

Re: [whatwg] The issue of interoperability of the video element

2007-06-24 Thread Maciej Stachowiak
On Jun 23, 2007, at 10:58 AM, Ivo Emanuel Gonçalves wrote: Dear WHATWG members, It has come to my attention that Apple developers behind the WebKit platform, which powers the web browser Safari, apparently intend to support the video element of the HTML 5 spec, section 3.14.7. It's all fine

Re: [whatwg] .localName shouldn't change case

2007-06-29 Thread Maciej Stachowiak
On Jun 29, 2007, at 10:22 AM, Thomas Broyer wrote: 2007/6/29, Simon Pieters: For HTML elements in HTML documents, why is Element.localName uppercased for tag names and lowercased for attribute names? Because of this: http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-5353782642 and this:

Re: [whatwg] More on postMessage

2007-07-16 Thread Maciej Stachowiak
Hi Jeff, On Jul 16, 2007, at 12:17 PM, Jeff Walden wrote: Gorm Haug Eriksen wrote: I agree that postMessage should have been on the window and not on the document, but why would you like to have the method on yourWindow instead of the otherWindow you post the message to? The benefit is

Re: [whatwg] More on postMessage

2007-07-19 Thread Maciej Stachowiak
On Jul 19, 2007, at 5:53 AM, Krištof Želechovski wrote: I'll agree that calling postMessage on the other window feels like a better and more intuitive API for users, but if implementers have to make such invasive and potentially-unsafe changes to do it, I think it's the wrong way to do

[whatwg] executeSql API is synchronous

2007-08-08 Thread Maciej Stachowiak
http://www.whatwg.org/specs/web-apps/current-work/#executing The executeSql() API returns a result synchronously. In general, SQL databases may be slow to access since they need to be read from disk, and if the database is not open already there's unlikely to be a ready cache. This may

Re: [whatwg] hashchange only dispatched in history traversal

2007-08-10 Thread Maciej Stachowiak
On Aug 10, 2007, at 2:20 AM, Anne van Kesteren wrote: Wouldn't it make sense to dispatch the event whenever location.hash changes value? When following a link for instance? (Unless I misunderstood something it's currently only dispatched in history traversal.) I agree with Anne's

Re: [whatwg] hashchange only dispatched in history traversal

2007-08-10 Thread Maciej Stachowiak
On Aug 10, 2007, at 12:35 PM, Ian Hickson wrote: ...leads to something that isn't IMHO that much clearer or better than what we have now: onhashchanged= The advantage of hashchanged is that it is very literal -- the attribute called hash changed just before the event fired. It's not

Re: [whatwg] hashchange only dispatched in history traversal

2007-08-11 Thread Maciej Stachowiak
11, 2007 12:15 AM To: Maciej Stachowiak Cc: WHATWG Subject: Re: [whatwg] hashchange only dispatched in history traversal I kind of like onfragmentload but fragment seems to have connotations of bits of documents rather than of fragment identifiers. I don't think it's necessarily any clearer

Re: [whatwg] hashchange only dispatched in history traversal

2007-08-12 Thread Maciej Stachowiak
On Aug 12, 2007, at 10:38 AM, Krzysztof Żelechowski wrote: Dnia sobota, 11 sierpnia 2007 22:14, Maciej Stachowiak napisał: On Aug 11, 2007, at 10:00 AM, Křištof Želechovski wrote: Originally the name after the hash was a bookmark, not a fragment, because it would be defined on an anchor. I

Re: [whatwg] Offline Web Apps

2007-08-23 Thread Maciej Stachowiak
On Aug 23, 2007, at 6:42 PM, Ian Hickson wrote: IDEA Ok so here's my idea based on the existing ideas, the comments on those ideas, and so forth. One of my main goals was keeping everything as simple as possible. My proposal is that we add a new attribute to the html element, which

Re: [whatwg] Answering the question... (timing of table headers issue)

2007-08-23 Thread Maciej Stachowiak
On Aug 23, 2007, at 3:43 PM, John Foliot wrote: * Is Maciej Stachowiak correct when he states, This feature is underspecified in HTML4, and not implemented by IE. It is also likely to be dropped in HTML5 and may be removed from Mozilla and Opera as a result. [http://bugs.webkit.org

Re: [whatwg] Offline Web Apps

2007-08-24 Thread Maciej Stachowiak
On Aug 23, 2007, at 8:56 PM, Aaron Boodman wrote: On Aug 23, 2007 8:18 PM, Ian Hickson [EMAIL PROTECTED] wrote: On Thu, 23 Aug 2007, Maciej Stachowiak wrote: I haven't read over the details but there seems to be an obvious showstopper problem: this won't work for web applications

[whatwg] Offline Web Apps with Open-Ended URI Spaces (was Re: Offline Web Apps)

2007-09-20 Thread Maciej Stachowiak
On Sep 13, 2007, at 3:59 PM, Ian Hickson wrote: On Thu, 13 Sep 2007, Aaron Boodman wrote: Maybe you were asking how you could keep querystring-based urls in the offline version of Bugzilla? There isn't an offline version. There's just one version, it just happens to support being online

  1   2   3   4   5   >