Closed Bug 942783 Opened 11 years ago Closed 11 years ago

SVG rectangles not drawn correctly when changing from fill and stroke "none"

Categories

(Core :: SVG, defect)

25 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 939942

People

(Reporter: d1sover, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.69 Safari/537.36

Steps to reproduce:

It would appear that, starting from Firefox version 25, SVG rectangles are not being drawn when their initial state made them completely transparent (fill and stroke as "none") and subsequent change sets these parameters to something visible - el

Problem has been observed on Firefox 25, as well as Nightly builds from Beta (26) and Central (28) channels as well (as of 2013-11-25). Problem not observed on other browsers, such as Chrome, Opera and Internet Explorer.

A small test case HTML has been attached, with basic SVG containing four rectangles:
- first one has default stroke and fill
- second one has fill: none
- third one has fill of transparent white
- fourth one has fill: none and stroke: black

To reproduce the problem:
1. Open svg-render-bug.html (attached) in Firefox >= 25
2. Two rectangles (one black, one white with black border) should be visible
3. Wait two seconds


Actual results:

Three red rectangles are visible, second one does not appear to have been re-rendered correctly.


Expected results:

Four red rectangles, one with black border should be visible after two seconds.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: