Closed teschmitz closed 12 years ago
In the following example, the "s" in continuous is highlighted as cssUnits : -moz-background-inline-policy:continuous
I hope I am correct in presuming that a unit always follows a digit. In this case, the following syn-match provides the fix
syn match cssUnits /\d\@<=(%|cm|deg|dpi|dpcm|em|ex|\in|mm|pc|pt|px|s)\ze\s*[,;)}]\=/ contained
Thanks, @teschmitz.
In the following example, the "s" in continuous is highlighted as cssUnits : -moz-background-inline-policy:continuous
I hope I am correct in presuming that a unit always follows a digit. In this case, the following syn-match provides the fix
syn match cssUnits /\d\@<=(%|cm|deg|dpi|dpcm|em|ex|\in|mm|pc|pt|px|s)\ze\s*[,;)}]\=/ contained