Ticket #2532256 (new defect)
Last modified: 05/3/12
|Summary:||Y.DOM._create caching of fragClones by tag only (but not doc)|
I'm looking at the following code.
There are not motivational comments included but it appears that the programmer wanted to avoid creating elements if an element with the same tag was already created.
The problem is that this function takes a "doc" so that when the element is created it is created with the correct doc. If a subsequent call to _create is made with the same tag but a different doc,
In order for the caching to work so that the right frag element created with the correct doc object, the caching needs to be done in two dimensions (i.e. tag and doc) but it is only being done in one
|Type:||defect||Observed in Version:||3.5.0|
|Assigned To:||Matt Sweeney||Target Release:|