YUILibrary - Open source JavaScript and CSS for building richly interactive software.
Fork YUI on GitHub

YUI 2.x

Ticket #2528689 (closed defect)

Reporter


Satyen Desai
Opened: 03/11/10
Last modified: 03/31/10
Status: closed
Type: defect
Resolution: fixed

Owner


Satyen Desai
Target Release: 3.1.0
Priority: P3 (normal)
Summary: WidgetStdMod shouldn't remove the contents of header/body/footer during HTML_PARSER processing
Description:

Currently uses docFrag, which pulls the content of the header/body/footer out of the DOM to set the headerContent/bodyContent/footerContent values (and then re-inserts on render).

We should avoid pulling the content out of the sections, so that other PE parsing can take place.

Type: defect Observed in Version: 3.1.0 PR1
Component: Overlay Severity: S3 (normal)
Assigned To: Satyen Desai Target Release: 3.1.0
Location: Library Code Priority: P3 (normal)
Tags: Relates To:
Browsers: N/A
URL:
Test Information:

Change History

George

YUI Developer

Posted: 03/12/10
  • version changed from 3.1.0PR1 to 3.1.0 PR1

Satyen Desai

YUI Developer

Posted: 03/12/10
  • resolution changed to fixed
  • status changed from accepted to checkedin

Fixed WidgetStdMod so that we don't remove content from DOM while processing HTML_PARSER for headerContent, footerContent, bodyContent. This allows custom classes can apply their own parsing to the contents if required to extract more configuration data. Fixes #2528689
View Commit:

Satyen Desai

YUI Developer

Posted: 03/15/10

Fixed WidgetStdMod so that we don't remove content from DOM while processing HTML_PARSER for headerContent, footerContent, bodyContent. This allows custom classes can apply their own parsing to the contents if required to extract more configuration data. Fixes #2528689
View Commit:

Satyen Desai

YUI Developer

Posted: 03/16/10

Tweaked so that section node references are set up before the parent renderUI is invoked...

commit 41e26b3cd121550862096d2d44cc66904cde0909
Author: Satyen Desai sdesai@yahoo-inc.com
Date: Mon Mar 15 19:11:12 2010 -0700

Changed WidgetStdMod renderUI, syncUI, bindUI impls to be invoked before the host widget's version so that node references are available to the host Widget impl

George

YUI Developer

Posted: 03/31/10
  • status changed from checkedin to closed