3 ms·
Funnily enough it was Firefox who figured out a workable algorithm for :has IIRC
by troupo 2y ago
Funnily enough it was Firefox who figured out a workable algorithm for :has IIRC
- sureIy 2y agoAbsolutely not. Firefox has mindbogglingly bad performance with :has() even if their superficial tests tell you otherwise. I experienced minute-long lockups just because I used :has() on a large element like body. Chrome and Safari had no issues with those selectors.
- troupo 2y agoI stand corrected. It was the absolute legends at Igalia. See links and explainer here: https://github.com/mozilla/standards-positions/issues/528 https://github.com/mozilla/standards-positions/issues/528