[Webkit-unassigned] [Bug 62840] Optimize HTMLInputElement::updateCheckedRadioButtons

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 11 04:51:03 PDT 2011


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


zeng huiqing <huiqing.zeng at intel.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #100267|                            |review?
               Flag|                            |




--- Comment #4 from zeng huiqing <huiqing.zeng at intel.com>  2011-07-11 04:51:03 PST ---
Created an attachment (id=100267)
 --> (https://bugs.webkit.org/attachment.cgi?id=100267&action=review)
fix the checkbox issue & improve updateCheckedRadioButtons()

I have added an attachment to fix the bug:
1)in function HTMLInputElement::setChecked(...)
add "if(type()!=(InputTypeNames::checkbox()))' to avoid the unnecessary update for checkbox".

2)in function HTMLInputElement::updateCheckedRadioButtons()
replace traversing document()->body() with Document::m_formElementsWithState to improve the performance.

-- 
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