[whatwg] Microdata feedback

2013-08-06 Thread Ian Hickson
year suggesting that the values of input elements be derived from their value attributes - the purpose there being to be able to control the form via the microdata interface. I've only been able to read it in the archives - the brief exchange was between Igor Nikolev and Ian Hickson, who

Re: [whatwg] Should video controls generate click events?

2013-08-06 Thread Ian Hickson
(and recommended) implemenation strategy. HTH, -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] asynchronous JSON.parse and sending large structured data between threads without compromising responsiveness

2013-08-06 Thread Ian Hickson
even do that, they just encode their data in a well-defined order with no delimiters at all. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] web messaging - postMessage

2013-08-05 Thread Ian Hickson
On Sun, 27 Jan 2013, Jack (Zhan, Hua Ping) wrote: The postMessage design outlined in the W3C document edited by Ian Hickson is not good! The design of the cross document messaging by Ian Hickson (Google, Inc.) is very bad. Even the last version is not good either. :-( The design can

Re: [whatwg] XML data islands related question

2013-08-05 Thread Ian Hickson
can't you put plain text or XML data in other files? So long as everything is same origin, you can read anything you want via XHR. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things

Re: [whatwg] NoDatabase databases

2013-08-05 Thread Ian Hickson
tables long before we're going to reach practical limits of document size. A multimegabyte table is going to cause layout problems before it takes appreciable time to download. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Challenging canvas.supportsContext

2013-08-02 Thread Ian Hickson
On Fri, 2 Aug 2013, Benoit Jacob wrote: 2013/7/31 Ian Hickson i...@hixie.ch On Wed, 31 Jul 2013, Benoit Jacob wrote: Ping --- I thought that there was sufficient agreement in this thread, around the fact that supportsContext, as currently spec'd and currently implementable

Re: [whatwg] Disabling document.domain setting on iframe@sandbox (especially with allow-same-origin)

2013-08-02 Thread Ian Hickson
on a misunderstanding of document.domain. For document.domain to work, _both_ sides have to do it. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Parsing the string html

2013-08-02 Thread Ian Hickson
of file token, and that causes the head element to be generated, and switches you to in head, where head is popped and you switch to after head, where you insert a body element and switch to in body, at which point you stop parsing. -- Ian Hickson U+1047E

Re: [whatwg] Question on Limits in Adaption Agency Algorithm

2013-08-02 Thread Ian Hickson
On Fri, 2 Aug 2013, Yasuhiko Minamide wrote: On Mon, 1 Jul 2013, Ian Hickson wrote: One option would be to remove from the stack of open elements any elements that we are skipping when we bail out of the AAA. Can anyone see a problem with doing that? I think that this solves

Re: [whatwg] Parsing the string html

2013-08-02 Thread Ian Hickson
#location, then insert the newly created element at the adjusted #insertion location. ...which appends the body element to the html element (after the head element, which goes through the same process earlier). When you append a node to another, they end up in the same Document. -- Ian Hickson

Re: [whatwg] Disabling document.domain setting on iframe@sandbox (especially with allow-same-origin)

2013-08-02 Thread Ian Hickson
On Fri, 2 Aug 2013, Boris Zbarsky wrote: On 8/2/13 6:55 PM, Ian Hickson wrote: How does it solve it? (What _is_ the mail.google.com vs calendar.google.com case?) The case is when mail.google.com tries to attack calendar.google.com, and they can't be in different processes as mitigation

Re: [whatwg] Splash screen proposal for web apps ?

2013-08-01 Thread Ian Hickson
it. Basically, I think you should view as splash screens as much the same way as installation -- bugs from a legacy world that we should work hard to avoid reintroducing into the Web platform. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U

Re: [whatwg] Namespaces and tag names in the HTML parser

2013-08-01 Thread Ian Hickson
the words in the HTML namespace everywhere in the spec. I don't really understand why that case is ambiguous, but thousands of others aren't. Can you elaborate on what the difference is? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Namespaces and tag names in the HTML parser

2013-08-01 Thread Ian Hickson
these. As you can see, it's really only a few dozen ambiguous cases, not thousands. Why are the ones not in the parser part of the spec not ambiguous? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Namespaces and tag names in the HTML parser

2013-08-01 Thread Ian Hickson
, but not other parts of the spec. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Link element in body?

2013-08-01 Thread Ian Hickson
-conforming. I think authors would have more difficulty with the idea that certain rel= values are ok in certain places, than they would with the idea that certain attributes are ok there and others aren't. (With microdata, it's easier, because we just don't allow rel= at all.) -- Ian Hickson

Re: [whatwg] scoped style sheets and @-rules

2013-08-01 Thread Ian Hickson
actually has scoping built-in, so it'd be even more dire with CSS, as far as I can tell. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Namespaces and tag names in the HTML parser

2013-08-01 Thread Ian Hickson
explicit in some places but not others, and they'll assume there's some meaningful difference, and then they'll start making mistakes because of it. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] comments on 'position: absolute-anchored'

2013-08-01 Thread Ian Hickson
, -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Challenging canvas.supportsContext

2013-07-31 Thread Ian Hickson
for which the feature was added. So it's not as clear cut as it might seem. (Note that decisions for WHATWG specs aren't made based on consensus. Even if everyone agrees on something, if there's one more compelling argument to the contrary, that's the one that's going to win.) -- Ian Hickson

Re: [whatwg] Entity definitions in XHTML

2013-07-31 Thread Ian Hickson
On Fri, 18 Jan 2013, David Carlisle wrote: On 17/01/2013 23:31, Ian Hickson wrote: On Thu, 17 Jan 2013, David Carlisle wrote: http://www.w3.org/2003/entities/2007doc/xhtmlpubid.html But basically it solves the problem that the existing list leads to a situation where data

Re: [whatwg] Splash screen proposal for web apps ?

2013-07-31 Thread Ian Hickson
enough for the user. (For example, even really large and expensive pages like Google+ render in a usable state quickly, even though they continue to load assets and scripts in the background and thus actually don't present an interactive UI straight away.) -- Ian Hickson U+1047E

Re: [whatwg] Question on Limits in Adaption Agency Algorithm

2013-07-31 Thread Ian Hickson
On Mon, 1 Jul 2013, Ian Hickson wrote: One option would be to remove from the stack of open elements any elements that we are skipping when we bail out of the AAA. Can anyone see a problem with doing that? Since nobody raised any problems with this, I've now done this. For background

Re: [whatwg] Requiring the Encoding Standard preferred name is too strict for no good reason

2013-07-31 Thread Ian Hickson
On Mon, 1 Jul 2013, Glenn Maynard wrote: On Mon, Jul 1, 2013 at 6:16 PM, Ian Hickson i...@hixie.ch wrote: It seems bad, and maybe rather full of hubris, to make it conforming to use a label that we know will be interpreted in a manner that is a willful violation of its spec

Re: [whatwg] Another issue in 12.2.5.5 parsing tokens in foreign content

2013-07-31 Thread Ian Hickson
anyway, - the quirk needs special handling in the fragment case anyway, - it's not clear what the behaviour should be, - in many cases, we're not error-correcting in a useful way anyway. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U

Re: [whatwg] Requiring the Encoding Standard preferred name is too strict for no good reason

2013-07-31 Thread Ian Hickson
ASCII is a 7 bit encoding). -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Outline style to use for drawSystemFocusRing

2013-07-30 Thread Ian Hickson
On Mon, 29 Jul 2013, Rik Cabanier wrote: On Mon, Jul 29, 2013 at 5:26 PM, Ian Hickson i...@hixie.ch wrote: On Mon, 29 Jul 2013, Rik Cabanier wrote: Does that mean it should be stroked along the path? That depends on the platform. Some platforms render the focus as a highlight, some

Re: [whatwg] Proposal:Improve internationalization in the autocomplete attribute

2013-07-30 Thread Ian Hickson
shouldn't support it with its own dedicated field. In particular, since it's so rare that most people don't implement it, we'd have to come up with a way to split up the information when only one field was available, anyway. This just seems like a world of pain. -- Ian Hickson U+1047E

Re: [whatwg] HTML5 parsing and specification challenges and difficulties

2013-07-30 Thread Ian Hickson
just a lot of work, and then a lot more work cleaning up the edges. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] input value sanitization algorithm

