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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>21892</bug_id>
          
          <creation_ts>2013-05-01 09:48:19 +0000</creation_ts>
          <short_desc>cross-browser method or property for get/set style in js</short_desc>
          <delta_ts>2014-06-21 12:53:10 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>JavaScript</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jim Michaels">jmichae3</reporter>
          <assigned_to name="Mathias Bynens">mathias</assigned_to>
          <cc>mike</cc>
          
          <qa_contact>sideshowbarker+javascript</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>87077</commentid>
    <comment_count>0</comment_count>
    <who name="Jim Michaels">jmichae3</who>
    <bug_when>2013-05-01 09:48:19 +0000</bug_when>
    <thetext>cross-browser method or property for get/set style in js
no code I have seen works cross browser. we need a standard/recommendation.
for example from now on, using BOTH
document.getElementById(id).style.display=&quot;none&quot;;
and
document.getElementById(id).style[&quot;display&quot;]=&quot;none&quot;;
or using at least the 2nd, which is more conducive to generic programming.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108176</commentid>
    <comment_count>1</comment_count>
    <who name="Mathias Bynens">mathias</who>
    <bug_when>2014-06-21 12:53:10 +0000</bug_when>
    <thetext>This is outside the scope of the JavaScript / Web ECMAScript spec. See &lt;http://javascript.spec.whatwg.org/#goals&gt;.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>