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
8
----------------------------
10
* get() now works with Element instances
11
* added getComputedStyle method
12
* backported getXY/setXY from 3.0
13
* hasClass/removeClass/replaceClass now accept regex object as target class
14
* added getElementBy method
15
* added setAttribute/getAttribute methods
16
* added height and width properties to Region
19
* now rounding getXY return for clientRect branch
20
* now trimming className arg in getElementsByClassName
21
* class attribute now removed if empty after removeClass
22
* normalized isAncestor (needle === haystack no longer returns true in some browsers)
28
* getStyle fix for getting computedStyle across documents
31
* get() now correctly handles textNodes
34
* no longer accounting for safari body margin when offsetParent == body
35
* isAncestor and inDocument no longer use batch
36
* added getClientRegion()
39
* allow batch() to work on array-like object
40
* return null from Dom.get(undefined)
43
* added getAncestorBy methods
44
* added getChildren methods
45
* added getSibling methods
46
* trimming added for class mgmt methods
47
* fixed getXY inside table for Opera
50
* added getAncestorBy methods
51
* added getChildren methods
52
* added getSibling methods
53
* trimming added for class mgmt methods
54
* fixed getXY inside table for Opera
58
* fixed getXY scroll regression
61
* fixed toCamel propertyCache used by set/getStyle
62
* added set/getStyle support for float property
63
* optimized get() for common use case
64
* fixed getXY for safari when el has absolute ancestors
65
* using className property instead of string literal for class mgmt methods
66
* added getXY/getRegion support for body element
72
*** version 0.12.2 ***
75
*** version 0.12.1 ***
77
* getElementsByClassName no longer reverts to document when "root" not found
78
* setXY no longer makes a second call to getXY unless noRetry is false
79
* minified version no longer strips line breaks
81
*** version 0.12.0 ***
83
* fixed getXY for IE null parent
84
* branching set/getStyle at load time instead of run time
86
*** version 0.11.3 ***
88
* fixed getX and getY returning incorrect values for collections
89
* fixed getXY incorrectly calculated for Opera inline elements
90
* fixed isAncestor failure in safari when 2nd arg is document.documentElement
91
* fixed infinite loop in replaceClass when oldClassName == newClassName
92
* getDocumentWidth no longer includes scrollbars
95
*** version 0.11.2 ***
96
* limit depth of parent.document crawl to 1 for getXY
97
* test offsetParent instead of parentNode for getXY
98
* return null if no el fo r get
99
* just addClass if no class to replace for replaceClass
102
*** version 0.11.1 ***
104
* return null if el is null for get()
105
* test offsetParent rather than parentNode for getXY()
106
* limit depth of parent.document crawl for IE getXY() to 1
107
* if no oldClassName to replace, just addClass for replaceClass()
110
*** version 0.11.0 ***
111
* Work around Opera 9 broken currentStyle
112
* Removed timeout wrapper from setXY retry
113
* Tagname tests now case-insensitive
114
* Internal "this" references changed to allow for method shorthand
115
* get/setStyle now accept both camel and hyphen case
116
* Gecko reverted to crawling offsets for getXY
119
*** version 0.10.0 ***
121
* Safari now fails gracefully when querying computedStyle of an unavailable element
123
* Class management functions added (hasClass, addClass, removeClass, replaceClass, getElementsByClassName)
125
* All methods that accept HTMLElements or IDs now also accept arrays of HTMLElements and/or IDs
127
* GenerateId method added
129
* isAncestor method added
131
* inDocument method added
133
* getElementsBy method added
137
* getClientHeight/Width deprecated in favor of getViewportHeight/Width
139
* getDocumentHeight/Width methods added
141
*** version 0.9.0 ***