This repository was archived by the owner on Dec 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 72
Aspect Ratio syntax highlighting broken in Textmate grammar #190
Copy link
Copy link
Open
Description
Originally from @mikeybinnswebdesign in microsoft/vscode#136435
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
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
- Open VS Code with extensions disabled.
- Open a new file, and choose CSS as the language
- 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels