Re: [whatwg] @sandbox and navigation top

2010-03-24 Thread Ian Hickson
On Fri, 12 Feb 2010, Adam Barth wrote: Can a frame in @sandbox ever navigation the top-level frame? Not without a user prompt, currently. If not, that would make it hard to use @sandbox to contain advertisements, which want to navigate |top| when the user clicks on the ad. On Fri, 12

Re: [whatwg] boolean attributes in javascript

2010-03-24 Thread Ian Hickson
On Tue, 8 Dec 2009, Brian Kuhn wrote: How do I correctly set a boolean attribute on a DOM element object in Javascript? Content attribute or IDL attribute? var script = document.createElement('script'); script.async = true; For IDL attributes, this is the way to do it. To me, boolean

[whatwg] Maximum length of attribute values

2010-03-24 Thread Henri Sivonen
I tried to test if the top 4 browser engines have a hard limit on the length of attribute values in their HTML parsers. If they do, it's somewhere over 6.5 million characters. Does any one of the top 4 browser engines have a hard limit that is higher than what I tested? Does anyone happen to

Re: [whatwg] Real-time networking in web applications and games

2010-03-24 Thread Aryeh Gregor
On Mon, Mar 22, 2010 at 8:16 PM, Mark Frohnmayer mark.frohnma...@gmail.com wrote: I was pointed in the spec to http://www.whatwg.org/specs/web-apps/current-work/complete.html#devices and also noticed section 4.11.6.2 Peer-to-peer connections -- both look like they are works-in-progress.  Is

Re: [whatwg] window.print() when printing is not supported

2010-03-24 Thread Aryeh Gregor
On Mon, Mar 22, 2010 at 10:18 PM, Ian Hickson i...@hixie.ch wrote: What could a Web page do that a browser couldn't do better in the same situation? (The browser could offer a PDF, so having the site offer a PDF when there's no printer doesn't seem like a good solution.) Indeed, in my

Re: [whatwg] Maximum length of attribute values

2010-03-24 Thread Roger Hågensen
On 2010-03-24 12:54, Henri Sivonen wrote: I tried to test if the top 4 browser engines have a hard limit on the length of attribute values in their HTML parsers. If they do, it's somewhere over 6.5 million characters. Does any one of the top 4 browser engines have a hard limit that is higher

Re: [whatwg] Maximum length of attribute values

2010-03-24 Thread Boris Zbarsky
On 3/24/10 4:20 PM, Roger Hågensen wrote: Obviously it would be silly with 6.5MiB attributes as I'd certainly believe that to be a bug or broken tags myself if encountered. Or an SVG path... I've certainly seen SVG files with multi-megabyte paths in them. -Boris

Re: [whatwg] Maximum length of attribute values

2010-03-24 Thread Roger Hågensen
On 2010-03-24 21:28, Boris Zbarsky wrote: On 3/24/10 4:20 PM, Roger Hågensen wrote: Obviously it would be silly with 6.5MiB attributes as I'd certainly believe that to be a bug or broken tags myself if encountered. Or an SVG path... I've certainly seen SVG files with multi-megabyte paths in

Re: [whatwg] WebSocket bufferedAmount includes overhead or not

2010-03-24 Thread Ian Hickson
On Sun, 21 Feb 2010, Olli Pettay wrote: I propose that bufferedAmount doesn't take account the bits added by the protocol. This way if the protocol is later changed, web developers don't need to change their code because of the way they rely on bufferedAmount. On Thu, 4 Mar 2010,

Re: [whatwg] WebSocket bufferedAmount includes overhead or not

2010-03-24 Thread Olli Pettay
On 3/24/10 11:33 PM, Ian Hickson wrote: On Sun, 21 Feb 2010, Olli Pettay wrote: I propose that bufferedAmount doesn't take account the bits added by the protocol. This way if the protocol is later changed, web developers don't need to change their code because of the way they rely on

Re: [whatwg] window.print() when printing is not supported

2010-03-24 Thread Rimantas Liubertas
…  On Linux I generally see a Print to File option when I try to print something, which lets me output to PDF and maybe PostScript.  On Windows (at least Vista and later) I recall always seeing a print to XPS option.  So on these platforms, it's *always* possible for the user to print,

Re: [whatwg] Maximum length of attribute values

2010-03-24 Thread timeless
On Wed, Mar 24, 2010 at 11:16 PM, Roger Hågensen resca...@emsai.net wrote: Outch! But that's just SVG then right? In which case the SVG specs probably states a different minimum requirement on top of the HTML one? (haven't checked) 'just SVG'? you realize that in addition to embed or img or

[whatwg] Web Workers feedback

2010-03-24 Thread Ian Hickson
On Thu, 10 Dec 2009, Simon Pieters wrote: Web Workers says in the SharedWorker constructor algorithm: Otherwise, if name is the empty string and there exists a SharedWorkerGlobalScope object whose closing flag is false, and whose location attribute is exactly equal to scriptURL, then let