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

Changeset 8073

Show
Ignore:
Timestamp:
11/05/07 17:54:13 (10 months ago)
Author:
andrew
Message:

Exclude Opera from using the sourceIndex approach in Element#descendantOf. [Tobie Langel, Andrew Dupont]

Files:

Legend:

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

    r8072 r8073  
    11*SVN* 
     2 
     3* Exclude Opera from using the sourceIndex approach in Element#descendantOf. [Tobie Langel, Andrew Dupont] 
    24 
    35* Ensure Element#hasClassName always returns a boolean. Closes #10075. [ronnylovtangen, Tobie Langel] 
  • spinoffs/prototype/trunk/src/dom.js

    r8072 r8073  
    363363      return (element.compareDocumentPosition(ancestor) & 8) === 8; 
    364364       
    365     if (element.sourceIndex) { 
     365    if (element.sourceIndex && !Prototype.Browser.Opera) { 
    366366      var e = element.sourceIndex, a = ancestor.sourceIndex, 
    367367       nextAncestor = ancestor.nextSibling;