Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Automatic translation for removing Shadow DOM selectors lowers specificity #13019

@simurai

Description

@simurai

Carried over from lee-dohm/red-wavy-underline#10 since it's more a core issue.

Prerequisites

For more information on how to write a good bug report or enhancement request, see the CONTRIBUTING guide.

Description

The automatic translation for removing Shadow DOM selectors lowers specificity. This can cause some packages to break.

Steps to Reproduce

  1. Checkout recent master (1.13.0-dev-602af52 or later)
  2. apm install red-wavy-underline@0.3.0
  3. Make sure you have the spell-check package enabled.
  4. Open a file and misspell a word. Like mispell.

Expected behavior:

There should only be the red wavy underline.

stable_360

Actual behavior:

There are the red wavy underline and the default dashed underline.

shadow-dom-changes_360

### Versions

You can get this information from executing atom --version and apm --version at the command line. Also, please include the OS and what version of the OS you're running.

macOS 10.12 (16A323)

Atom    : 1.13.0-dev-602af52
Electron: 1.3.6
Chrome  : 52.0.2743.82
Node    : 6.3.0

apm  1.13.0
npm  3.10.5
node 4.4.5
python 2.7.10
git 2.9.1

Affected packages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions