Skip to content

Commit

Permalink
use the same order as the spec
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed Sep 21, 2015
1 parent a11d4c9 commit e985701
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions lib/Mojo/DOM/CSS.pm
Expand Up @@ -386,19 +386,6 @@ An C<E> element, root of the document.
my $root = $css->select(':root');
=head2 E:checked
A user interface element C<E> which is checked (for instance a radio-button or
checkbox).
my $input = $css->select(':checked');
=head2 E:empty
An C<E> element that has no children (including text nodes).
my $empty = $css->select(':empty');
=head2 E:nth-child(n)
An C<E> element, the C<n-th> child of its parent.
Expand Down Expand Up @@ -471,6 +458,19 @@ An C<E> element, only sibling of its type.
my $lonely = $css->select('div p:only-of-type');
=head2 E:empty
An C<E> element that has no children (including text nodes).
my $empty = $css->select(':empty');
=head2 E:checked
A user interface element C<E> which is checked (for instance a radio-button or
checkbox).
my $input = $css->select(':checked');
=head2 E.warning
An C<E> element whose class is "warning".
Expand Down

0 comments on commit e985701

Please sign in to comment.