Skip to content
  • Benjamin Otte's avatar
    selector: Rewrite position tracking · 3bdde54a
    Benjamin Otte authored
    We now track the position as a (type,a,b) tuple where the numbers make
    up the an + b formula from CSS3 nth-child.
    
    Also, the get_sibling() and get_sibling_index() vfuncs were replaced by
    a has_position() vfunc. This is mostly so that the matcher can always
    return TRUE. And I need that for the everything matcher.
    3bdde54a