From 8d9db3df731409d5aaed4ba0af70ea1c81ab40e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel?= Date: Fri, 7 Aug 2026 14:28:03 -0700 Subject: [PATCH] fix(core): stop dropping a mounted composition styles, and gate the divergence (#3094) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Why A composition mounted as a sub-composition lost its entire stylesheet and scripts whenever they were authored as siblings of the composition root inside its ` + +`; + +const ROOT_INTERNAL_ASSETS = ` + + + + + +`; + +const BOTH_SHAPES = ` + + + + + +`; + +const FULL_DOCUMENT = ` + + + + + + + + + +
+ +
+ + +`; + +const ids = (elements: Element[]): string[] => elements.map((el) => el.getAttribute("id") || ""); + +describe("planCompositionAssembly", () => { + it("reports assets authored as siblings of the composition root inside