diff options
| author | Martin Owens <doctormo@gmail.com> | 2014-01-09 19:23:43 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2014-01-09 19:23:43 +0000 |
| commit | d0847048854adfe7c284d8052ce6a01056cdb161 (patch) | |
| tree | 61fe13cfc5afb504cc2448fa79f5e480902c7e64 /src | |
| parent | Fix for bug #1266113 (xcf export only allows 90 dpi). (diff) | |
| download | inkscape-d0847048854adfe7c284d8052ce6a01056cdb161.tar.gz inkscape-d0847048854adfe7c284d8052ce6a01056cdb161.zip | |
For bug #1267552 Allow pseudo class matches to continue matching the rest of a css statement instead of being sufficiant.
Fixed bugs:
- https://launchpad.net/bugs/1267552
(bzr r12905)
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcroco/cr-sel-eng.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcroco/cr-sel-eng.c b/src/libcroco/cr-sel-eng.c index 77bf5b177..0eba2b403 100644 --- a/src/libcroco/cr-sel-eng.c +++ b/src/libcroco/cr-sel-eng.c @@ -512,11 +512,11 @@ additional_selector_matches_node (CRSelEng * a_this, continue ; } else if (cur_add_sel->type == PSEUDO_CLASS_ADD_SELECTOR && cur_add_sel->content.pseudo) { - if (pseudo_class_add_sel_matches_node + if (!pseudo_class_add_sel_matches_node (a_this, cur_add_sel, a_node)) { - return TRUE; + return FALSE; } - return FALSE; + continue ; } } if (evaluated == TRUE) |
