Skip to content

An open-source, self-hosted system for apps built with web technologies.

Align the launcher popover contract

zohayrslileh7665203203f5
diff --git a/scripts/contracts/panel.tsx b/scripts/contracts/panel.tsx
index eafb073..ffc5726 100644
--- a/scripts/contracts/panel.tsx
+++ b/scripts/contracts/panel.tsx
@@ -62,6 +62,6 @@ assert.match(launcher, /size-4 rounded-sm object-contain/)
const popover = launcher.match(/<div[^>]*popover="auto"[^>]*>/)?.[0]
assert(popover)
assert.match(popover, /overflow-visible/)
+assert.doesNotMatch(popover, /\bgrid\b/)
// Popovers and native dialogs share a non-clipping host for independently owned outer effects.
assert(taskbarSurfaceClassName.split(" ").includes("overflow-visible"))
-assert.doesNotMatch(popover, /style=/)