W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2002

ie 5

From: nerula <nerula@inwind.it>
Date: Wed, 26 Jun 2002 22:51:06 +0200
To: www-dom@w3.org
Message-Id: <20020626225106.040500e3.nerula@inwind.it>

hi ml,
i've tryed to understand which DOM interface internet explorer 5 really uses with this simple script:

<body bgcolor="red">
<iframe id="jolly" name="jolly" src="home.html" style="position:absolute; top:0px; left:10px; width:500px; height:500px;"></iframe>
<script type="text/javascript">
var temp=document.getElementById("jolly").style
if (temp) {

i used Opera identified such as ie 5, since i dont have a windows partition.
the alert told: [object CSSStyleDeclaration]
so i thought this returned true:

temp=document.implementation.hasFeature("CSS", "1.0")

but i got an error from js console:

message: Value on left hand side of '.' is not convertible to Object: document.implementation

the same happened with a DOMImplementation interface:

var temp=DOMImplementation.hasFeature("CSS", "1.0")

however, ignoring this error i used an attribute of CSSStyleDeclaration:


which returned "undefined"...even more:


the error this time was:

message: Attempted to call non-function: has undefined value: 'getPropertyValue'

now what does that mean? why i can have an object but i cant use its methods and properties?
is this due to the Opera identify utility i used in this experiments?

LINUX USER #250527
Received on Wednesday, 26 June 2002 16:53:17 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:10 UTC