Re: Writing spec algorithms in ES6?

2015-06-12 Thread Anne van Kesteren
On Thu, Jun 11, 2015 at 10:41 PM, Boris Zbarsky bzbar...@mit.edu wrote: On 6/11/15 4:32 PM, Dimitri Glazkov wrote: I noticed that the CSS Color Module Level 4 actually does this, and it seems pretty nice: http://dev.w3.org/csswg/css-color/#dom-rgbcolor-rgbcolorcolor I should note that the ES

Re: Clipboard API: remove dangerous formats from mandatory data types

2015-06-12 Thread James M. Greene
On Jun 11, 2015 2:02 PM, Elliott Sprehn espr...@chromium.org wrote: I don't think the clipboard should forbid inserting image data, there's so many ways to compromise desktop software. ex. pasting text/html into Mail.app might even do it. This API shouldn't be trying to prevent that. +1, thank

Re: Clipboard API: remove dangerous formats from mandatory data types

2015-06-12 Thread Jonathan Kingston
Is it worth making the user agent prompt the user to confirm the copy if it detects anything that isn't text? That is not as bad as disabling a feature when certain input is used however it would contribute to more error blindness. Perhaps there should be a note under security considerations

Re: Custom Elements: is=

2015-06-12 Thread Justin Fagnani
We also have an extension of form which collects values from both native and custom inputs. On Thu, Jun 11, 2015 at 1:41 PM, Joshua Peek j...@joshpeek.com wrote: GitHub has been using tag extensions in a few places for progressive enhancement. Form and button elements have been the most useful

RE: Custom Elements: is=

2015-06-12 Thread Léonie Watson
Is there a succinct explanation of why the is= syntax is disliked? The info on the WHATWG wiki explains where is= breaks, but doesn’t offer much on the syntax issue [1]. Léonie. [1] https://wiki.whatwg.org/wiki/Custom_Elements#Subclassing_existing_elements -- Léonie Watson - Senior