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:
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.
In
atom-phpcs\styles\atom-phpcs.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 withsyntax--
. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:atom-text-editor .gutter .line-numbers .line-number, atom-text-editor::shadow .gutter .line-numbers .line-number
=>atom-text-editor .gutter .line-numbers .line-number, atom-text-editor.editor .gutter .line-numbers .line-number
atom-text-editor .gutter .line-numbers .atom-phpcs-error, atom-text-editor::shadow .gutter .line-numbers .atom-phpcs-error
=>atom-text-editor .gutter .line-numbers .atom-phpcs-error, atom-text-editor.editor .gutter .line-numbers .atom-phpcs-error
atom-text-editor .gutter .line-numbers .atom-phpcs-warning, atom-text-editor::shadow .gutter .line-numbers .atom-phpcs-warning
=>atom-text-editor .gutter .line-numbers .atom-phpcs-warning, atom-text-editor.editor .gutter .line-numbers .atom-phpcs-warning
atom-text-editor .gutter .line-numbers .atom-phpcs-spare, atom-text-editor::shadow .gutter .line-numbers .atom-phpcs-spare
=>atom-text-editor .gutter .line-numbers .atom-phpcs-spare, atom-text-editor.editor .gutter .line-numbers .atom-phpcs-spare
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.