Some sort of SVG path are badly filled

RESOLVED WORKSFORME

Status

()

Core
SVG
RESOLVED WORKSFORME
10 years ago
10 years ago

People

(Reporter: Jean-Claude Moissinac, Unassigned)

Tracking

1.8 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

10 years ago
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
Created attachment 290234 [details]
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.
Created attachment 290235 [details]
screenshot
The testcase worksforme in both Firefox 2 and in trunk builds.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.