tests/languages/css!+css-extras


Log

Author Commit Date CI Message
Michael Schmidt 2f7f7364 2021-10-05T21:15:33 Added more language tests (#3131)
Michael Schmidt fdbc4473 2020-05-19T01:52:38 CSS Extras: Optimized `class` and `id` patterns (#2359)
那里好脏不可以 e523f5d0 2020-05-09T02:42:24 CSS Extras: Renamed `attr-{name,value}` tokens and added tokens for combinators and selector lists (#2373)
Michael Schmidt 2e0eff76 2020-02-07T16:44:48 CSS: Added support for the selector function (#2201) This adds support for CSS 4's selector function. The selectors passed to the function will now be highlighted as such.
Michael Schmidt 8403e453 2019-09-03T19:06:15 Added Inline color plugin (#2007) This adds a new plugin to display an inline preview of CSS colors as most IDEs do.
Michael Schmidt ebe363f4 2019-08-17T14:31:41 CSS Extras & PHP: Fixed too greedy number token (#2009) This fixes the too greedy number tokenization of CSS Extras which cause the placeholders of PHP (via markup templating) to be partly tokenized. The CSS extras number pattern was adjusted to solve the issue.
Michael Schmidt 5e5a3e00 2019-05-12T14:14:03 CSS-Extras: Added `even` & `odd` keywords to `n-th` pattern (#1872) `even` and `odd` are keywords which are also an `n-th` value. This adds it to the pattern which previously only captured values of the form `an+b`.
Michael Schmidt 70a40414 2019-03-10T22:15:10 CSS extras: Highlighting for pseudo class arguments (#1650) This adds highlighting for pseudo class arguments, selector punctuation, and n-th expressions.
Michael Schmidt 245b59d4 2019-03-04T22:17:23 CSS: Highlight attribute selector (#1671) This adds highlighting for CSS attributes selectors in CSS Extras
Michael Schmidt 9de47d3a 2018-12-03T14:20:07 Fixed CSS extra variable (#1649) Details are described [here](https://github.com/PrismJS/prism/pull/1450#discussion_r238257002). I decided to go with the property variant, highlighting custom property declarations as `variable`.
Rex Zeng 5fcee966 2018-12-03T20:55:22 Identify CSS units and variables (#1450) Assume CSS unit is a word or `%` after a number, CSS variable is a word inside `var()`. `%` is not recognized as a part of number, but the leading `-` is. When using minus operator in `calc` function, we must type a space in both sides of `-` (value like `calc(100%-5px)` is wrong), so if we met a pattern like `-[\d.]` in a CSS value (not in selector, rule or variable), it must be the start of a negative number.
Golmote 13fed767 2016-07-07T09:09:51 CSS-extras: match attribute inside selectors
Golmote 8cc597e4 2015-08-19T00:41:34 Add tests for CSS extras