[Webkit-unassigned] [Bug 26915] HTML5: DOM binding of <datalist> element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 15 22:30:30 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=26915





--- Comment #10 from TAMURA, Kent <tkent at chromium.org>  2009-07-15 22:30:29 PDT ---
(In reply to comment #9)
> (From update of attachment 32645 [details])
> Your ChangeLog is doubled.

Fixed.

> Why is this right?
> bool HTMLDataListElement::checkDTD(const Node* newChild)
>  48 {
>  49     return newChild->hasTagName(HTMLNames::optionTag) ||
> HTMLElement::checkDTD(newChild);
>  50 }

According to the standard, we need to allow <options>s and inline elements.  So
HTMLElement::checkDTD() was wrong.  I have changed it to inInlineTagList(), and
added a test for this behavior.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list