Changeset 139038 in webkit
- Timestamp:
- Jan 7, 2013 11:49:21 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r139036 r139038 1 2013-01-07 Kent Tamura <tkent@chromium.org> 2 3 REGRESSION(r137406): Text inside an empty optgroup prevents subsequent options from appearing 4 https://bugs.webkit.org/show_bug.cgi?id=106298 5 6 Reviewed by Ryosuke Niwa. 7 8 * fast/forms/select/select-empty-optgroup-expected.html: Added. 9 * fast/forms/select/select-empty-optgroup.html: Added. 10 1 11 2013-01-07 Kunihiko Sakamoto <ksakamoto@chromium.org> 2 12 -
trunk/Source/WebCore/ChangeLog
r139037 r139038 1 2013-01-07 Kent Tamura <tkent@chromium.org> 2 3 REGRESSION(r137406): Text inside an empty optgroup prevents subsequent options from appearing 4 https://bugs.webkit.org/show_bug.cgi?id=106298 5 6 Reviewed by Ryosuke Niwa. 7 8 Test: fast/forms/select/select-empty-optgroup.html 9 10 * html/HTMLSelectElement.cpp: 11 (WebCore::HTMLSelectElement::recalcListItems): 12 Traverse to the first element within the 'current' only if it exists. 13 1 14 2013-01-07 Steve Block <steveblock@chromium.org> 2 15 -
trunk/Source/WebCore/html/HTMLSelectElement.cpp
r138374 r139038 748 748 if (current->hasTagName(optgroupTag)) { 749 749 m_listItems.append(current); 750 if ( current->firstChild()) {751 currentElement = ElementTraversal::firstWithin(current);750 if (Element* nextElement = ElementTraversal::firstWithin(current)) { 751 currentElement = nextElement; 752 752 continue; 753 753 }
Note: See TracChangeset
for help on using the changeset viewer.