Repository navigation
Commit 3e25b85
committed
fix(webui): route the terminal's font wait through the browser platform
The workspace panel reached for `document` directly to wait for the fonts
before it measured the terminal's grid. The dependency rules confine that
global to the platform layer, and the platform is where the wait belongs:
a component that reaches for `document` itself is a component that can
only be placed against a browser.
The browser platform now owns the wait (`whenFontsReady`), and the panel
asks for it the way it asks for every other browser capability.
This is the baseline's own `check:webui-dependency` failure — the gate
reported these two accesses on the untouched `webui` branch.1 parent e2de9a1 commit 3e25b85
2 files changed
Lines changed: 26 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
528 | | - | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
529 | 534 | | |
530 | 535 | | |
531 | 536 | | |
| |||
570 | 575 | | |
571 | 576 | | |
572 | 577 | | |
573 | | - | |
| 578 | + | |
574 | 579 | | |
575 | 580 | | |
576 | 581 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
104 | 118 | | |
105 | 119 | | |
106 | 120 | | |
| |||
223 | 237 | | |
224 | 238 | | |
225 | 239 | | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
226 | 245 | | |
227 | 246 | | |
228 | 247 | | |
| |||
0 commit comments