https://bugs.freedesktop.org/show_bug.cgi?id=69271

          Priority: medium
            Bug ID: 69271
          Assignee: [email protected]
           Summary: VIEWING: SVG - "class=" taking precendence over
                    explicitely defined "style=" [Regression]
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: Other
        Whiteboard: BSA
            Status: UNCONFIRMED
           Version: 4.1.1.2 release
         Component: Spreadsheet
           Product: LibreOffice

Created attachment 85719
  --> https://bugs.freedesktop.org/attachment.cgi?id=85719&action=edit
Particular SVG picture showing the regression and screenshots

Problem description: 

As of version 4.1.1 (possibly earlier) SVG picture "Background - Gray.svg",
found in attached zip archive, is not displayed correctly when inserted in LO
Writer document.

Steps to reproduce:
1. Open the "Front_page.odt" document found in attached zip archive.

Current behavior:

In version 4.1.1 of LO Writer the picture is displayed in color instead of
light gray. The light gray version of the picture was done by "coloring"
colored version of the picture in light gray using Inkscape. As a result of
that, light gray color was defined explicitly in "style=" but the original
color was left defined in "class=". Here is an example from attached SVG:

<circle
   ...
   style="fill:#e8e8e8;fill-opacity:1"
   ....
   class="fil24"
/>

where class "fil24" is defined as:

.fil24 {fill:#2F6864}

In attached zip archive you will find screenshots of the document displayed in
LO Writer version 4.0.5 and 4.1.1. It seems that "class=" is taking precedence
over "style=" so picture is displayed colored instead of light gray.

The SVG picture is displayed correctly (light gray) in version 4.1.1 of LO Draw
so only Writer is affected

Expected behavior:

Attached SVG picture should be displayed light gray.
Operating System: Ubuntu
Version: 4.1.1.2 release

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to