Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

support.function.misc.scss applied inconsistently #288

Open
1 task
alexr00 opened this issue Dec 15, 2021 · 1 comment
Open
1 task

support.function.misc.scss applied inconsistently #288

alexr00 opened this issue Dec 15, 2021 · 1 comment

Comments

@alexr00
Copy link

alexr00 commented Dec 15, 2021

Prerequisites

Description

The tokenization of deep in the sample is inconsistent. Sometimes it is support.function.misc.scss and sometimes it only gets source.css.scss.

Steps to Reproduce

:deep(.el-scrollbar) {
  .reserve-drawer {
    padding: 0 20px;
    .create-btn {
      margin-bottom: 10px;
    }
  }
}
.reserve-edit-form {
  :deep(.el-form-item__content) {
    .el-input-number--mini {
      width: 80px;
    }
  }
}

Expected behavior:

deep always gets the same scope.

Actual behavior:

deep does not always get the same scope.

image

image

Reproduces how often:

100%

Versions

303bbf0

Originally posted by @gadfly3173 in microsoft/vscode#139170.

@gadfly3173
Copy link

And also .el-input-number--mini in this example rendered not correct, the same performance on this GitHub page.

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

No branches or pull requests

2 participants