Files
moodle/lib/yui/dom
2007-01-08 08:47:49 +00:00
..
2007-01-08 08:47:49 +00:00
2007-01-08 08:47:49 +00:00
2007-01-08 08:47:49 +00:00
2007-01-08 08:47:49 +00:00

Dom Release Notes



*** 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