Skip to content

Commit 074cb07

Browse files
vrugtehagelAdam Argyle
authored andcommitted
Add :defined pseudo-class
1 parent 6d8d05d commit 074cb07

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CSS3.sublime-syntax

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11099,6 +11099,7 @@ contexts:
1109911099
in-range|
1110011100
hover|
1110111101
host|
11102+
defined|
1110211103
future|
1110311104
fullscreen|
1110411105
focus-within|

test/syntax_test_selectors.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,11 @@
239239
/* <- entity.other.attribute-name.pseudo-class.css */
240240
/*^^^ entity.other.attribute-name.pseudo-class.css */
241241
/* ^ -entity.other.attribute-name.pseudo-class.css */
242+
:defined {}
243+
/* <- entity.other.attribute-name.pseudo-class.css punctuation.definition.entity.pseudo-class.css */
244+
/* <- entity.other.attribute-name.pseudo-class.css */
245+
/*^^^^^^ entity.other.attribute-name.pseudo-class.css */
246+
/* ^ -entity.other.attribute-name.pseudo-class.css */
242247
:future {}
243248
/* <- entity.other.attribute-name.pseudo-class.css punctuation.definition.entity.pseudo-class.css */
244249
/* <- entity.other.attribute-name.pseudo-class.css */

0 commit comments

Comments
 (0)