Edit in GitHubLog an issue

:enabled

Since: UXP 3, PS 22.0.0

Matches when the selected element has no children.

See: https://developer.mozilla.org/en-US/docs/Web/CSS/:empty

Example:

Copied to your clipboard
1div:empty {
2 border: 1px solid blue;
3}
Copyright © 2021 Adobe. All rights reserved.