Opened 11 years ago
Closed 11 years ago
#12157 closed bug (invalid)
.is(':empty') should be true on characterless and whitespaced
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Wouldn't it be good if
.is(':empty')
works on whitespaced elements, this jsFiddle test explains it all.
Note: See
TracTickets for help on using
tickets.
It may be useful for some, but the place to argue for it is on the w3c, since that is the behavior specified.
http://www.w3.org/TR/css3-selectors/#empty-pseudo