| 1 |
601
|
doc
|
Dom Release Notes
|
| 2 |
|
|
|
| 3 |
|
|
** Known Issues **
|
| 4 |
|
|
* margin/padding/borders on HTML element cause getXY to misreport
|
| 5 |
|
|
* margin/borders on BODY element may cause getXY to misreport
|
| 6 |
|
|
* Fixed postioning causes getXY to misreport in some cases
|
| 7 |
|
|
|
| 8 |
|
|
----------------------------
|
| 9 |
|
|
|
| 10 |
|
|
*** version 2.4.1 ***
|
| 11 |
|
|
|
| 12 |
|
|
No change
|
| 13 |
|
|
|
| 14 |
|
|
*** version 2.4.0 ***
|
| 15 |
|
|
* no longer accounting for safari body margin when offsetParent == body
|
| 16 |
|
|
* isAncestor and inDocument no longer use batch
|
| 17 |
|
|
* added getClientRegion()
|
| 18 |
|
|
|
| 19 |
|
|
*** version 2.3.1 ***
|
| 20 |
|
|
* allow batch() to work on array-like object
|
| 21 |
|
|
* return null from Dom.get(undefined)
|
| 22 |
|
|
|
| 23 |
|
|
*** version 2.3.0 ***
|
| 24 |
|
|
* added getAncestorBy methods
|
| 25 |
|
|
* added getChildren methods
|
| 26 |
|
|
* added getSibling methods
|
| 27 |
|
|
* trimming added for class mgmt methods
|
| 28 |
|
|
* fixed getXY inside table for Opera
|
| 29 |
|
|
|
| 30 |
|
|
*** version 2.3.0 ***
|
| 31 |
|
|
* added getAncestorBy methods
|
| 32 |
|
|
* added getChildren methods
|
| 33 |
|
|
* added getSibling methods
|
| 34 |
|
|
* trimming added for class mgmt methods
|
| 35 |
|
|
* fixed getXY inside table for Opera
|
| 36 |
|
|
|
| 37 |
|
|
*** version 2.2.2 ***
|
| 38 |
|
|
|
| 39 |
|
|
* fixed getXY scroll regression
|
| 40 |
|
|
|
| 41 |
|
|
*** version 2.2.1 ***
|
| 42 |
|
|
* fixed toCamel propertyCache used by set/getStyle
|
| 43 |
|
|
* added set/getStyle support for float property
|
| 44 |
|
|
* optimized get() for common use case
|
| 45 |
|
|
* fixed getXY for safari when el has absolute ancestors
|
| 46 |
|
|
* using className property instead of string literal for class mgmt methods
|
| 47 |
|
|
* added getXY/getRegion support for body element
|
| 48 |
|
|
|
| 49 |
|
|
*** version 2.2.0 ***
|
| 50 |
|
|
* no change
|
| 51 |
|
|
|
| 52 |
|
|
|
| 53 |
|
|
*** version 0.12.2 ***
|
| 54 |
|
|
* no change
|
| 55 |
|
|
|
| 56 |
|
|
*** version 0.12.1 ***
|
| 57 |
|
|
|
| 58 |
|
|
* getElementsByClassName no longer reverts to document when "root" not found
|
| 59 |
|
|
* setXY no longer makes a second call to getXY unless noRetry is false
|
| 60 |
|
|
* minified version no longer strips line breaks
|
| 61 |
|
|
|
| 62 |
|
|
*** version 0.12.0 ***
|
| 63 |
|
|
|
| 64 |
|
|
* fixed getXY for IE null parent
|
| 65 |
|
|
* branching set/getStyle at load time instead of run time
|
| 66 |
|
|
|
| 67 |
|
|
*** version 0.11.3 ***
|
| 68 |
|
|
|
| 69 |
|
|
* fixed getX and getY returning incorrect values for collections
|
| 70 |
|
|
* fixed getXY incorrectly calculated for Opera inline elements
|
| 71 |
|
|
* fixed isAncestor failure in safari when 2nd arg is document.documentElement
|
| 72 |
|
|
* fixed infinite loop in replaceClass when oldClassName == newClassName
|
| 73 |
|
|
* getDocumentWidth no longer includes scrollbars
|
| 74 |
|
|
|
| 75 |
|
|
|
| 76 |
|
|
*** version 0.11.2 ***
|
| 77 |
|
|
* limit depth of parent.document crawl to 1 for getXY
|
| 78 |
|
|
* test offsetParent instead of parentNode for getXY
|
| 79 |
|
|
* return null if no el fo r get
|
| 80 |
|
|
* just addClass if no class to replace for replaceClass
|
| 81 |
|
|
|
| 82 |
|
|
|
| 83 |
|
|
*** version 0.11.1 ***
|
| 84 |
|
|
|
| 85 |
|
|
* return null if el is null for get()
|
| 86 |
|
|
* test offsetParent rather than parentNode for getXY()
|
| 87 |
|
|
* limit depth of parent.document crawl for IE getXY() to 1
|
| 88 |
|
|
* if no oldClassName to replace, just addClass for replaceClass()
|
| 89 |
|
|
|
| 90 |
|
|
|
| 91 |
|
|
*** version 0.11.0 ***
|
| 92 |
|
|
* Work around Opera 9 broken currentStyle
|
| 93 |
|
|
* Removed timeout wrapper from setXY retry
|
| 94 |
|
|
* Tagname tests now case-insensitive
|
| 95 |
|
|
* Internal "this" references changed to allow for method shorthand
|
| 96 |
|
|
* get/setStyle now accept both camel and hyphen case
|
| 97 |
|
|
* Gecko reverted to crawling offsets for getXY
|
| 98 |
|
|
|
| 99 |
|
|
|
| 100 |
|
|
*** version 0.10.0 ***
|
| 101 |
|
|
|
| 102 |
|
|
* Safari now fails gracefully when querying computedStyle of an unavailable element
|
| 103 |
|
|
|
| 104 |
|
|
* Class management functions added (hasClass, addClass, removeClass, replaceClass, getElementsByClassName)
|
| 105 |
|
|
|
| 106 |
|
|
* All methods that accept HTMLElements or IDs now also accept arrays of HTMLElements and/or IDs
|
| 107 |
|
|
|
| 108 |
|
|
* GenerateId method added
|
| 109 |
|
|
|
| 110 |
|
|
* isAncestor method added
|
| 111 |
|
|
|
| 112 |
|
|
* inDocument method added
|
| 113 |
|
|
|
| 114 |
|
|
* getElementsBy method added
|
| 115 |
|
|
|
| 116 |
|
|
* batch method added
|
| 117 |
|
|
|
| 118 |
|
|
* getClientHeight/Width deprecated in favor of getViewportHeight/Width
|
| 119 |
|
|
|
| 120 |
|
|
* getDocumentHeight/Width methods added
|
| 121 |
|
|
|
| 122 |
|
|
*** version 0.9.0 ***
|
| 123 |
|
|
|
| 124 |
|
|
* Initial release
|