Re: [whatwg] a onlyreplace

2009-10-18 Thread Schuyler Duveen
Nelson Menezes wrote: 2009/10/18 Ian Hickson i...@hixie.ch: On Sat, 17 Oct 2009, Schuyler Duveen wrote: One of the big issues we found using it on some other sites is that javascript listeners (rather than onclick= attributes), and other DOM pointers in the system became stale. Thus, only

Re: [whatwg] a onlyreplace

2009-10-18 Thread Schuyler Duveen
Tab Atkins Jr. wrote: On Sun, Oct 18, 2009 at 11:20 AM, Schuyler Duveen wha...@graffitiweb.org wrote: Nelson Menezes wrote: My point (which feeds on Marcus Ernst's point) is that we need some kind of load event. Maybe something like: document.addEventListener('replaceonly') with the event

Re: [whatwg] a onlyreplace

2009-10-18 Thread Schuyler Duveen
Tab Atkins Jr. wrote: On Sun, Oct 18, 2009 at 11:50 AM, Schuyler Duveen wha...@graffitiweb.org wrote: The problem is that people will make links that refresh different parts of a document, to the point that the current document is no longer addressable. Use cases for this happen often enough

Re: [whatwg] a onlyreplace

2009-10-18 Thread Schuyler Duveen
Tab Atkins Jr. wrote: On Sun, Oct 18, 2009 at 9:42 PM, Schuyler Duveen wha...@graffitiweb.org wrote: Tab Atkins Jr. wrote: On Sun, Oct 18, 2009 at 11:50 AM, Schuyler Duveen wha...@graffitiweb.org wrote: The problem is that people will make links that refresh different parts of a document

Re: [whatwg] a onlyreplace

2009-10-17 Thread Schuyler Duveen
If you'd like to see what this looks like in Javascript, I implemented this technique several years ago. One place you can see it publicly is the swapFromHttp() function at: http://havel.columbia.edu/media_panels/js/MochiPlus.js You can see it in action on some pages like:

[whatwg] Experiments in end-tag attributes

2009-10-06 Thread Schuyler Duveen
indented p-tags /p /p !-- ad hoc solution! comment: id=something-here -- MORE ELEGANT ALTERNATIVE: p id=something-here /p id=something-here If it was noted as specifically conformant, this could possibly help parsers in some cases, including the human variety. cheers, Schuyler Duveen [1

Re: [whatwg] Element content models

2009-08-29 Thread Schuyler Duveen
There is a use case for hierarchical progress elements: e.g. multiple file uploads (or multiple phases). Consider the following example: progress id=p max=17 value=5 data-units=MB progress id=current-file-progress max=21/progress /progress could be displayed something like this: style div

Re: [whatwg] Web Storage: apparent contradiction in spec

2009-08-27 Thread Schuyler Duveen
I'm one of the lurking web application developers. This discussion has gone mostly how I was hoping, but since 'offline apps' has come up again, I might bootstrap that a bit. Below are some use cases, but I'll summarize my perspective briefly. 1. To run Doom requiring 500M of localStorage

Re: [whatwg] Web Storage: apparent contradiction in spec

2009-08-27 Thread Schuyler Duveen
Aryeh Gregor wrote: On Thu, Aug 27, 2009 at 11:14 AM, Schuyler Duveenwha...@graffitiweb.org wrote: 1. To run Doom requiring 500M of localStorage sounds like an 'application'--both users and developers currently have the expectation that users have to approve something like that before being

Re: [whatwg] Web Storage: apparent contradiction in spec

2009-08-27 Thread Schuyler Duveen
There should also be a way to ask for more quota (from the user) without losing user data. The API via a form element is a little odd--generally forms are for submitting information to the site. Historically, all of these kinds of things are done via javascript: * cookies * opensearch additions