RESOLVED DUPLICATE of bug 15823 23159
cannot get element.style.border
https://bugs.webkit.org/show_bug.cgi?id=23159
Summary cannot get element.style.border
Longhao Luo
Reported 2009-01-07 00:30:43 PST
execute the following code in safari 3.2, can not fetch the value of element's border. example: -- <div id="test_div" style="border:1px solid #000000;">style border test</div> <script type="text/javascript"> alert(document.getElementById("test_div").style.border); </script> -- result: style.border: no value style.borderTop: will alert "1px solid rgb(0, 0, 0)" style.borderLeft: no value style.borderBottom: no value style.borderRight: no value demo url: http://kindsoft.net/test/style_border_test.html browser version: Windows XP, safari 3.2 Windows XP, chrome 1.0.154.36
Attachments
Robert Blaut
Comment 1 2009-01-07 01:10:34 PST
This problem is indeed replicable in Safari 3.2.1 but it isn't visible in WebKit r39671. So it is fixed WebKit nightly.
Robert Blaut
Comment 2 2009-01-07 02:15:45 PST
*** This bug has been marked as a duplicate of 15823 ***
Note You need to log in before you can comment on or make changes to this bug.