Ticket #2528669 (accepted defect)
Reporter Dav Glass |
Opened: 03/1/10 Last modified: 07/23/12 Status: accepted Type: defect |
Owner Matt Sweeney |
Target Release: FUTURE Priority: P3 (normal) |
|---|---|---|---|
| Summary: | Node.create warnings with TextNode's | ||
| Description: | Node.create throws 2 warnings when dealing with Text Nodes:
These shouldn't warn you when creating a simple Text Node. |
||
| Type: | defect | Observed in Version: | development master |
| Component: | Node | Severity: | S3 (normal) |
| Assigned To: | Matt Sweeney | Target Release: | FUTURE |
| Location: | Library Code | Priority: | P3 (normal) |
| Tags: | Relates To: | ||
| Browsers: | N/A | ||
| URL: | |||
| Test Information: | |||
Change History
|
Posted: 03/3/10
|
|
Posted: 04/22/10
|
|
Posted: 07/1/10
|
|
Posted: 10/22/10
|
|
Posted: 11/9/11
|
|
Posted: 02/1/12
|
|
Posted: 03/27/12
|
|
Posted: 06/12/12
|
|
Posted: 07/23/12
|
This is mostly likely due to creating a text node that is only space, e.g. "Y.Node.create(' ');"
Create trims to account for "Y.Node.create(' <div/>');
Considering adding Y.Node.createTextNode() in the future.