[Webkit-unassigned] [Bug 23159] New: cannot get element.style.border

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 7 00:30:44 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=23159

           Summary: cannot get element.style.border
           Product: WebKit
           Version: 525.x (Safari 3.2)
          Platform: PC
               URL: http://kindsoft.net
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: luolonghao at gmail.com


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


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list