From 370f09d74ca61020ba51417e7fd375b8bb50ad28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel?= Date: Sat, 21 Nov 2026 02:29:48 +0000 Subject: [PATCH] fix(core): look up attribute-selector aliases by sorted key instead of scanning each (#8280) * test(core): pin attribute-selector alias lookups to their matches * fix(core): look up attribute-selector aliases by sorted key instead of scanning each * test(core): refresh page goldens for the indexed alias lookups * refactor(core): keep the alias module's comment share * refactor(core): pick each attribute operator's lookup from a table * test(core): refresh page goldens and the catalog font mirror for the table lookups --- .../__goldens__/pageBuild.preview.html | 1185 +++++++++-------- .../__goldens__/pageBuild.render.html | 1185 +++++++++-------- .../src/compiler/svgIdNamespacing.test.ts | 85 ++ .../core/src/compiler/svgIdNamespacing.ts | 11 +- .../core/src/compiler/svgSelectorAliases.ts | 146 +- .../generated/svg-selector-aliases-inline.ts | 2 +- scripts/catalog-fetch-mirror/index.json | 169 +-- 7 files changed, 1474 insertions(+), 1309 deletions(-) diff --git a/packages/core/src/compiler/__goldens__/pageBuild.preview.html b/packages/core/src/compiler/__goldens__/pageBuild.preview.html index 6058b37831..ceece89be5 100644 --- a/packages/core/src/compiler/__goldens__/pageBuild.preview.html +++ b/packages/core/src/compiler/__goldens__/pageBuild.preview.html @@ -125,32 +125,32 @@ window.__timelines.main = gsap.timeline({ paused: true });