[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: DOM support in IE vs. NS


ie dom2
[Joshua Allen]

The best way to find out what scriptable functions are available in a
particular vendor's browser is to look at the browser's documentation.
If the function is documented in MSDN as being supported by IE, then it
should work on IE.

[Tom P]

IE actually supports some DOM2 things but with slightly different names.
For example, a list of css  rules, which is properly obtained with
"stylesheet.cssRules", can be gotten in IE as "stylesheet.rules".  You can
make this work for both compliant browsers and IE by using

rules=stylesheet.rules||stylesheet.cssRules

The way javascript works, this will pick up the rules whichever browesr you
are using.  All (well, I do not know that, but at least most) properties and
method names on the rules are the same for both, so downstream code can be
the same.

So it may be that IE supports quite a bit more of DOM2 than the test
indicated, but with these slight name variations.  My impression is that it
does.

Cheers,

Tom P




PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.