Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Test theme hint in previewHtml #8190

Closed
1 task done
jrieken opened this issue Jun 27, 2016 · 1 comment
Closed
1 task done

Test theme hint in previewHtml #8190

jrieken opened this issue Jun 27, 2016 · 1 comment

Comments

@jrieken
Copy link
Member

jrieken commented Jun 27, 2016

tests #7589

When previewing html we now indicate the active theme group. Those are vscode-light, vscode-dark, and vscode-high-contrast. Make sure one and only one of them is always set on the document. Switch another theme and make sure it updates

@jrieken jrieken added this to the June 2016 milestone Jun 27, 2016
@weinand
Copy link
Contributor

weinand commented Jun 28, 2016

tested by previewing a markdown file with this contents:

<script language="JavaScript">
  document.write(document.body.className);
</script>

@jrieken jrieken closed this as completed Jun 28, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants