Changeset 19011
- Timestamp:
- 01/21/07 09:19:03 (2 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 modified
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/dom/HTMLSelectElement/options-collection-detached-expected.txt (added)
-
LayoutTests/fast/dom/HTMLSelectElement/options-collection-detached.html (added)
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/html/HTMLSelectElement.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r19010 r19011 1 2007-01-21 Mitz Pettel <mitz@webkit.org> 2 3 Reviewed by Darin. 4 5 - test for http://bugs.webkit.org/show_bug.cgi?id=10472 6 REGRESSION: "add" method of <select> object does not put the <option> object in the correct position 7 8 * fast/dom/HTMLSelectElement/options-collection-detached-expected.txt: Added. 9 * fast/dom/HTMLSelectElement/options-collection-detached.html: Added. 10 1 11 2007-01-21 Mitz Pettel <mitz@webkit.org> 2 12 -
trunk/WebCore/ChangeLog
r19010 r19011 1 2007-01-21 Mitz Pettel <mitz@webkit.org> 2 3 Reviewed by Darin. 4 5 - fix http://bugs.webkit.org/show_bug.cgi?id=10472 6 REGRESSION: "add" method of <select> object does not put the <option> object in the correct position 7 8 Test: fast/dom/HTMLSelectElement/options-collection-detached.html 9 10 * html/HTMLSelectElement.cpp: 11 (WebCore::HTMLSelectElement::setRecalcListItems): Reset the options collection 12 info if the <select> is not in the document. For in-document <select>s this 13 happens anyway as a result of the DOM tree version increasing. 14 1 15 2007-01-21 Mitz Pettel <mitz@webkit.org> 2 16 -
trunk/WebCore/html/HTMLSelectElement.cpp
r18996 r19011 515 515 static_cast<RenderListBox*>(renderer())->setOptionsChanged(true); 516 516 } 517 if (!inDocument()) 518 m_collectionInfo.reset(); 517 519 setChanged(); 518 520 }