Describe the issue
The transform-style: preserve-3d keyword gets highlighted incorrectly, turning the number 3 into a different color, presumably due to the -3 part.
Which language seems to have the issue?
css
Are you using highlight or highlightAuto?
highlight
Sample Code to Reproduce
div {
transform-style: preserve-3d;
}
which hljs highlights into:
Expected behavior
Same as GitHub's highlighting - the preserve-3d part should be the same color.
Additional context
This doesn't repro for values such as f00-b4r, where the number is not directly following a hyphen.
Describe the issue
The
transform-style: preserve-3dkeyword gets highlighted incorrectly, turning the number 3 into a different color, presumably due to the-3part.Which language seems to have the issue?
css
Are you using
highlightorhighlightAuto?highlight
Sample Code to Reproduce
which hljs highlights into:
Expected behavior
Same as GitHub's highlighting - the
preserve-3dpart should be the same color.Additional context
This doesn't repro for values such as
f00-b4r, where the number is not directly following a hyphen.