> -----Original Message-----
> From: Claude Schneegans [mailto:[EMAIL PROTECTED]
> Sent: Saturday, July 30, 2005 12:17 PM
> To: CF-Talk
> Subject: Re: IE & dtandards: there is hope
> 
> I think this is good news,...
> Now we just have to wait for a better standard... ;-)


Yeah... I although I mostly worry about the advanced stuff that aren't in
standards.  Most of my problems are with Scripting... but I'm sure there are
CSS items as well (like the behavior of Field Groups talked about a few days
ago).

For example:

IE will give you a reference to a constructor for any built-in object as in:

ThisContstructor = Option.constructor;

With Firefox you need to explicitly instantiate the object:

ThisContstructor = new Option().constructor;

This latter will work in IE as well so it's not a big deal, but it does
cause some head scratching.


I still can't figure out a way in FireFox to load content containing script
into a DIV (and have that script function).  (In IE this works, but you have
to "null" the DIV before loading the new content - and it won't run inline
script, but it will make functions accessible.)


FireFox and IE treat compound properties and functions differently as well.
For example I can do this in IE but no FireFox:

App = new Object;
function App.Init(Param, Param) {
        ...stuff...
};

Which fails in FireFox.  However this works in both:

App = new Object;
App.Init = new Function(Param, Param) {
        ...stuff...
};

But there are potential scoping issues with this.  This (rather kludgy
method) also works:

App = new Object;
App.Init = App_Init;
function App_Init(Param, Param) {
        ...stuff...
};

All told I'm not sure why the first isn't supported in FireFox (if functions
are data, which they are, it should be in my opinion) but I've also not
found an entry in the spec that covers this specific issue.

Or any of these issues to be more to the point.

The specs cover a lot but also leave a lot up to the implementation.  I
think as IE gets closer to full standards support we're going to see a lot
of these "gray" issues come to the surface.

Jim Davis





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213330
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to