This project is archived and is in readonly mode.

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
-
Remco October 15th, 2010 @ 10:16 AM
- no changes were found...
-
Arian October 15th, 2010 @ 04:26 PM
- State changed from new to open
- Milestone set to 1.3.1
- Assigned user set to Valerio
- Milestone order changed from 813 to 0
-
Fábio M. Costa October 19th, 2010 @ 02:23 AM
Theres no support for color names at mootools 1.3, you'll have to use the color in hex or rgb.
As seen here:http://jsfiddle.net/fabiomcosta/RP5an/1/
It works just fine (Firefox 3.6 and IE8).
Please confirm so we can close the ticket.
-
Christoph Pojer February 23rd, 2011 @ 12:53 PM
- Milestone changed from 1.3.1 to 1.4.0
- Milestone order changed from 5 to 0
-
Christoph Pojer February 23rd, 2011 @ 12:53 PM
- State changed from open to invalid
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »