Skip to content

Commit

Permalink
add highlight for dialog backdrop pseudo-element
Browse files Browse the repository at this point in the history
  • Loading branch information
i-akhmadullin committed Jul 29, 2014
1 parent 6cebb3d commit 727b839
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CSS3.tmLanguage
Expand Up @@ -1494,7 +1494,7 @@
</dict>
</dict>
<key>match</key>
<string>(:)(current|(first|last)-child|(first|last|nth|only)-of-type|empty|future|only-child|past|root|scope|target|first|left|right)\b</string>
<string>(:)(current|(first|last)-child|(first|last|nth|only)-of-type|backdrop|empty|first|future|left|only-child|past|right|root|scope|target)\b</string>
<key>name</key>
<string>entity.other.attribute-name.pseudo-class.css</string>
</dict>
Expand Down
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -227,6 +227,8 @@ progid:DXImageTransform.Microsoft.Shadow
:placeholder-shown
:user-error
dialog::backdrop
```

#### At-rules
Expand Down
2 changes: 1 addition & 1 deletion src/repository/selector.xml
Expand Up @@ -121,7 +121,7 @@
</dict>
</dict>
<key>match</key>
<string>(:)(current|(first|last)-child|(first|last|nth|only)-of-type|empty|future|only-child|past|root|scope|target|first|left|right)\b</string>
<string>(:)(current|(first|last)-child|(first|last|nth|only)-of-type|backdrop|empty|first|future|left|only-child|past|right|root|scope|target)\b</string>
<key>name</key>
<string>entity.other.attribute-name.pseudo-class.css</string>
</dict>
Expand Down
1 change: 1 addition & 0 deletions test.css
Expand Up @@ -275,6 +275,7 @@ ul! li:hover,
col.selected || td,
:placeholder-shown,
:user-error {}
dialog::backdrop{}

/* http://dev.w3.org/csswg/css-will-change/ */
.will-change {
Expand Down

0 comments on commit 727b839

Please sign in to comment.