Skip to content

Clear out stale CSS style properties on webview#96665

Merged
mjbvz merged 1 commit intomicrosoft:masterfrom
jkeech:master
May 5, 2020
Merged

Clear out stale CSS style properties on webview#96665
mjbvz merged 1 commit intomicrosoft:masterfrom
jkeech:master

Conversation

@jkeech
Copy link
Contributor

@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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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