Ticket #2529830 (closed defect)

Reporter


Ryan Cannon
Opened: 01/14/11
Last modified: 08/18/11
Status: closed
Type: defect
Resolution: fixed

Owner


Matt Sweeney
Target Release: 3.4.0
Priority: P3 (normal)
Summary: Y.Tab does not accept Y.Node instances as a valid value for content
Description:

A Y.Tab instance should allow node instances to be set as the value of its content property.

For example:


YUI().use('node', 'tabview', function (Y) {
var t = new Y.Tab(),
n = Y.Node.create('<div>I want to refer to this div later</div>');

t.set('content', n);
Y.log((t.get('content') === n) + ' should be true');
});

Expected: n should be set as t's content, and should be appended to the DOM when t is rendered.
Actual: content is not set - Y.Tab only supports string values for content.

Type: defect Observed in Version: 3.3.0
Component: TabView Severity: S3 (normal)
Assigned To: Matt Sweeney Target Release: 3.4.0
Location: Library Code Priority: P3 (normal)
Tags: tab, tabview, node, validator Relates To:
Browsers: All
URL:
Test Information:

Change History

Matt Sweeney

YUI Developer

Posted: 03/15/11
  • location changed to Library Code
  • milestone changed to 3.4.0
  • priority changed to P3 (normal)
  • status changed from new to accepted

Matt Sweeney

YUI Developer

Posted: 03/16/11
  • status changed from accepted to checkedin

George

YUI Developer

Posted: 08/18/11
  • resolution changed to fixed
  • status changed from checkedin to closed