Re: [dev-servo] The current scrolling model

2014-10-09 Thread Robert O'Callahan
On Wed, Oct 8, 2014 at 10:55 PM, Patrick Walton wrote: > On 10/8/14 10:51 PM, Robert O'Callahan wrote: > >> You can get away with that for position:fixed, but I don't think you can >> get away with that for overflow:auto/scroll. We find in Gecko many real >> situations where scrolled content for

Re: [dev-servo] WTF-8 encoding for DOM strings and HTML parsing

2014-10-09 Thread Nicholas Nethercote
On Thu, Oct 9, 2014 at 9:21 PM, Henri Sivonen wrote: > On Wed, Oct 8, 2014 at 4:13 PM, Jan de Mooij wrote: > > Has SpiderMonkey ever been instrumented to find out if most strings > are even just ASCII? There are some measurements in https://blog.mozilla.org/javascript/2014/07/21/slimmer-and-fast

Re: [dev-servo] WTF-8 encoding for DOM strings and HTML parsing

2014-10-09 Thread Henri Sivonen
On Wed, Oct 8, 2014 at 4:13 PM, Jan de Mooij wrote: > When I added Latin1 to SpiderMonkey, we did consider using UTF8 but it's > complicated. As mentioned, we have to ensure charAt/charCodeAt stay fast > (crypto benchmarks etc rely on this, sadly). It would be even more tragic to miss the opportu