[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 26311] DOM2 getComputedStyle support
From:       David Faure <faure () kde ! org>
Date:       2002-10-31 18:21:44
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
     
http://bugs.kde.org/show_bug.cgi?id=26311     




------- Additional Comments From faure@kde.org  2002-10-31 19:21 -------
Full testcase:  
<script>  
function doit() {  
        var element = document.getElementById('test');  
        var style = document.defaultView.getComputedStyle(element, "");  
        alert(style.getPropertyValue("height"));  
}  
</script>  
<body onload="doit()">  
<div id='test' height=450>Hello world</div>  
</body>  
  
Gives "17px" in Mozilla.  
Ouch, the first issue is the defaultView method not found. I'll debug that one right now.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic