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

Deprecated selector in atoum-plugin/styles/atoum-plugin.less #9

Closed
nalysius opened this issue Jun 16, 2017 · 0 comments
Closed

Deprecated selector in atoum-plugin/styles/atoum-plugin.less #9

nalysius opened this issue Jun 16, 2017 · 0 comments
Assignees

Comments

@nalysius
Copy link

Hello.

I just installed atoum-plugin to manage my unit tests within Atom, and I have the following depreciation.

In atoum-plugin/styles/atoum-plugin.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

  • atom-text-editor::shadow .failing.decoration => atom-text-editor.editor .failing.syntax--decoration

  • atom-text-editor::shadow .failing.decoration span => atom-text-editor.editor .failing.syntax--decoration span

  • atom-text-editor::shadow .failing .region => atom-text-editor.editor .failing .region

  • atom-text-editor::shadow .covered.decoration => atom-text-editor.editor .covered.syntax--decoration

  • atom-text-editor::shadow .covered.decoration span => atom-text-editor.editor .covered.syntax--decoration span

  • atom-text-editor::shadow .uncovered.decoration => atom-text-editor.editor .uncovered.syntax--decoration

  • atom-text-editor::shadow .uncovered.decoration span => atom-text-editor.editor .uncovered.syntax--decoration span

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants