mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
Because empty set with `.all(predicate)` will always return `true`, it will result in always filtering wrong elements when the classes is empty set. Thus, we return earlier with `always_empty` HTMLCollection in the mpety classes case so that we can avoid filtering on empty sets.
14 KiB
14 KiB