vscodenpa / testissues

Clone of the vscode issue stream.
43 stars 23 forks source link

Webview CSS: data-vscode-theme-name attribute changes when the language changes #121

Open vscodenpa opened 2 years ago

vscodenpa commented 2 years ago

Does this issue occur when all extensions are disabled?: Yes/No

Steps to Reproduce:

  1. Write webview CSS depending on data-vscode-theme-name, e.g. see https://github-com/microsoft/vscode/-/97663-issuecomment-630558320
  2. Change the language by installing a language pack - the CSS will stop working

Would it be possible to use an ID instead of a name string for this attribute?

vscodenpa commented 2 years ago

confidence for label webview: 0.85. does meet threshold

vscodenpa commented 2 years ago

confidence for assignee mjbvz: 0.95. does meet threshold

vscodenpa commented 2 years ago

confidence for label webview: 0.85. does meet threshold

vscodenpa commented 2 years ago

confidence for assignee mjbvz: 0.95. does meet threshold

vscodenpa commented 2 years ago

confidence for label webview: 0.85. does meet threshold

vscodenpa commented 2 years ago

confidence for assignee mjbvz: 0.95. does meet threshold

vscodenpa commented 2 years ago

confidence for label webview: 0.85. does meet threshold

vscodenpa commented 2 years ago

confidence for assignee mjbvz: 0.95. does meet threshold

vscodenpa commented 2 years ago

confidence for label webview: 0.85. does meet threshold

vscodenpa commented 2 years ago

confidence for assignee mjbvz: 0.95. does meet threshold

vscodenpa commented 2 years ago

confidence for label webview: 0.85. does meet threshold

vscodenpa commented 2 years ago

confidence for assignee mjbvz: 0.95. does meet threshold