Skip to content

Use element window instead of global object#5813

Open
CGNonofr wants to merge 1 commit intoxtermjs:masterfrom
CodinGame:fix-wrong-window-regression
Open

Use element window instead of global object#5813
CGNonofr wants to merge 1 commit intoxtermjs:masterfrom
CodinGame:fix-wrong-window-regression

Conversation

@CGNonofr
Copy link
Copy Markdown

@CGNonofr CGNonofr commented Apr 13, 2026

If xterm is running in another frame than its dom, window.getComputedStyle returns an empty object in Firefox, which completely breaks the user selections

@CGNonofr CGNonofr changed the title [regression] use element window instead of global object Use element window instead of global object Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant