<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>23159</bug_id>
          
          <creation_ts>2009-01-07 00:30:43 -0800</creation_ts>
          <short_desc>cannot get element.style.border</short_desc>
          <delta_ts>2009-01-07 02:15:45 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>525.x (Safari 3.2)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>15823</dup_id>
          
          <bug_file_loc>http://kindsoft.net</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Longhao Luo">luolonghao</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104698</commentid>
    <comment_count>0</comment_count>
    <who name="Longhao Luo">luolonghao</who>
    <bug_when>2009-01-07 00:30:43 -0800</bug_when>
    <thetext>execute the following code in safari 3.2, can not fetch the value of element&apos;s border.

example:
--
&lt;div id=&quot;test_div&quot; style=&quot;border:1px solid #000000;&quot;&gt;style border test&lt;/div&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
alert(document.getElementById(&quot;test_div&quot;).style.border);
&lt;/script&gt;
--
result:
style.border: no value
style.borderTop: will alert &quot;1px solid rgb(0, 0, 0)&quot;
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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104702</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2009-01-07 01:10:34 -0800</bug_when>
    <thetext>This problem is indeed replicable in Safari 3.2.1 but it isn&apos;t visible in WebKit r39671. So it is fixed WebKit nightly. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104703</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2009-01-07 02:15:45 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 15823 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>