Re: Proposal for Cascading Attribute Sheets - like CSS, but for attributes!

2012-08-22 Thread Tab Atkins Jr.
On Tue, Aug 21, 2012 at 5:48 PM, Dimitri Glazkov dglaz...@google.com wrote: Can we extend this to custom DOM element registration somehow? ul.newsli { identity: x-news-item; } or maybe even: ul.newsli { identity: url(//example.com/test/news.html#news-item); } If that's an

[Bug 18653] New: wrong bug tracker link

2012-08-22 Thread bugzilla
https://www.w3.org/Bugs/Public/show_bug.cgi?id=18653 Summary: wrong bug tracker link Product: WebAppsWG Version: unspecified Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

Re: Proposal for Cascading Attribute Sheets - like CSS, but for attributes!

2012-08-22 Thread Dimitri Glazkov
Yes, but... One of the problems with the is attribute is that it's magic: only the parser reacts to it, and changing it does not do anything. I was hoping for some special notation that clearly made it not an attribute, so that at least the magic is confined to CAS, and does not extend to weird

Re: Proposal for Cascading Attribute Sheets - like CSS, but for attributes!

2012-08-22 Thread Bronislav Klučka
On 22.8.2012 1:13, Tab Atkins Jr. wrote: On Tue, Aug 21, 2012 at 4:07 PM, Glenn Maynard gl...@zewt.org wrote: FWIW, while I don't find the idea of attaching event listeners this way too interesting (maybe I could be convinced, but event capturing is already convenient for most of these

Re: Proposal for Cascading Attribute Sheets - like CSS, but for attributes!

2012-08-22 Thread Tab Atkins Jr.
On Wed, Aug 22, 2012 at 9:11 AM, Dimitri Glazkov dglaz...@google.com wrote: Yes, but... One of the problems with the is attribute is that it's magic: only the parser reacts to it, and changing it does not do anything. I was hoping for some special notation that clearly made it not an

Re: Proposal for Cascading Attribute Sheets - like CSS, but for attributes!

2012-08-22 Thread Tab Atkins Jr.
On Wed, Aug 22, 2012 at 9:20 AM, Bronislav Klučka bronislav.klu...@bauglir.com wrote: On 22.8.2012 1:13, Tab Atkins Jr. wrote: Actually, the two should be identical, because CAS is applied as a mutation observer, rather than synchronously. As long as those statements appear in the same

Re: IndexedDB API: Missing exception

2012-08-22 Thread Jonas Sicking
Thanks, i filed https://www.w3.org/Bugs/Public/show_bug.cgi?id=18656 / Jonas On Tue, Aug 21, 2012 at 12:15 PM, Kristof Degrave kristof.degr...@realdolmen.com wrote: Hi, I think there is an error missing on the delete method of the object store. All other mutation operations have an

Re: [UndoManager] Disallowing live UndoManager on detached nodes

2012-08-22 Thread Maciej Stachowiak
Hi folks, I wanted to mention that, in addition to the extra implementation complexity, I am not sure that multiple independent UndoManagers per page is even a good feature. The use cases document gives a use case of a text editor with an embedded vector graphics editor. But for all the

Re: [UndoManager] Disallowing live UndoManager on detached nodes

2012-08-22 Thread Glenn Maynard
On Wed, Aug 22, 2012 at 7:36 PM, Maciej Stachowiak m...@apple.com wrote: Ryosuke also raised the possibility of multiple text fields having separate UndoManagers. On Mac, most apps wipe they undo queue when you change text field focus. WebKit preserves a single undo queue across text fields,

Re: Proposal for Cascading Attribute Sheets - like CSS, but for attributes!

2012-08-22 Thread Maciej Stachowiak
On Aug 21, 2012, at 1:59 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: On Tue, Aug 21, 2012 at 1:37 PM, Brian Kardell bkard...@gmail.com wrote: On Tue, Aug 21, 2012 at 4:32 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: Correct. If we applied CAS on attribute changes, we'd have... problems.

Re: [UndoManager] Disallowing live UndoManager on detached nodes

2012-08-22 Thread Ryosuke Niwa
On Wed, Aug 22, 2012 at 5:55 PM, Glenn Maynard gl...@zewt.org wrote: On Wed, Aug 22, 2012 at 7:36 PM, Maciej Stachowiak m...@apple.com wrote: Ryosuke also raised the possibility of multiple text fields having separate UndoManagers. On Mac, most apps wipe they undo queue when you change text

Re: [UndoManager] Disallowing live UndoManager on detached nodes

2012-08-22 Thread Ojan Vafai
On Wed, Aug 22, 2012 at 6:49 PM, Ryosuke Niwa rn...@webkit.org wrote: On Wed, Aug 22, 2012 at 5:55 PM, Glenn Maynard gl...@zewt.org wrote: On Wed, Aug 22, 2012 at 7:36 PM, Maciej Stachowiak m...@apple.com wrote: Ryosuke also raised the possibility of multiple text fields having separate

Re: [UndoManager] Disallowing live UndoManager on detached nodes

2012-08-22 Thread Glenn Maynard
On Wed, Aug 22, 2012 at 8:49 PM, Ryosuke Niwa rn...@webkit.org wrote: On Wed, Aug 22, 2012 at 5:55 PM, Glenn Maynard gl...@zewt.org wrote: On Wed, Aug 22, 2012 at 7:36 PM, Maciej Stachowiak m...@apple.com wrote: Ryosuke also raised the possibility of multiple text fields having separate

Re: [UndoManager] Disallowing live UndoManager on detached nodes

2012-08-22 Thread Ryosuke Niwa
On Aug 22, 2012 7:40 PM, Glenn Maynard gl...@zewt.org wrote: On Wed, Aug 22, 2012 at 8:49 PM, Ryosuke Niwa rn...@webkit.org wrote: On Wed, Aug 22, 2012 at 5:55 PM, Glenn Maynard gl...@zewt.org wrote: On Wed, Aug 22, 2012 at 7:36 PM, Maciej Stachowiak m...@apple.com wrote: Ryosuke also

Re: [UndoManager] Disallowing live UndoManager on detached nodes

2012-08-22 Thread Maciej Stachowiak
On Aug 22, 2012, at 6:53 PM, Ojan Vafai o...@chromium.org wrote: On Wed, Aug 22, 2012 at 6:49 PM, Ryosuke Niwa rn...@webkit.org wrote: On Wed, Aug 22, 2012 at 5:55 PM, Glenn Maynard gl...@zewt.org wrote: On Wed, Aug 22, 2012 at 7:36 PM, Maciej Stachowiak m...@apple.com wrote: Ryosuke also