[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] 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] 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