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

            Bug ID: 167147
           Summary: SVG: rect with stroke/fill rendered wrongly for value
                    "transparent"
           Product: LibreOffice
           Version: 24.8.7.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: [email protected]
          Reporter: [email protected]

Description:
I want to import a svg into impress. The rect-object with fill="transparent"
will be shown with a black color. The css-style fill/stroke should override the
current fill/stroke-attribute.

is: 
1,2,3,4: rect have blue border
1+3 rect: black, 2. rect: white 4.rect: red



Steps to Reproduce:
1.import the following svg in a page in impress

uses this SVG:
<svg id="mytest" xmlns="http://www.w3.org/2000/svg"; viewBox="0 0 768 256 " >
    <g fill="gold">
        <rect x="0" y="0" width="800" height="300" fill="gold" />
        <rect fill="transparent" x="10" y="1" width="120" height="255"
stroke="blue" stroke-width="5" />
        <rect x="170" y="1" fill="red" stroke="blue" width="120" height="255"
style="fill:#fff; stroke:transparent;" stroke-width="5"/>
        <rect x="330" y="1" stroke="blue" width="120" height="255"
style="fill:transparent;" stroke-width="5"/>
        <rect fill="red" stroke="green" x="490" y="1"  width="120" height="255"
style="fill:transparent; stroke:blue;" stroke-width="5" />
    </g>
</svg>


Actual Results:

is: 
1,2,3,4: rect: blue border
1 rect: black, 2. rect: white, 3 rect: black, 4.rect: red


Expected Results:
should 
1+3+4 rect: blue border. 2. rect: transparent border
1 rect: transparent. 2 rect: white, 3 rect: transparent, 4 rect: transparent


Reproducible: Always


User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: de
Module: PresentationDocument
[Information guessed from browser]
OS: Windows (All)
OS is 64bit: no

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

Reply via email to