Skip to content

Commit

Permalink
document HTML::Selector's :has(string) pseudo class
Browse files Browse the repository at this point in the history
  • Loading branch information
misfo committed Apr 23, 2011
1 parent 0887385 commit 3e1f4db
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ module HTML
# (no parent element).
# * <tt>:empty</tt> -- Match the element only if it has no child elements,
# and no text content.
# * <tt>:content(string)</tt> -- Match the element only if it has <tt>string</tt>
# as its text content (ignoring leading and trailing whitespace).
# * <tt>:only-child</tt> -- Match the element if it is the only child (element)
# of its parent element.
# * <tt>:only-of-type</tt> -- Match the element if it is the only child (element)
Expand Down

0 comments on commit 3e1f4db

Please sign in to comment.