Commit Graph
11 Commits
Author SHA1 Message Date
google-labs-jules[bot] 05c091c26f Fix unit tests: Expose HTMLStyleElement in JSDOM setup
This change addresses a `ReferenceError: HTMLStyleElement is not defined` failure in `tests/position-floating-panel.test.mjs`. The `popoverEngine.js` source code performs an `instanceof HTMLStyleElement` check, which requires the class to be available in the global scope. While JSDOM provides this class, the test setup was not exposing it to the global object.

- Updated `tests/position-floating-panel.test.mjs` to add `global.HTMLStyleElement = windowRef.HTMLStyleElement;` in the `beforeEach` block.
2026-01-14 03:52:53 +00:00
thePR0M3TH3AN b48edbb055 Refactor inline styles to CSS rules 2026-01-13 21:13:32 -05:00
thePR0M3TH3AN 40224ad0f8 test: add alignment checks for popover panels 2025-10-16 17:05:04 -04:00
thePR0M3TH3AN ef14485eae Ensure popover state matches overlay styling 2025-10-16 16:00:12 -04:00
thePR0M3TH3AN 2fb2eea9f0 Add popover regression coverage 2025-10-16 13:52:06 -04:00
thePR0M3TH3AN 17086c9eff Refactor floating panel and metrics styling 2025-10-14 13:31:22 -04:00
thePR0M3TH3AN e614acdee2 Refactor floating panel styling hooks 2025-10-14 09:32:28 -04:00
thePR0M3TH3AN dfa4a98f0a Remove dynamic style system and tighten inline style checks 2025-10-14 08:48:17 -04:00
thePR0M3TH3AN 8e4e9c270e Refactor floating panel positioning tokens 2025-10-14 07:48:58 -04:00
thePR0M3TH3AN 92794d47dc refactor: centralize styling system usage 2025-10-12 16:31:13 -04:00
thePR0M3TH3AN b850c63aa5 Add floating panel positioner and update popover consumers 2025-10-11 16:58:03 -04:00