Skip to content

Commit

Permalink
Add defined, focus-visible and placeholder-shown
Browse files Browse the repository at this point in the history
  • Loading branch information
octref committed Jun 18, 2018
1 parent eb0a5fd commit ea1d7e3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions grammars/css.cson
Original file line number Diff line number Diff line change
Expand Up @@ -1596,10 +1596,11 @@
'name': 'invalid.illegal.colon.css'
'match': '''(?xi)
(:)(:*)
(?: active|any-link|checked|default|disabled|empty|enabled|first
| (?:first|last|only)-(?:child|of-type)|focus|focus-within|fullscreen|host|hover
| in-range|indeterminate|invalid|left|link|optional|out-of-range
| read-only|read-write|required|right|root|scope|target|unresolved
(?: active|any-link|checked|default|defined|disabled|empty|enabled|first
| (?:first|last|only)-(?:child|of-type)|focus|focus-visible|focus-within
| fullscreen|host|hover|in-range|indeterminate|invalid|left|link
| optional|out-of-range|placeholder-shown|read-only|read-write
| required|right|root|scope|target|unresolved
| valid|visited
)(?![\\w-]|\\s*[;}])
'''
Expand Down

0 comments on commit ea1d7e3

Please sign in to comment.