Finding bugs

Web September 3rd, 2006

The Dojo 2D API has evolved in the refactoring stage, Eugene completed the 1st stage yesterday. It is time to find, report and fix the bugs:

There are three browsers involed in the testing( from left to right):
Firefox 1.5.0.5 on Linux, Opera 9.00 on Linux, MSIE 6.0 w/SP2 on Windows XP(VMWare)

Fill color lost in Opera
Opera managed to draw the basic shapes, manipulate the layout and skew, but fails to render the color:

Firefox, Opera, MSIE render rects


But this is not always the case, for example:

Firefox, Opera, MSIE render polygons


UPDATE: Fixed on r5321.

Pattern rendering in Opera and MSIE
Opera is the only mainstream browser that supports pattern fill. The following screenshot demostrates how Opera(right) and MSIE(left) render the tiled images:

MSIE, Opera render pattern


The dimension of the image is 96×96, while in pattern the size is specified with width=120, height=96. MSIE strench the image, while Opera prefers to increase the padding.


Leave a Comment