Re: [whatwg] framesets

2009-10-16 Thread Rimantas Liubertas
OK and for clarity's sake I'll again repeat framesets don't solve the navigation problem, they just make it easier to solve than any other available proved solution, and this wee problem is that browsers  own bookmarks, database users own database table rows, so usually you shouldn't bookmark

Re: [whatwg] object behavior

2009-10-16 Thread Ian Hickson
On Thu, 3 Sep 2009, Henri Sivonen wrote: On Sep 3, 2009, at 00:39, Ian Hickson wrote: 2. Its element must not be set to display of 'none' (and therefore must not be part of fallback content that's not triggered yet). This is definitely a bug; the fallback handling is done in a

Re: [whatwg] hgroup functionality absorbed into header?

2009-10-16 Thread Kornel Lesiński
On 9 Oct 2009, at 09:18, Ian Hickson wrote: For example, the W3C copy of HTML5 says: h1HTML5/h1 h2A vocabulary and associated APIs for HTML and XHTML/h2 h2Editor's Draft 9 October 2009/h2 ... h2Abstract/h2 ...which is what it would be interpreted as. This is what is meant:

Re: [whatwg] Workers and addEventListener

2009-10-16 Thread Zoltan Herczeg
I would not be opposed to changing the spec to include enabling a port's message queue when addEventListener(message) is invoked. I'm reluctant to make addEventListener() do magic. we have two choices: - extend addEventListener - fix the Shared Worker example on the whatwg site to call

Re: [whatwg] object behavior

2009-10-16 Thread Michael A. Puls II
On Fri, 16 Oct 2009 05:28:46 -0400, Ian Hickson i...@hixie.ch wrote: There was also some discussion of what to do about preventing a plugin instantiating. It seems to me that authors can do that by not creating the object element ahead of time. And, if it's desired to specify the object

Re: [whatwg] object behavior

2009-10-16 Thread Simon Pieters
On Fri, 16 Oct 2009 12:10:35 +0200, Michael A. Puls II shadow2...@gmail.com wrote: On Fri, 16 Oct 2009 05:28:46 -0400, Ian Hickson i...@hixie.ch wrote: There was also some discussion of what to do about preventing a plugin instantiating. It seems to me that authors can do that by not

[whatwg] No interface flicker across page loads, without JavaScript (was: framesets)

2009-10-16 Thread Aryeh Gregor
On Thu, Oct 15, 2009 at 3:49 AM, Nelson Menezes flying.mushr...@gmail.com wrote: As an aside, there is a reason why AJAX has become so popular over the past few years: it solves the specific UI-reset issue that is inherent in full-page refreshes. I'm trying to think what a solution to this

Re: [whatwg] object behavior

2009-10-16 Thread Michael A. Puls II
On Fri, 16 Oct 2009 06:19:04 -0400, Simon Pieters sim...@opera.com wrote: On Fri, 16 Oct 2009 12:10:35 +0200, Michael A. Puls II shadow2...@gmail.com wrote: On Fri, 16 Oct 2009 05:28:46 -0400, Ian Hickson i...@hixie.ch wrote: There was also some discussion of what to do about preventing a

Re: [whatwg] No interface flicker across page loads, without JavaScript (was: framesets)

2009-10-16 Thread Markus Ernst
Aryeh Gregor schrieb: On Thu, Oct 15, 2009 at 3:49 AM, Nelson Menezes flying.mushr...@gmail.com wrote: As an aside, there is a reason why AJAX has become so popular over the past few years: it solves the specific UI-reset issue that is inherent in full-page refreshes. I'm trying to think what

Re: [whatwg] Canvas Proposal: aliasClipping property

2009-10-16 Thread Philip Taylor
On Fri, Oct 16, 2009 at 2:41 AM, Charles Pritchard ch...@jumis.com wrote: Having gone back and forth with Robert a bit: I was able to recall the whys of a particular issue that could be handled in this version of the spec, regarding compositing. As far as I can tell; the area (width and

Re: [whatwg] No interface flicker across page loads, without JavaScript (was: framesets)

2009-10-16 Thread Tab Atkins Jr.
On Fri, Oct 16, 2009 at 6:16 AM, Markus Ernst derer...@gmx.ch wrote: Aryeh Gregor schrieb: On Thu, Oct 15, 2009 at 3:49 AM, Nelson Menezes flying.mushr...@gmail.com wrote: As an aside, there is a reason why AJAX has become so popular over the past few years: it solves the specific UI-reset

Re: [whatwg] Canvas Proposal: aliasClipping property

2009-10-16 Thread Robert O'Callahan
On Sat, Oct 17, 2009 at 1:06 AM, Philip Taylor excors+wha...@gmail.comexcors%2bwha...@gmail.com wrote: I think the spec is clear on this (at least when I last looked; not sure if it's changed since then). Image A is infinite and filled with transparent black, then you draw the shape onto it

Re: [whatwg] No interface flicker across page loads, without JavaScript (was: framesets)

2009-10-16 Thread Aryeh Gregor
On Fri, Oct 16, 2009 at 7:16 AM, Markus Ernst derer...@gmx.ch wrote: Interesting idea! Anyway it introduces some consistency problems to solve, e.g.: Page1.html contains: static id=fooI eat meat/static and links to page2.html, which contains: static id=fooI am a vegetarian/static So

Re: [whatwg] No interface flicker across page loads, without JavaScript (was: framesets)

2009-10-16 Thread Tab Atkins Jr.
On Fri, Oct 16, 2009 at 8:50 AM, Aryeh Gregor simetrical+...@gmail.com wrote: On Fri, Oct 16, 2009 at 7:16 AM, Markus Ernst derer...@gmx.ch wrote: Interesting idea! Anyway it introduces some consistency problems to solve, e.g.: Page1.html contains: static id=fooI eat meat/static and links

Re: [whatwg] Canvas Proposal: aliasClipping property

2009-10-16 Thread Philip Taylor
On Fri, Oct 16, 2009 at 2:25 PM, Robert O'Callahan rob...@ocallahan.org wrote: On Sat, Oct 17, 2009 at 1:06 AM, Philip Taylor excors+wha...@gmail.com wrote: I think the spec is clear on this (at least when I last looked; not sure if it's changed since then). Image A is infinite and filled

Re: [whatwg] No interface flicker across page loads, without JavaScript (was: framesets)

2009-10-16 Thread Aryeh Gregor
On Fri, Oct 16, 2009 at 10:16 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: Indeed, script changes should persist.  The problem he was highlighting, though, was the fact that a 'site bug' like that would be very easy to have happen accidentally.  It could even go unnoticed by the site

Re: [whatwg] framesets

2009-10-16 Thread Peter Brawley
Rimantas, How on Earth can you bookmark database table rows? Your database knows nothing where its rows go, the browser does not know where does HTML originates in: it may be DB, may be XML transformed via XSLT, may be static files on the server. ?! In a data-driven treeview, one node

Re: [whatwg] Canvas Proposal: aliasClipping property

2009-10-16 Thread Charles Pritchard
On 10/16/09 8:01 AM, Philip Taylor wrote: Windows, Opera 10 passes them all, Firefox 3.5 passes all except 'copy' (https://bugzilla.mozilla.org/show_bug.cgi?id=366283), Safari 4 and Chrome 3 fail them all. I've read that this was intentional on the part of WebKit. (Looking at the spec

Re: [whatwg] framesets

2009-10-16 Thread Mike Ressler
PB, I think the point Rimantas is making is that you aren't bookmarking that node. The fact that one node in the treeview represents one table row leaves out the reality that the node contains a URL and that clicking on the node simply submits a URL to your application and awaits an HTML

Re: [whatwg] framesets

2009-10-16 Thread Peter Brawley
Mike, I think the point Rimantas is making is that you aren't bookmarking that node. The fact that one node in the treeview represents one table row leaves out the reality that the node contains a URL and that clicking on the node simply submits a URL to your application and awaits an HTML

Re: [whatwg] framesets

2009-10-16 Thread Rimantas Liubertas
Eh? He didn't say that; you're quoting me. I did, in fact, at least I meant that. Browsers  own bookmarks, database users own database table rows, so it must be possible in database maintenance webapps to prevent bookmarking of elements which represent database table rows. And again, I

[whatwg] a onlyreplace

2009-10-16 Thread Tab Atkins Jr.
Promoting this reply to top-level because I think it's crazy good. On Fri, Oct 16, 2009 at 11:09 AM, Aryeh Gregor simetrical+...@gmail.com wrote: On Fri, Oct 16, 2009 at 10:16 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: As well, this still doesn't answer the question of what to do with

Re: [whatwg] window.setInterval if visible.

2009-10-16 Thread Gregg Tavares
On Thu, Oct 15, 2009 at 1:53 PM, Markus Ernst derer...@gmx.ch wrote: Gregg Tavares schrieb: I was wondering if there as been a proposal for either an optional argument to setInterval that makes it only callback if the window is visible OR maybe a window.setRenderInterval. Here's the issue

Re: [whatwg] framesets

2009-10-16 Thread Peter Brawley
Rimantas Eh? He didn't say that; you're quoting me. I did, in fact, at least I meant that. I wrote browsers own bookmarks, database users own database table rows, so usually you shouldn't bookmark database table rows, and much follows from that, therefore saying server issues don't bear

Re: [whatwg] Canvas Proposal: aliasClipping property

2009-10-16 Thread Robert O'Callahan
On Sat, Oct 17, 2009 at 5:47 AM, Charles Pritchard ch...@jumis.com wrote: Then, should we explicitly state it, so that the next versions of Chrome and Safari are pressured to follow? That shouldn't be necessary. If the composition operation was limited to the extents of the source shape, the

Re: [whatwg] a onlyreplace

2009-10-16 Thread Tab Atkins Jr.
A few public responses to issues/questions brought up in IRC: (thanks, Aryeh and Philip!) How is this better than iframe seamless and a target? = It's significantly better in multiple ways, actually. 1. iframes, like frames before them,

Re: [whatwg] a onlyreplace

2009-10-16 Thread Markus Ernst
Tab Atkins Jr. schrieb: Promoting this reply to top-level because I think it's crazy good. [...] Let's say we add a new attribute to a, like a onlyreplace=foo, where foo is the id of an element on the page. Or better, a space-separated list of elements. When the user clicks such a link, the

Re: [whatwg] a onlyreplace

2009-10-16 Thread Tab Atkins Jr.
On Fri, Oct 16, 2009 at 4:10 PM, Markus Ernst derer...@gmx.ch wrote: Yes it looks like an AJAX killer. Well, for a particular common, useful pattern. AJAX will still be alive and well for solving more general classes of problems. Actually the problem I mentioned for Aryehs first proposal

Re: [whatwg] Charset sniffing from XML prolog

2009-10-16 Thread Ian Hickson
On Wed, 7 Oct 2009, Kartikaya Gupta wrote: If a document is served as text/html, but contains an XML prolog with an encoding attribute, it seems that all Firefox, Opera, and Chrome all pick up the encoding from the prolog and use it when parsing the rest of the document. (IE6 does not).

Re: [whatwg] HTMLness bit on script-created documents

2009-10-16 Thread Ian Hickson
On Thu, 8 Oct 2009, Henri Sivonen wrote: Gecko currently looks at the doctype passed to createDocument() in order to decide what interfaces to offer on the returned document and in order to determine if the HTMLness bit gets set. All interfaces should be supported, per HTML5. The bit should

Re: [whatwg] object behavior

2009-10-16 Thread Boris Zbarsky
On 10/16/09 4:12 PM, Ben Laurie wrote: I realise this is only one of dozens of ways that HTML is unfriendly to security, but, well, this seems like a bad idea - if the page thinks it is embedding, say, some flash, it seems like a pretty bad idea to allow the (possibly untrusted) site providing

Re: [whatwg] object behavior

2009-10-16 Thread Ben Laurie
On Fri, Oct 16, 2009 at 5:48 PM, Boris Zbarsky bzbar...@mit.edu wrote: On 10/16/09 4:12 PM, Ben Laurie wrote: I realise this is only one of dozens of ways that HTML is unfriendly to security, but, well, this seems like a bad idea - if the page thinks it is embedding, say, some flash, it seems

Re: [whatwg] a onlyreplace

2009-10-16 Thread Markus Ernst
Tab Atkins Jr. schrieb: [...] The body of page1.html could look like: div id=pageHeaderRecipies for vegetarians/div div id=content h1Lovely broccoli/h1 pTake the broccoli and do the following:/p ... /div ul id=navigation lispanBroccoli/span/li lia href=page2.html

Re: [whatwg] a onlyreplace

2009-10-16 Thread Tab Atkins Jr.
On Fri, Oct 16, 2009 at 5:08 PM, Markus Ernst derer...@gmx.ch wrote: (Also, in your examples you probably want @onlyreplace=content navigation, since your nav is changing from page to page as well. Indeed. Or, maybe I'd do it slightly differently, somehow like: ul id=navigation  lia

Re: [whatwg] object behavior

2009-10-16 Thread Ben Laurie
On Fri, Oct 16, 2009 at 6:04 PM, Mike Shaver mike.sha...@gmail.com wrote: On Fri, Oct 16, 2009 at 5:56 PM, Ben Laurie b...@google.com wrote: On Fri, Oct 16, 2009 at 5:48 PM, Boris Zbarsky bzbar...@mit.edu wrote: This is, imo, a much bigger problem than that of people embedding content from an

Re: [whatwg] object behavior

2009-10-16 Thread Boris Zbarsky
On 10/16/09 8:21 PM, Ben Laurie wrote: The point is that if I think I'm sourcing something safe but it can be overridden by the MIME type, then I have a problem. Perhaps we need an attribute on object that says to only render the data if the server provided type and @type match? That way you

[whatwg] Dangling reference: Progress Events

2009-10-16 Thread Mark Pilgrim
r4133 removed progress events, but the reference section still lists the Progress Events spec as a normative reference. -Mark

Re: [whatwg] Canvas Proposal: aliasClipping property

2009-10-16 Thread Oliver Hunt
On Oct 16, 2009, at 8:10 PM, Robert O'Callahan wrote: On Sat, Oct 17, 2009 at 4:01 AM, Philip Taylor excors+wha...@gmail.com wrote: Yes, mostly. http://philip.html5.org/tests/canvas/suite/tests/index.2d.composite.uncovered.html has relevant tests, matching what I believed the spec said - on

Re: [whatwg] a onlyreplace

2009-10-16 Thread Jonas Sicking
On Fri, Oct 16, 2009 at 11:06 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: Promoting this reply to top-level because I think it's crazy good. On Fri, Oct 16, 2009 at 11:09 AM, Aryeh Gregor simetrical+...@gmail.com wrote: On Fri, Oct 16, 2009 at 10:16 AM, Tab Atkins Jr. jackalm...@gmail.com