Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Clear out stale CSS style properties on webview #96665

Merged
merged 1 commit into from
May 5, 2020

Conversation

jkeech
Copy link
Member

@jkeech jkeech commented Apr 30, 2020

This PR fixes #96621

Tested by loading an extension with a webview and switching themes, confirming that stale theme properties are removed, and all expected theme properties remain. Some gifs of before and after theme changes show that the blue terminal correctly switches to grey after this change:

Before:
broken

After:
fixed

Copy link

@mohamedsgap mohamedsgap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mjbvz mjbvz added this to the May 2020 milestone Apr 30, 2020
@mjbvz mjbvz merged commit 6fcec00 into microsoft:master May 5, 2020
@mjbvz
Copy link
Collaborator

mjbvz commented May 5, 2020

Thanks. This will be in the first VS Code 1.46 insiders and is scheduled to ship with VS Code 1.46

@github-actions github-actions bot locked and limited conversation to collaborators Jun 19, 2020
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Webview CSS variables are append-only and never removed when they no longer apply
3 participants