https://bugs.documentfoundation.org/show_bug.cgi?id=149449

            Bug ID: 149449
           Summary: CSS class redefinition gets ignored inside SVGs
           Product: LibreOffice
           Version: 7.4.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: [email protected]
          Reporter: [email protected]

Description:
There's some CSS inside the attached svg that looks like this:

.cls-2,
.cls-3 {
    fill: #fff;
}

.cls-2 {
    opacity: 0.3;
}

The expected behavior is that .cls-2 has both fill: #fff and opacity: 0.3
attributes. Instead it only gets the first attribute. If you move the opacity
line to the block you will notice that this is not a problem with opacity but
with the second definition of the class getting ignored.

Steps to Reproduce:
1. Open attached SVG

Actual Results:
Bottom left circle is opaque white

Expected Results:
Bottom left circle is transparent white, causing a lighter blue color as
demonstrated in the comparison


Reproducible: Always


User Profile Reset: Yes



Additional Info:
-

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to