Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#12439 closed defect (fixed)

[patch][ccla] charts might fail to draw on IE in a BorderContainer when some internal sizes are negative

Reported by: cjolif Owned by: Eugene Lazutkin
Priority: high Milestone: 1.7
Component: Charting Version: 1.6.0
Keywords: 1.7-mobile Cc:
Blocked By: Blocking:

Description

At parsing time when a Chart widget is in a BorderContainer? the size of the chart widget minus its offsets might be negative. This is creating issues on IE due to VML that will crash on negative values.

This patch is making sure the size passed to VML is always positive.

The test case is attached.

Attachments (2)

iewidgetsize.patch (1.2 KB) - added by cjolif 9 years ago.
patch
test_chartingsize.html (1.4 KB) - added by cjolif 9 years ago.
tests that fails on IE

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by cjolif

Attachment: iewidgetsize.patch added

patch

Changed 9 years ago by cjolif

Attachment: test_chartingsize.html added

tests that fails on IE

comment:1 Changed 9 years ago by cjolif

This also hit Android/Canvas? with error: INDEX_SIZE_ERR: Dom Exception 1

comment:2 Changed 9 years ago by Chris Mitchell

Resolution: fixed
Status: newclosed

(In [24512]) fixes #12439 charts might fail to draw on IE in a BorderContainer? when some internal sizes are negative !strict

comment:3 Changed 9 years ago by Chris Mitchell

(In [24588]) refs #12439 fixed corrupt testcase

comment:4 Changed 9 years ago by bill

Milestone: tbd1.7
Note: See TracTickets for help on using tickets.