Skip to content

Should support .css("+xyz") and .css(">abc") #621

Description

@dlee

In jQuery, it's convenient to try looking for a node that follows another by doing:

<div>
  <dt>blah
  <dd>blah
  <dt>blah
  <dd>blah
</div>
$("dt").find("+dd")

The above example is contrived, but it's just an illustration

It would be nice if nokogiri also supported +sibling notation on the current node.

**Update:* Nokogiri should also support .css(">abc") as well, and it'd probably be the same fix, so I'm adding it to this bug.*

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions