• Benjamin Otte's avatar
    cssselector: Reintroduce GOT_MATCH · 78223932
    Benjamin Otte authored
    I removed it in 14f5ce71 because I
    thought it was unnecessary, but it wasn't. When we build a tree like
    .matches ─┬─ .doesntmatch
              └─ .alsodoesntmatch
    We would get the changes for the .matches part returned. This is however
    only right if that node of the tree contains results. If results only
    exist with the child nodes (all of which don't match), then this part
    should not match either.
gtkcssselector.c 59.5 KB