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

Aspect Ratio syntax highlighting broken in Textmate grammar #190

Open
1 task
alexr00 opened this issue Nov 19, 2021 · 0 comments
Open
1 task

Aspect Ratio syntax highlighting broken in Textmate grammar #190

alexr00 opened this issue Nov 19, 2021 · 0 comments

Comments

@alexr00
Copy link

alexr00 commented Nov 19, 2021

Originally from @mikeybinnswebdesign in microsoft/vscode#136435

Prerequisites

Description

The top scope for aspect-ratio is meta.property-name.css when it should maybe also have support.type.property-name.css.

Steps to Reproduce

  1. Open VS Code with extensions disabled.
  2. Open a new file, and choose CSS as the language
  3. Paste in the following:
.test {
  color: #fff;
  aspect-ratio: 1;
  aspect-ratio: 1 / 1;
}

Expected behavior:

the aspect-ratio property text should be the same colour as the color property

Actual behavior:

the aspect-ratio text is a different color

Possible explaination:
The hover information for aspect-ratio says it is an experimental property, but this is not the case any more. It's now fully implemented for all modern browsers.

Reproduces how often:

100%

Versions

Additional Information

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

1 participant