Closed Bug 396415 Opened 17 years ago Closed 17 years ago

Some sort of SVG path are badly filled

Categories

(Core :: SVG, defect)

1.8 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jcmoissinac, Unassigned)

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.6) Gecko/20070725 ExaleadToolbar/1.0 Firefox/2.0.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.6) Gecko/20070725 ExaleadToolbar/1.0 Firefox/2.0.0.6

This example is uncorrectly displayed
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
<svg
   xmlns:xlink='http://www.w3.org/1999/xlink'
   xmlns:svg='http://www.w3.org/2000/svg'
   xmlns='http://www.w3.org/2000/svg' width='1600' height='1200' viewBox='0 0 1600 1200' >
<g fill='black' fill-rule='evenodd' stroke='black'>
<path fill="red" d='M1123 490 l-100 100 l 100 100 M1123 490 l100 100l-100 100'/>
<path fill="green" d='M1123 490 l 200 0 l 0 200 M1123 490 l100 100l-100 100 M1123 690 l200 0'/>
</g>
</svg>


Reproducible: Always

Steps to Reproduce:
1.Cut the above code as an SVG text file
2.Display this SVG file with Firefox
3.You must see a red square followed by a green zone, but you don't see that.



Possibly a problem with the even_od filling rule and/or with a path described by several sub-path
Component: General → SVG
Product: Firefox → Core
QA Contact: general → general
Version: unspecified → 1.8 Branch
Attached image Jean-Claude's testcase
Here's Jean-Claude's testcase (with the viewBox removed so you don't have to scroll to see the path.
Attached image screenshot
The testcase worksforme in both Firefox 2 and in trunk builds.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: