[whatwg] [Notifications] Notification.hasPermission() instead of Notification.permission

2014-04-29 Thread Peter Beverloo
The Notification specification defines a static Notification.permission accessor, which returns one of {granted, denied, default}. This requires the browser to synchronously determine whether the page has permission to show notifications, whereas checking this may be an asynchronous operation.

Re: [whatwg] HTML spec incorrectly suggests that br can have its rendering changed with CSS

2014-04-29 Thread Ian Hickson
This discussion focused around the various behaviours that browsers have around the rendering of br. On Thu, 23 Jan 2014, Boris Zbarsky wrote: What Gecko does with br is basically to treat it like a special box type that has special sizing/painting/linebreak behavior. But we do still

[whatwg] hidden attribute useless with display: flex?

2014-04-29 Thread David Bruant
Hi, // CSS: div{ display: flex; } // HTML: div hidden/div Per spec, the div should be shown right? I imagine there is no way back on that? Does it mean hidden only works when the default (UA stylesheet) display value is kept? Does it mean hidden is completely useless when trying to

[whatwg] canvas feedback

2014-04-29 Thread Ian Hickson
On Tue, 8 Apr 2014, Rik Cabanier wrote: On Mon, Apr 7, 2014 at 3:35 PM, Ian Hickson i...@hixie.ch wrote: So this is not how most implementations currently have it defined. I'm unsure what you mean. Browser implementations? If so, they definitely do store the

Re: [whatwg] canvas drawImage and EXIF orientation metadata

2014-04-29 Thread Ian Hickson
On Wed, 16 Apr 2014, Boris Zbarsky wrote: Right now canvas drawImage ignores EXIF orientation metadata. Could we add a version that doesn't do that? Especially with CSS growing things like the image-orientation property, it would be good to support drawing the image in its correct

Re: [whatwg] canvas feedback

2014-04-29 Thread Justin Novosad
and it is not possible to resolve font sizes in physical length units unless the document is associated with a view. Why not? The canvas has a pixel density (currently always 1:1), no? 1:1 is not a physical pixel density. To resolve a font size that is specified in physical

Re: [whatwg] BroadcastChannel should support structured clones

2014-04-29 Thread Ian Hickson
On Thu, 17 Apr 2014, Jonas Sicking wrote: It would be very useful to be able to send structured data, including Blobs, through the BroadcastChannel API. This is something we've seen any time we've done storage or message passing, that one of the first thing authors ask for is to not have