Closed
Bug 372574
Opened 18 years ago
Closed 18 years ago
SVG patterns are not live to color changes
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: jruderman, Unassigned)
Details
(Keywords: testcase)
Attachments
(2 files)
Steps to reproduce:
1. Load one of the testcases.
Expected: green squares.
Result: red squares (at least some of the time).
(Split from bug 327764 comment 10.)
| Reporter | ||
Comment 1•18 years ago
|
||
| Reporter | ||
Comment 2•18 years ago
|
||
| Reporter | ||
Comment 3•18 years ago
|
||
With testcase 2, there also seems to be a slight shift in the position of the squares (at least when the squares remain red).
| Reporter | ||
Comment 4•18 years ago
|
||
I'm curious why the setTimeout makes a difference. When do I need to use setTimeout when making reftests for other SVG bugs? For example, if I were to make a reftest for the removeChild part of bug 327764, should I make two versions of the reftest, one with setTimeout and one without?
| Reporter | ||
Comment 5•18 years ago
|
||
In testcase 2, the shift is present even when the squares do turn green. The most obvious way to see this is to press Cmd++ (text zoom) after loading it. This seems to be a painting problem, so I'm not sure reftest can test it.
| Reporter | ||
Comment 6•18 years ago
|
||
Is there a way to force SVG to lay out and maybe paint, similar to the "document.body.offsetHeight;" trick for HTML, or am I stuck using timeouts?
| Reporter | ||
Comment 7•18 years ago
|
||
WFM, Mac trunk debug.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•