Re: [whatwg] Encoding: big5 and big5-hkscs

2012-03-30 Thread Anne van Kesteren
On Wed, 28 Mar 2012 17:40:58 +0200, Philip Jägenstedt phil...@opera.com wrote: 1. What is the compatible subset of all browsers? 2. Does that subset include anything mapping to the PUA? The range IE and Chrome map to PUA in bytes (lead,trail) is 0x8140 to 0xA0FE and 0xC6A2 to 0xC8FE. The

Re: [whatwg] Character-encoding-related threads

2012-03-30 Thread Henri Sivonen
On Thu, Dec 1, 2011 at 1:28 AM, Faruk Ates faruka...@me.com wrote: We like to think that “every web developer is surely building things in UTF-8 nowadays” but this is far from true. I still frequently break websites and webapps simply by entering my name (Faruk Ateş). Firefox 12 whines to

Re: [whatwg] window.location aborting the parser and subsequent document.writes

2012-03-30 Thread Henri Sivonen
On Tue, Feb 14, 2012 at 2:43 AM, Ian Hickson i...@hixie.ch wrote: On Thu, 5 Jan 2012, Henri Sivonen wrote: Consider https://bug98654.bugzilla.mozilla.org/attachment.cgi?id=77369 with the popup blocker disabled. Chrome, Opera and IE open a new window/tab and load the Mozilla front page into

Re: [whatwg] Client side value for language preference

2012-03-30 Thread Henri Sivonen
On Thu, Mar 29, 2012 at 10:02 PM, Matthew Nuzum n...@bearfruit.org wrote: Some browsers have gotten smarter and now send the first value from the user's language preference, which is definitely an improvement. I suspect this was done in order to preserve backwards compatibility, so much of the

[whatwg] Canvas as an object

2012-03-30 Thread nullv
Hi All, I recently had a project that required me to analyse multiple streams of video data. My idea was to spawn a Worker for each video pair, have it do the analysis and then present the results back to the main page. However, since the Canvas element is not instantiable from within a

Re: [whatwg] Canvas as an object

2012-03-30 Thread Glenn Maynard
On Fri, Mar 30, 2012 at 8:34 AM, nu...@gmx.com wrote: My suggestion is, considering that the Canvas element can be used for offscreen rendering etc shouldn't it be allowed it create an object of such from within Worker like we can do with Image? It's been wanted for a while, but there's a

Re: [whatwg] Client side value for language preference

2012-03-30 Thread Matthew Nuzum
On Fri, Mar 30, 2012 at 8:11 AM, Henri Sivonen hsivo...@iki.fi wrote: On Thu, Mar 29, 2012 at 10:02 PM, Matthew Nuzum n...@bearfruit.org wrote: Some browsers have gotten smarter and now send the first value from the user's language preference, which is definitely an improvement. I suspect this

Re: [whatwg] RWD Heaven: if browsers reported device capabilities in a request header (Boris Zbarsky)

2012-03-30 Thread Henri Sivonen
On Mon, Feb 6, 2012 at 9:24 PM, Irakli Nadareishvili ira...@gmail.com wrote: if you don't mind me saying it, I am afraid you may be missing the point of this request. In Responsive Web Design, device capabilities are used in a high-level fashion to determine a class of the device: smartphone,

Re: [whatwg] Client side value for language preference

2012-03-30 Thread Henri Sivonen
On Fri, Mar 30, 2012 at 5:08 PM, Matthew Nuzum n...@bearfruit.org wrote: For example, maybe a site can't afford translation but a small library could be included that formats dates and numbers based on a user's language preference. No more wondering if 2/3/12 is in March or in February. The

Re: [whatwg] Canvas as an object

2012-03-30 Thread nullv
My suggestion is, considering that the Canvas element can be used for offscreen rendering etc shouldn't it be allowed it create an object of such from within Worker like we can do with Image?It's been wanted for a while, but there's a lot of work needed to make it possible, so

Re: [whatwg] Readiness of script-created documents

2012-03-30 Thread Henri Sivonen
On Fri, Jan 13, 2012 at 2:26 AM, Ian Hickson i...@hixie.ch wrote: Jonas is correct. Since there was no interop here I figured we might as well go with what made sense. I'm somewhat unhappy about fixing IE-introduced APIs to make sense like this. The implementation in Gecko isn't particularly

Re: [whatwg] Client side value for language preference

2012-03-30 Thread Tim Streater
On 30 Mar 2012 at 16:05, Jukka K. Korpela jkorp...@cs.tut.fi wrote: 2012-03-30 17:22, Henri Sivonen wrote: On Fri, Mar 30, 2012 at 5:08 PM, Matthew Nuzumn...@bearfruit.org wrote: For example, maybe a site can't afford translation but a small library could be included that formats dates and

Re: [whatwg] Readiness of script-created documents

2012-03-30 Thread Jonas Sicking
On Friday, March 30, 2012, Henri Sivonen wrote: On Fri, Jan 13, 2012 at 2:26 AM, Ian Hickson i...@hixie.ch javascript:; wrote: Jonas is correct. Since there was no interop here I figured we might as well go with what made sense. I'm somewhat unhappy about fixing IE-introduced APIs to make

Re: [whatwg] Client side value for language preference

2012-03-30 Thread Matthew Nuzum
On Fri, Mar 30, 2012 at 9:22 AM, Henri Sivonen hsivo...@iki.fi wrote: On Fri, Mar 30, 2012 at 5:08 PM, Matthew Nuzum n...@bearfruit.org wrote: For example, maybe a site can't afford translation but a small library could be included that formats dates and numbers based on a user's language

Re: [whatwg] iframe sandbox attribute

2012-03-30 Thread Adam Barth
On Fri, Mar 30, 2012 at 12:22 PM, Ian Melven imel...@mozilla.com wrote: I agree that it's pretty likely folks won't be mutating this property very often - the HTML5 spec actually recommends against messing with the sandbox attribute dynamically at all : Generally speaking, dynamically

[whatwg] getValues on PropertyNodeList is now redundant

2012-03-30 Thread Ojan Vafai
http://www.whatwg.org/specs/web-apps/current-work/multipage/common-dom-interfaces.html#propertynodelist DOM4 now has NodeList inherit from Array (see http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#interface-nodelist). As such, the getValues function is no longer useful. PropertyNodeList

Re: [whatwg] iframe sandbox attribute

2012-03-30 Thread Jonas Sicking
On Fri, Mar 30, 2012 at 1:14 PM, Adam Barth w...@adambarth.com wrote: On Fri, Mar 30, 2012 at 12:22 PM, Ian Melven imel...@mozilla.com wrote: I agree that it's pretty likely folks won't be mutating this property very often - the HTML5 spec actually recommends against messing with the sandbox

Re: [whatwg] getValues on PropertyNodeList is now redundant

2012-03-30 Thread Erik Arvidsson
I'm not sure. getValues returns an array of the itemValue of the nodes in the NodeList. Something that can be trivially implemented as: PropertyNodeList.prototype.getValues = function() { return this.map(function(node) { return node.itemValue; }); }; If this is commonly used then it

Re: [whatwg] getValues on PropertyNodeList is now redundant

2012-03-30 Thread Ojan Vafai
OIC. Sorry, I misread the spec. I rescind. On Fri, Mar 30, 2012 at 2:59 PM, Erik Arvidsson a...@chromium.org wrote: I'm not sure. getValues returns an array of the itemValue of the nodes in the NodeList. Something that can be trivially implemented as: PropertyNodeList.prototype.getValues =