CSS selector mismatch

Bug #1291654 reported by László Monda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

In the scenario below the .led-outline selector matches when the .scaled-outline class is being referenced probably because the former is the substring is the latter.

<style type="text/css"><![CDATA[
    .scaled-outline {
        stroke-width: 0.17707263979419;
        stroke: black;
        fill: white;
    }

    .led-outline {
        stroke-width: 0.05;
        stroke: black;
        fill: lightgray;
    }

]]></style>

<path d="m 265.06716,398.22688 ..." class="scaled-outline" />

Tags: css
Revision history for this message
su_v (suv-lp) wrote :

AFAICT related to (or duplicate of)
- Bug #855191 “Classes and styles: incorrect parsing?”
  <https://bugs.launchpad.net/inkscape/+bug/855191>

tags: added: css
Revision history for this message
su_v (suv-lp) wrote :

Attaching sample file (to ease testing).

Revision history for this message
su_v (suv-lp) wrote :

Testing on OS X 10.7.5:
- reproduced with Inkscape 0.48.4 r9938, r10015
- reproduced with Inkscape 0.48+devel rev <= 12763
- not reproduced with Inkscape 0.48+devel rev >= 12771

AFAICT fixed by merged upstream libcroco changes into trunk's copy:
<http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/changes/12771>

Linking as duplicate to bug #855191.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.