Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 9001

Show
Ignore:
Timestamp:
03/09/08 08:05:29 (6 months ago)
Author:
tobie
Message:

prototype: Make Element#writeAttribute handle frameborder attribute in IE. Closes #11068.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • spinoffs/prototype/trunk/CHANGELOG

    r9000 r9001  
     1* Make Element#writeAttribute handle frameborder attribute in IE. Closes #11068. [staaky, Tobie Langel] 
     2 
    13* Minor clean-up of selector.js. Closes #10844. [RQuadling] 
    24 
  • spinoffs/prototype/trunk/src/dom.js

    r8803 r9001  
    851851     
    852852  $w('colSpan rowSpan vAlign dateTime accessKey tabIndex ' + 
    853       'encType maxLength readOnly longDesc').each(function(attr) { 
     853      'encType maxLength readOnly longDesc frameBorder').each(function(attr) { 
    854854    Element._attributeTranslations.write.names[attr.toLowerCase()] = attr; 
    855855    Element._attributeTranslations.has[attr.toLowerCase()] = attr; 
  • spinoffs/prototype/trunk/test/unit/dom.html

    r8800 r9001  
    13851385      assertEqual('2', table.readAttribute('cellspacing')); 
    13861386      assertEqual('3', table.readAttribute('cellpadding')); 
     1387 
     1388      var iframe = new Element('iframe', { frameborder: 0 }); 
     1389      assertIdentical(0, parseInt(iframe.readAttribute('frameborder'))); 
    13871390    }}, 
    13881391