summaryrefslogtreecommitdiffstats
path: root/reports/site_media/yui/dom/README
blob: 966543f589c5071faf0e591bfb24b514cf7939a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
Dom Release Notes

*** version 0.12.2 ***
* no change

*** version 0.12.1 ***

* getElementsByClassName no longer reverts to document when "root" not found
* setXY no longer makes a second call to getXY unless noRetry is false
* minified version no longer strips line breaks

*** version 0.12.0 ***

* fixed getXY for IE null parent
* branching set/getStyle at load time instead of run time 

*** version 0.11.3 ***

* fixed getX and getY returning incorrect values for collections 
* fixed getXY incorrectly calculated for Opera inline elements
* fixed isAncestor failure in safari when 2nd arg is document.documentElement
* fixed infinite loop in replaceClass when oldClassName == newClassName 
* getDocumentWidth no longer includes scrollbars 


*** version 0.11.2 ***
* limit depth of parent.document crawl to 1 for getXY
* test offsetParent instead of parentNode for getXY
* return null if no el fo r get
* just addClass if no class to replace for replaceClass


*** version 0.11.1 ***

* return null if el is null for get()
* test offsetParent rather than parentNode for getXY()
* limit depth of parent.document crawl for IE getXY() to 1
* if no oldClassName to replace, just addClass for replaceClass()


*** version 0.11.0 ***
* Work around Opera 9 broken currentStyle
* Removed timeout wrapper from setXY retry
* Tagname tests now case-insensitive
* Internal "this" references changed to allow for method shorthand
* get/setStyle now accept both camel and hyphen case
* Gecko reverted to crawling offsets for getXY
 

*** version 0.10.0 ***

* Safari now fails gracefully when querying computedStyle of an unavailable element 

* Class management functions added (hasClass, addClass, removeClass, replaceClass, getElementsByClassName) 

* All methods that accept HTMLElements or IDs now also accept arrays of HTMLElements and/or IDs

* GenerateId method added

* isAncestor method added

* inDocument method added

* getElementsBy method added

* batch method added

* getClientHeight/Width deprecated in favor of getViewportHeight/Width

* getDocumentHeight/Width methods added 

*** version 0.9.0 ***

* Initial release