Opened 12 years ago
Closed 5 years ago
#8610 closed defect (patchwelcome)
Apply transform to small circles works in Firefox, not in IE
Reported by: | baoilleach | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | 1.13 |
Component: | DojoX GFX | Version: | 1.2.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
First, here's the test case: http://www.redbrick.dcu.ie/~noel/blog/molecproc/fourcircles.html
In Firefox, you'll see four circles in a row (correct behaviour), but in IE you'll only see two in a row, and a third in the middle of nowhere. The problem seems to be handling of very small circles in IE. Applying a large scaling to a very small circle introduces some rounding error somehow.
Here's a comment by Tom Trenka: "The VML engine in IE doesn't like fractional numbers, and it looks to me like that's what's happening for you here, with your radii. Though it also looks like a couple of other things are in play--one being a set of missing parenthesis in a calculation, which breaks when the width of something is returned as 0 (it looks something like -l/w-0.5, and it should probably be -l/(w-0.5) )."
For me this bug is easy to workaround, but I thought I'd let you know.
Change History (3)
comment:1 Changed 12 years ago by
Component: | General → DojoX GFX |
---|---|
Owner: | changed from anonymous to Eugene Lazutkin |
comment:2 Changed 12 years ago by
Milestone: | tbd → future |
---|
moving to future because was tdb at 1.3b snapshot
comment:3 Changed 5 years ago by
Milestone: | future → 1.12 |
---|---|
Resolution: | → patchwelcome |
Status: | new → closed |
Given that no one has shown interest in creating a patch in the past 5+ years, I'm closing this as patchwelcome.
BTW, it's usually better to attach test files to the bug so they are here permanently.