This project is archived and is in readonly mode.

#1041 ✓invalid
Remco

border Morph broken in IE8 and somewhat in FF

Reported by Remco | October 15th, 2010 @ 10:15 AM | in 1.4.0 (closed)

Using mootools-core-1.3-full-compat.js

Morhping a div's border gives an error sometimes.

The error occurs in:
Element.implement.setStyle

at the following line:
this.style[property] = value;


When morphing:
'1px solid orange' to '1px solid black'

  • in IE8 value becomes '1px NaN black' at some point

  • No problem in FF3.6.10 though.

When morphing:
'1px solid #00ff00' to '1px solid #000000' ->

  • in IE8 value becomes 'NaN NaN NaN NaN 0) 0px 0' at some point

  • No problem in FF3.6.10

When morphing:
'1px solid #00ff00' to '1px solid black' ->

  • in IE8 value becomes 'NaN NaN NaN NaN black' at some point

  • in FF3.6.10 value becomes '1px solid NaN NaN NaN' (FF merely gives a warning here)

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

Tags

Pages