Changeset 25668 in webkit
- Timestamp:
- Sep 20, 2007, 1:52:09 AM (18 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r25645 r25668 1 2007-09-20 Rob Buis <buis@kde.org> 2 3 Reviewed by Mitz. 4 5 Testcase for: 6 http://bugs.webkit.org/show_bug.cgi?id=15235 7 Options can not be removed from a Select element with OptGroup's using JavaScript 8 9 * fast/forms/option-in-optgroup-removal-expected.txt: Added. 10 * fast/forms/option-in-optgroup-removal.html: Added. 11 1 12 2007-09-19 Kevin McCullough <kmccullough@apple.com> 2 13 -
trunk/WebCore/ChangeLog
r25661 r25668 1 2007-09-20 Rob Buis <buis@kde.org> 2 3 Reviewed by Mitz. 4 5 http://bugs.webkit.org/show_bug.cgi?id=15235 6 Options can not be removed from a Select element with OptGroup's using JavaScript 7 8 Remove HTMLOptionElement children against the proper parent node. 9 10 * html/HTMLSelectElement.cpp: 11 (WebCore::HTMLSelectElement::remove): 12 1 13 2007-09-19 John Sullivan <sullivan@apple.com> 2 14 -
trunk/WebCore/html/HTMLSelectElement.cpp
r25085 r25668 237 237 return; // ### what should we do ? remove the last item? 238 238 239 removeChild(items[listIndex], ec); 239 Element *item = items[listIndex]; 240 ASSERT(item->parentNode()); 241 item->parentNode()->removeChild(item, ec); 240 242 if (!ec) 241 243 setRecalcListItems();
Note:
See TracChangeset
for help on using the changeset viewer.