Opened 12 years ago

Closed 12 years ago

#10498 closed defect (invalid)

GFX: Renderer order is not configurable.

Reported by: Jared Jurkiewicz Owned by: Jared Jurkiewicz
Priority: high Milestone: tbd
Component: DojoX GFX Version: 1.4.0
Keywords: Cc:
Blocked By: Blocking:


In the GFX code (dojox.gfx), the renderer search order is not configurable:

See line:

var renderers = (typeof dojo.config.gfxRenderer == "string" ?
			dojo.config.gfxRenderer : "svg,vml,silverlight,canvas").split(",");

What that does is state if it's a string use it, otherwise split a default array

So if you pass it it a string, it uses the string ... but since it doesn't split it, the render search logic (which assumes renderers is an array), won't work

So you can't change renderer order.

Also, why is silverlight after VML? Shouldn't Silverlight be before it? Otherwise it will never be used on IE. which ... is a problem ofr IE8, where VML is hosed pretty bad

Change History (2)

comment:1 Changed 12 years ago by Eugene Lazutkin

Owner: changed from Eugene Lazutkin to Jared Jurkiewicz

comment:2 Changed 12 years ago by Jared Jurkiewicz

Resolution: invalid
Status: newclosed

Not an issue as it turns out. Misread code.

Note: See TracTickets for help on using tickets.