Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 313646

Summary: SVG chart using pattern as color or background does not work when preview in firefox for the first time.[13]
Product: z_Archived Reporter: Maggie Shen <lshen>
Component: BIRTAssignee: Yi Wang <yi.wang>
Status: VERIFIED FIXED QA Contact: Maggie Shen <lshen>
Severity: normal    
Priority: P3 CC: bluesoldier, Lionel.wyl
Version: 2.6.0   
Target Milestone: 2.6.1   
Hardware: PC   
OS: Windows XP   
Whiteboard: Non-Auto

Description Maggie Shen CLA 2010-05-20 01:15:36 EDT
description:
SVG chart using pattern as color or background does not work when preview in firefox for the first time.

build id:
2.6.0 v20100520-0630

steps to reproduce:
1.New a SVG chart using pattern as color or background color.
2.Preview in firefox.

Actual result:
The pattern does not work when you first preview in firefox.
Comment 1 Yi Wang CLA 2010-07-08 03:04:56 EDT
Fixed.
This is actually a bug of Firefox 3.6. We generate the SVG according to the Standard, and there is also no problem with IE, Crome and Firefox 3.0, but Firefox 3.6 cannot render the pattern image for the first time, and after refreshed it will also be OK.
Now we wrap the image used by pattern with a "g" element, which seems like unnecessary but is grammatically correct, and Firefox 3.6 can also work now.
Comment 2 Maggie Shen CLA 2010-07-09 04:29:43 EDT
verified on build 2.6.0.v20100708-0630.