2013-07-30 Thread Ian Hickson
the type attribute is changed, and when the element is created, and so forth.) The other algorithms are invoked when they say they are invoked, so they don't need a label -- nothing else directly invokes them. -- Ian Hickson U+1047E)\._.,--,'``.fL http

Re: [whatwg] Hide placeholder on input controls on focus

2013-07-30 Thread Ian Hickson
of running commentary of what's going on, and having the placeholder appear there when you hover over the control, or...). It's up to the UAs to pick the right behaviour for their users. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Defines the default size of input type='range' and other form controls

2013-07-30 Thread Ian Hickson
guess. I'd been intentionally not specifying this so as to not bias implementations, and so as to see what implementations settled upon. If implementations are ready to freeze their current behaviours, I'm happy to start adding this kind of detail to the spec. Has this time come? -- Ian Hickson

Re: [whatwg] Ignore min and max if min max

2013-07-30 Thread Ian Hickson
? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Proposal:Improve internationalization in the autocomplete attribute

2013-07-29 Thread Ian Hickson
, which makes no sense to me. Are we sure people in locales that use CEDEX won't find it more intuitive to add it after the locality, the way it is written on envelopes? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Outline style to use for drawSystemFocusRing

2013-07-29 Thread Ian Hickson
ring should be around the path and drawn in accordance to the browser's algorithm of focus regions. Not really should what you're asking. Can you elaborate? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Forms-related feedback

2013-07-29 Thread Ian Hickson
On Mon, 14 Jan 2013, Jonas Sicking wrote: On Jan 8, 2013 1:47 AM, Ian Hickson i...@hixie.ch wrote: On Tue, 27 Nov 2012, Mikko Rantalainen wrote: Ian Hickson, 2012-11-22 07:15 (Europe/Helsinki): On Wed, 21 Nov 2012, Mounir Lamouri wrote: Then, maybe a better naming could

Re: [whatwg] Outline style to use for drawSystemFocusRing

2013-07-29 Thread Ian Hickson
. As for the color of the focus ring, shouldn't it come from the ':focus' style of the element that is passed in? It should come from the platform. See also this recent discussion: http://lists.w3.org/Archives/Public/public-whatwg-archive/2013Jul/0345.html -- Ian Hickson U+1047E

Re: [whatwg] Forms-related feedback

2013-07-29 Thread Ian Hickson
that we make the element take a timezone as an input (through an attribute or some such). The picker would then select just date+time but return a result using UTC timezone. I don't understand the use case for such a control. -- Ian Hickson U+1047E

Re: [whatwg] Forms-related feedback

2013-07-29 Thread Ian Hickson
is actually left off of the returned value, too. That's type=datetime-local. It's not only useful for floating times, as noted in the response on this bug, which is why it's not called something with floating in the name: https://www.w3.org/Bugs/Public/show_bug.cgi?id=17856 -- Ian Hickson

Re: [whatwg] Session history and discarding of Documents

2013-07-29 Thread Ian Hickson
not making judgements on whether they're right or wrong; vendors disagree on this, which is why I'm couching my response in these terms.) Thus the current unfortunate situation. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Forms-related feedback

2013-07-29 Thread Ian Hickson
On Tue, 30 Jul 2013, Silvia Pfeiffer wrote: On Tue, Jul 30, 2013 at 10:43 AM, Ian Hickson i...@hixie.ch wrote: On Tue, 30 Jul 2013, Silvia Pfeiffer wrote: I actually think we need to distinguish between local and floating time zones. When using datetime-local, I would actually expect

[whatwg] Parser-related philosophy

2013-07-26 Thread Ian Hickson
that the spec should be precise. If there's concrete examples where it's not, please do bring them up so we can fix them. On Mon, 14 Jan 2013, Henri Sivonen wrote: On Fri, Jan 11, 2013 at 10:00 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 11 Jan 2013, Henri Sivonen wrote: I understand

Re: [whatwg] Stack trace in window.onerror

2013-07-26 Thread Ian Hickson
to in Firefox. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Modifying iframe sandbox attributes

2013-07-24 Thread Ian Hickson
the iframe, though. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Script-related feedback

2013-07-24 Thread Ian Hickson
On Wed, 9 Jan 2013, Anne van Kesteren wrote: On Wed, Jan 9, 2013 at 9:32 PM, Ian Hickson i...@hixie.ch wrote: Advantages of putting this in JS over multipart: - it's backwards-compatible - it's easier to parse a static barrier than a multipart/*'s wacky syntax. - it doesn't

Re: [whatwg] Stack trace in window.onerror

2013-07-24 Thread Ian Hickson
On Fri, 12 Jul 2013, James Greene wrote: On Fri, Jul 12, 2013 at 12:17 PM, Ian Hickson i...@hixie.ch wrote: On Tue, 5 Feb 2013, Nathan Broadbent wrote: The current information passed to window.onerror rarely provides sufficient information to find the cause of the error. The column

Re: [whatwg] Feedback on a variety of elements

2013-07-23 Thread Ian Hickson
On Mon, 31 Dec 2012, Pierre Dubois wrote: On Fri Dec 14 2012, Ian Hickson wrote: I don't think this works for all tables. For example, the first example in the spec in the th element's section does not get handled correctly by your algorithm -- it treats the ID column as important

Re: [whatwg] `window.location.origin` in sandboxed IFrames.

2013-07-23 Thread Ian Hickson
origin doesn't match the URL's origin, the page's origin will always just serialise as null, so it's not clear that it's actually useful to expose that really anyway. What would the use cases be? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch

Re: [whatwg] Fetch: Origin header

2013-07-23 Thread Ian Hickson
that. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] iframe sandbox and allow-scripts

2013-07-23 Thread Ian Hickson
. The scripting-is-enabled stuff is only checked when HTML itself tries to compile or run a script, e.g. in a script block or event handler. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things

Re: [whatwg] Page reflow when entering/exiting fullscreen

2013-07-23 Thread Ian Hickson
that in this case, you should update the placeholder? This seems hard to define. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] [Canvas] Behavior on non-invertable CTM

2013-07-23 Thread Ian Hickson
tell, it _is_ written in the spec. scale(0,0) would reduce all coordinates and lines and so forth to 0,0. That's what the spec requires. I don't see the problem here. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Background of body covering the whole page – is this described somewhere?

2013-07-23 Thread Ian Hickson
preference, modulo logistics around editing -- I think we should just have one Web spec), it seems impractical to actually mention all of them in the HTML spec. This is why we don't list them currently. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch

Re: [whatwg] menu and friends

2013-07-23 Thread Ian Hickson
On Mon, 31 Dec 2012, Jonas Sicking wrote: On Fri, Dec 28, 2012 at 11:07 PM, Ian Hickson i...@hixie.ch wrote: On Fri, 28 Dec 2012, Jonas Sicking wrote: I don't think it's a good solution to leave it undefined if all/none/some of the UA menuitems are displayed by default. While

Re: [whatwg] Canvas-related feedback

2013-07-22 Thread Ian Hickson
On Thu, 20 Dec 2012, Rik Cabanier wrote: On Thu, 20 Sep 2012, Dirk Schulze wrote: On Sep 21, 2012, at 3:12 AM, Ian Hickson i...@hixie.ch wrote: The only situation that might be reasonable would be a transform on the Canvas that an author want to cover in the Path

Re: [whatwg] Undefined action parsing HTML fragment with select context

2013-07-21 Thread Ian Hickson
. Oops. Fixed. Your other bug (about whether math and svg are supposed to get foster parented) is also valid, but harder to fix, so I added it to the queue but haven't fixed it yet. (The short answer is yes, they're supposed to be foster parented.) -- Ian Hickson U+1047E

Re: [whatwg] Proposal: Media element - add attributes for discovery of playback rate support

2013-07-19 Thread Ian Hickson
). Wouldn't that be 0.0 .. Infinity, basically? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Alignment of empty buttons

2013-07-19 Thread Ian Hickson
dimensions and positions (colours might differ). Nobody seems to quite agree, but I can't work out what they're doing exactly (or why). The spec seems like a pretty sane middle ground, though. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U

Re: [whatwg] [Rendering] zero width attributes on table, th, td should be ignored

2013-07-19 Thread Ian Hickson
in terms of rules for parsing dimension values, which never returns a value less than 1; the value 0 is treated like an error. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things

Re: [whatwg] Canvas 2D memory management

2013-07-18 Thread Ian Hickson
could just create img elements then lose references to them when you wanted them GC'ed; if that isn't working today, I don't see why it would start working with ImageBitmap. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] [canvas] coordinate space definition bogus?

2013-07-18 Thread Ian Hickson
, if it is assumed to be infinite). For clip, why isn't it possible to just say that clip() does not clip if there is no currentPath? This would at least avoid this trap. Fixed. Thanks. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] remove resetClip from the Canvas 2D spec

2013-07-18 Thread Ian Hickson
having implemented it is expected. If browsers don't implement it, it'll get removed in due course. But it would be sad for authors, who are the main concern here. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] [Canvas] Behavior on non-invertable CTM

2013-07-18 Thread Ian Hickson
the result will be. Zero. Firefox's behaviour is the right one. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Sortable Tables

2013-07-18 Thread Ian Hickson
don't think a utility method to do this is much of a win. Maybe once this sorting algorithm is widely implemented and we see what people do a lot, we can consider adding things like this. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U

Re: [whatwg] Making cross-origin iframe seamless= (partly) usable

2013-07-17 Thread Ian Hickson
in a system that usually isolates origins. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Proposal: createImageBitmap should return a Promise instead of using a callback

2013-07-17 Thread Ian Hickson
have anything that uses the interface.create() pattern. URL.createObjectURL() is the closest, and it's not a factory. The constructor pattern is obviously better where possible, but in this case it's not, since it has to be async (hence Promises). -- Ian Hickson U+1047E

Re: [whatwg] Proposal: createImageBitmap should return a Promise instead of using a callback

2013-07-17 Thread Ian Hickson
? We can never remove functionality. I don't think it's ever good to have duplicate functionality. But in this case I think this is a non-issue. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Proposal: createImageBitmap should return a Promise instead of using a callback

2013-07-17 Thread Ian Hickson
. I guess I'm asking for JS dev input here... Promises are just regular callbacks, with the synchronisation done by the browser (or shim library) rather than by author code. I don't really understand the problem here. -- Ian Hickson U+1047E)\._.,--,'``.fL

Re: [whatwg] Proposal: createImageBitmap should return a Promise instead of using a callback

2013-07-17 Thread Ian Hickson
used Promises, but moved away from them for several reasons, not least because they created a 20% performance degradation with v8: https://github.com/gladiusjs/gladius-core/issues/127#issuecomment-5212272 I think you're massively misreading that parenthetical. -- Ian Hickson U

Re: [whatwg] Feedback on Web Worker specification

2013-07-16 Thread Ian Hickson
with a script that does have access to the DOM? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] HTML: A DOM attribute that returns the language of a node

2013-07-16 Thread Ian Hickson
for the same Unicode codepoint. Sure, but internal UA uses aren't use cases for the Web. The use cases Peter gave over the weekend are valid, though. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] proposal: Add support for masking to canvas

2013-07-16 Thread Ian Hickson
On Fri, 1 Feb 2013, Cameron McCormack wrote: On 30/01/13 6:28 PM, Ian Hickson wrote: That's weird. heycam, can you elaborate on this? The addHitRegion() case in particular never makes sense to be called without a dictionary containing at least one member. Do we have to allow

[whatwg] Feature requests that I've converted to bugs

2013-07-16 Thread Ian Hickson
filed. A few people may have been bcc'ed who did not contribute to these threads. Please accept my apologies for any inconvenience caused.) Cheers, -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Proposal: location.parentOrigin

2013-07-16 Thread Ian Hickson
On Wed, 17 Jul 2013, Tobie Langel wrote: On Tuesday, July 16, 2013 at 7:53 PM, Ian Hickson wrote: Can't you do window.isSameOrigin by just trying to access window.location.href and seeing if you get an exception? Unfortunately not, because of the previously mentioned WebKit bug which

Re: [whatwg] Enabling LCD Text and antialiasing in canvas

2013-07-16 Thread Ian Hickson
-accelerated performance concerns, IIRC. No, it was removed because it had no spec. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Adding blending to the canvas API

2013-07-16 Thread Ian Hickson
and Blending spec is on my TODO list. I currently owe you a response to: http://lists.w3.org/Archives/Public/public-whatwg-archive/2012Dec/0229.html ...which involves doing that. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] AudioTrack enabling - missing behaviour in the specification

2013-07-16 Thread Ian Hickson
) -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Feature Request for the-video-element to support audiochannel descriptions

2013-07-16 Thread Ian Hickson
= surround, etc). A use case can be: A user has an encoded video with multiple audio tracks. Track 1 and 2 are both English, but one is stereo, one is surround. Can you elaborate on the use case? Wouldn't the browser be the one in the best position to know which to pick, in that case? -- Ian

Re: [whatwg] Proposal: Media element - add attributes for discovery of playback rate support

2013-07-16 Thread Ian Hickson
are provided as attributes of the media element. This seems less good than just having the browsers support all playback speeds, e.g. by decoding into a local buffer. Why would we prefer to expose the media's limitations rather than removing them? -- Ian Hickson U+1047E

Re: [whatwg] Details on window.open

2013-07-15 Thread Ian Hickson
On Tue, 18 Dec 2012, Boris Zbarsky wrote: On 12/18/12 3:53 PM, Ian Hickson wrote: Per the spec, calls that would create a new browsing context are blocked unless called from the handler of a trusted 'click' event. That's not web-compatible... I don't know if the spec is overly strict

Re: [whatwg] Details on window.open

2013-07-15 Thread Ian Hickson
On Mon, 15 Jul 2013, Boris Zbarsky wrote: On 7/15/13 4:44 PM, Ian Hickson wrote: Can't they just resize the window or scroll it? It depends. It's common to open these windows non-scrollable (which UAs usually obey) and unresizable (which they don't necessarily obey) Fair enough

Re: [whatwg] HTML: A DOM attribute that returns the language of a node

2013-07-13 Thread Ian Hickson
this in HTML? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Baseline of objects

2013-07-12 Thread Ian Hickson
or decrease its width and height in both directions, exactly like Flash can do it. This seems like a presentational/styling request. I recommend approaching the CSS working group. HTH, -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Reporting errors during Web Worker startup

2013-07-12 Thread Ian Hickson
for there to be available resources. Or, even better, to run workers in a thread pool, and when you have more workers than threads, time share the threads between the workers. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] supporting HTMLElement.dataset on SVG elements

2013-07-12 Thread Ian Hickson
of the animated class stuff from SVG), before we start making even more changes on this front. That seems reasonable. Anyway, whenever this gets added to Element, I'll remove it from HTMLElement. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] A question about portrait-secondary of screen orientation

2013-07-12 Thread Ian Hickson
with that list. I believe feedback on this specification is intended to be sent to public-weba...@w3.org. HTH, -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take

Re: [whatwg] HTML Specification update request: bug 20939

2013-07-12 Thread Ian Hickson
this one. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Canonical Image and Color

2013-07-12 Thread Ian Hickson
-TileColor and msapplication-navbutton-color elements aim to fulfill this purpose in IE by coloring the app's tile on the Windows 8 homescreen and IE's own navigation UI, respectively. Seems like there's already a solution, then. -- Ian Hickson U+1047E

Re: [whatwg] Why are we merging Document and HTMLDocument again?

2013-07-12 Thread Ian Hickson
On Thu, 14 Mar 2013, Anne van Kesteren wrote: On Tue, Mar 5, 2013 at 8:42 PM, Boris Zbarsky bzbar...@mit.edu wrote: On 3/5/13 3:30 PM, Ian Hickson wrote: I'd be fine with having a Document descendant that is used for Documents that have global scopes / browsing contexts / the works

Re: [whatwg] Schemes for registerProtocolHandler

2013-07-12 Thread Ian Hickson
with the phone number provided) They seem to be in line with those currently in the list. Should they be added to the spec? Added. BTW, the spec's list is not in alphabetical order. Fixed. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A

Re: [whatwg] Question about document.referrer (and document.URL, document.location.href) when IDN domains are in use

2013-07-12 Thread Ian Hickson
show the non-ASCII chars in some cases. That's correct per spec (assuming the punycoding is required anywhere). The latter two are set separately than document.referrer: http://whatwg.org/html/#set-the-document's-address If other browsers don't match this, file bugs on them. :-) -- Ian

Re: [whatwg] img loading events - can load error fire for the same image?

2013-07-12 Thread Ian Hickson
(which give the width height) will fire load but not error. Right. I agree with this, as it means the browser can defer decoding to render time, but do we need a way in JS to confirm an image is decodable? What's the use case? (Surely the server should check this on the server.) -- Ian

Re: [whatwg] scrdoc and session history don't play along in the spec

2013-07-12 Thread Ian Hickson
as something that, when fetched, retrieves the value currently stored in the srcdoc attribute. That doesn't seem defensible per the spec. In fact, the spec explicitly says that about:srcdoc is unresolvable. -- Ian Hickson U+1047E)\._.,--,'``.fL http

Re: [whatwg] Forcing orientation in content

2013-07-12 Thread Ian Hickson
window however I want, to be landscape or portrait. Why wouldn't I be allowed to do the same on any other device? -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just

Re: [whatwg] HTML: A DOM attribute that returns the language of a node

2013-07-12 Thread Ian Hickson
. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Alignment of empty buttons

2013-07-12 Thread Ian Hickson
applies to a button element, the element is # expected to render as an 'inline-block' box rendered as a button whose # contents are the contents of the element. -- http://www.whatwg.org/specs/web-apps/current-work/#the-button-element-0 -- Ian Hickson U+1047E

Re: [whatwg] Reorganizing and fixing origin

2013-07-12 Thread Ian Hickson
to be more accurate if there's a problem with it; that would be my preference if at all possible. See also Adam's response to the message you cite above: http://www.ietf.org/mail-archive/web/websec/current/msg01520.html -- Ian Hickson U+1047E)\._.,--,'``.fL http

Re: [whatwg] Inert nodes and element.click()

2013-07-12 Thread Ian Hickson
still confusing. -- Ian Hickson U+1047E)\._.,--,'``.fL http://ln.hixie.ch/ U+263A/, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'

Re: [whatwg] Forms-related feedback

2013-07-12 Thread Ian Hickson
On Wed, 9 Jan 2013, TAMURA, Kent wrote: On Wed, Nov 21, 2012 at 7:51 AM, Ian Hickson i...@hixie.ch wrote: On Fri, 7 Sep 2012, TAMURA, Kent wrote: * For date, datetime, datetime-local, month, time, week, the attribute returns a string in a field. If a field is text-editable

<    1   2   3   4   5   6   7   8   9   10   >