Re: [whatwg] Canonical Image and Color

2014-08-26 Thread Anne van Kesteren
On Mon, Aug 25, 2014 at 8:59 PM, Mike tomshin...@yandex-team.ru wrote: 2) There is already a couple of standards or quasi-standads: - favicons (most promising seems to be the increasing of their size and svg support) - apple-touch-icon used by Apple and Android -

[whatwg] Need clarification on menu builder algorithm for contextmenu attribute

2014-08-26 Thread Sanjoy Pal
Hi, I am trying to implement the menu builder algorithm from this part of specification http://www.whatwg.org/specs/web-apps/current-work/multipage/forms.html#menu- builder I feel the following statement for the third bullet of step 2, if the child is a

Re: [whatwg] Canonical Image and Color

2014-08-26 Thread Tab Atkins Jr.
On Tue, Aug 26, 2014 at 4:21 PM, Anne van Kesteren ann...@annevk.nl wrote: On Mon, Aug 25, 2014 at 8:59 PM, Mike tomshin...@yandex-team.ru wrote: 2) There is already a couple of standards or quasi-standads: - favicons (most promising seems to be the increasing of their size and svg

Re: [whatwg] Canonical Image and Color

2014-08-26 Thread Mathias Bynens
On Tue, Aug 26, 2014 at 8:21 AM, Anne van Kesteren ann...@annevk.nl wrote: On Mon, Aug 25, 2014 at 8:59 PM, Mike tomshin...@yandex-team.ru wrote: 2) There is already a couple of standards or quasi-standads: - favicons (most promising seems to be the increasing of their size and svg

Re: [whatwg] Canonical Image and Color

2014-08-26 Thread Anne van Kesteren
On Tue, Aug 26, 2014 at 8:46 AM, Mathias Bynens mathi...@opera.com wrote: Sure, but what about the “notification counter” use case that Mike outlined? We should investigate that as a feature of the notifications API I think. Someone suggested that last week:

Re: [whatwg] Notification's click event should be cancelable

2014-08-26 Thread Anne van Kesteren
On Mon, Aug 25, 2014 at 6:42 PM, Jonas Sicking jo...@sicking.cc wrote: I definitely think we need the ability for code running in Windows (i.e. code that handles UI) to be able to enumerate any notifications created by the website. Fair, but maybe those copy objects should not get events. We

Re: [whatwg] Notification's click event should be cancelable

2014-08-26 Thread Jonas Sicking
On Tue, Aug 26, 2014 at 12:15 AM, Anne van Kesteren ann...@annevk.nl wrote: On Mon, Aug 25, 2014 at 6:42 PM, Jonas Sicking jo...@sicking.cc wrote: I definitely think we need the ability for code running in Windows (i.e. code that handles UI) to be able to enumerate any notifications created by

Re: [whatwg] Notification's click event should be cancelable

2014-08-26 Thread Anne van Kesteren
On Tue, Aug 26, 2014 at 11:06 AM, Jonas Sicking jo...@sicking.cc wrote: I don't see a problem with firing events on all Notification instances, and only changing focus if none of the events were cancelled. It's a somewhat complex design compared to what we probably need long term, if long term

Re: [whatwg] Notification's click event should be cancelable

2014-08-26 Thread Jonas Sicking
On Tue, Aug 26, 2014 at 2:18 AM, Anne van Kesteren ann...@annevk.nl wrote: On Tue, Aug 26, 2014 at 11:06 AM, Jonas Sicking jo...@sicking.cc wrote: I don't see a problem with firing events on all Notification instances, and only changing focus if none of the events were cancelled. It's a

Re: [whatwg] Notification's click event should be cancelable

2014-08-26 Thread Anne van Kesteren
On Tue, Aug 26, 2014 at 11:53 AM, Jonas Sicking jo...@sicking.cc wrote: On Tue, Aug 26, 2014 at 2:18 AM, Anne van Kesteren ann...@annevk.nl wrote: It's a somewhat complex design compared to what we probably need long term, if long term is service workers. I'm not convinced that even with SW,

Re: [whatwg] Notification's click event should be cancelable

2014-08-26 Thread Olli Pettay
On 08/26/2014 12:53 PM, Jonas Sicking wrote: On Tue, Aug 26, 2014 at 2:18 AM, Anne van Kesteren ann...@annevk.nl wrote: On Tue, Aug 26, 2014 at 11:06 AM, Jonas Sicking jo...@sicking.cc wrote: I don't see a problem with firing events on all Notification instances, and only changing focus if

Re: [whatwg] Preloading and deferred loading of scripts and other resources

2014-08-26 Thread Smylers
Ian Hickson writes: Here's how [the proposal] would handle the use cases listed above. [Use-case G:] A website knows there's a piece of Javascript code that the user might need if they click on a part of the page. The developer would like to have the user download it, but not at the

Re: [whatwg] Preloading and deferred loading of scripts and other resources

2014-08-26 Thread Ilya Grigorik
[[stuck in the mod queue.. attempt #5, apologies for dupes if you get them]] Ian, thanks for writing this up. The first thing that strikes me about this entire topic is its scope, and I'm wondering if we should take a step back and (a) extract some lower level primitives, (b) leave the rest to

Re: [whatwg] Canonical Image and Color

2014-08-26 Thread Mike
Tab, You’re right if we take as given that: 1. FF and Chrome will finally fix the bug with handling different size attributes (hopefully they will) 2.standard aspect ratio will be 1:1 (although maybe it can be different) 3.the layout of hi-res favicon will differ from a standard (16x16/32x32)

Re: [whatwg] Canonical Image and Color

2014-08-26 Thread Mike
Mathias, Anne I really believe that the notification api is a related topic but can exist as a separate api used in page icon. I think it’s a good idea not to bind them together. Mike Tomshinsky tomshin...@yandex-team.ru On 26 авг. 2014 г., at 10:50, Anne van Kesteren ann...@annevk.nl wrote:

Re: [whatwg] Canonical Image and Color

2014-08-26 Thread Domenic Denicola
From: whatwg whatwg-boun...@lists.whatwg.org on behalf of Mike tomshin...@yandex-team.ru I really believe that the notification api is a related topic but can exist as a separate api used in page icon. I think it’s a good idea not to bind them together. I think there are potentially three

Re: [whatwg] Need clarification on menu builder algorithm for contextmenu attribute

2014-08-26 Thread Ian Hickson
On Tue, 26 Aug 2014, Sanjoy Pal wrote: I feel the following statement for the third bullet of step 2, if the child is a menu element with no label attribute, Append a separator to the menu, then run the menu builder steps using this child menu element for the same menu, then append

Re: [whatwg] Canonical Image and Color

2014-08-26 Thread Jonas Sicking
On Tue, Aug 26, 2014 at 10:36 AM, Domenic Denicola dome...@domenicdenicola.com wrote: +Marcos because he is really good at that kind of investigative work, and might have some idea what FFOS is doing for numeric badges. We don't do anything yet. But we'd like to. I definitely feel like having