mirror of
https://github.com/servo/servo
synced 2026-05-09 08:32:31 +02:00
Stylo has ready-to-use apis for `Node::querySelector` and `Node::querySelectorAll`. We currently instead set up our own selector queries, which is neither as correct nor as performant, so this change makes servo use the stylo interfaces instead. This change contains a fair amount of unsafe code - review with caution! Notably, this makes the tab component from the astro framework work correctly in servo (https://starlight.astro.build/components/tabs/). I've seen that (broken) component on multiple websites. Fixes https://github.com/servo/servo/issues/41105 Testing: New tests start to pass --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>