Opened 7 years ago

Closed 7 years ago

#16442 closed defect (wontfix)

dojox.image.Badge error in IE7

Reported by: unicode_dojo Owned by: dante
Priority: undecided Milestone: tbd
Component: Dojox Version: 1.8.1
Keywords: Cc:
Blocked By: Blocking:

Description

dojox.image.Badge can't be parsed in IE7.

The code as below can't be interpreted right:


<body class="claro">
<div data-dojo-type="dojox/image/Badge" jsId="badgeid" cellsize="100" cols="2" rows="2" children="img.dojoxBadgeImage">
	<img class="dojoxBadgeImage" src="image/square.jpg">
</div>
</body>

Reason: It seems that 'children' is a keyword, can't be used in ie7.

Contrastly,I modify the source code of dojox.image.Badge.js: I rename the attribute 'children' as 'children4', and the test code as below:

<body class="claro">
<div data-dojo-type="dojox/image/Badge" jsId="badgeid" cellsize="100" cols="2" rows="2" children4="img.dojoxBadgeImage">
	<img class="dojoxBadgeImage" src="image/square.jpg">
</div>
</body>

Then, all work right.

Change History (2)

comment:1 Changed 7 years ago by Adam Peller

Owner: changed from Adam Peller to dante
Status: newassigned

comment:2 Changed 7 years ago by bill

Resolution: wontfix
Status: assignedclosed

Given the decline of IE7, probably this won't be fixed.

Note: See TracTickets for help on using tickets.