Better HN
topnewbestaskshowjobs
Log inSign up

emiliocobos

26 karma · joined Nov 30, 2015 (10y ago) · 6 submissions

Submissions

comment 1y ago · link · parent

Xul would've had the same issues.

comment 4y ago · link · parent

To people thinking that this was removed gratuitously please read the bug and linked bugs carefully.

This got in the way of implementing various improvements to <meta charset> and interop improvements to XHR.

comment 5y ago · link · parent

Bobby (the Mozilla rep) was also heavily involved with Servo and Rust-in-Firefox, see e.g. https://bholley.net/blog/2017/stylo.html

comment 6y ago · link · parent

A bit of extra context from looking at blame:

* It seems Google Location Services has been the default location provider since a long long time ago (probably since before the Mozilla service existed).

* It seems like Firefox uses system APIs (and only then falls back to GLS): https://bugzilla.mozilla.org/show_bug.cgi?id=1512161

* It seems at one point the plan was to switch to MLS completely, but was reverted before hitting release: https://bugzilla.mozilla.org/show_bug.cgi?id=1216662

* And it seems currently Firefox is using MLS on Early Beta / Nightly, and comparing results to GLS: https://searchfox.org/mozilla-central/rev/d6d8ea296d3560615f... / https://bugzilla.mozilla.org/show_bug.cgi?id=1637402

comment 9y ago · link · parent

The STR for that bug are in comment 3, but I can try to get something better when I'm back home (on my phone now).

We get significant speed ups from parallelism and such on big doms over all during page load, but we also get speedups from dynamic change handling implementing smarter invalidation than Gecko, which basically restyles the whole subtree / every sibling if it finds a relevant combinator affected by a change.

WebKit does much better than Gecko for class and other attribute changes, at least for descendants, where you go down with the relevant selectors. Stylo's system is relatively similar, but doing selector matching ltr, and handling the same way state and id changes.

You can see components/style/invalidation/element in the servo repo for the relevant code in that regard.

comment 9y ago · link · parent

(for more context, Facebook has a very small style recalc time, so we're bottlenecked right now on the time it takes for us to parse CSS, and build the data structures for selector-matching and invalidation, and the patches on the queue are https://github.com/servo/servo/pull/18191)