[webkit-reviews] review denied: [Bug 75930] Reimplement DETAILS and SUMMARY using selector query. : [Attachment 125250] Patch
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Feb 2 21:12:55 PST 2012
MORITA Hajime <morrita at google.com> has denied Shinya Kawanaka
<shinyak at chromium.org>'s request for review:
Bug 75930: Reimplement DETAILS and SUMMARY using selector query.
https://bugs.webkit.org/show_bug.cgi?id=75930
Attachment 125250: Patch
https://bugs.webkit.org/attachment.cgi?id=125250&action=review
------- Additional Comments from MORITA Hajime <morrita at google.com>
View in context: https://bugs.webkit.org/attachment.cgi?id=125250&action=review
Looks almost fine. Let us pick some nits.
> Source/WebCore/ChangeLog:9
> + We don't need to recreate DOM even if SUMMARY is removed or added
from/into DETAILS.
"removed from added into"
> Source/WebCore/html/HTMLDetailsElement.cpp:83
> + ExceptionCode ec = 0;
Could you use ASSERT_NO_EXCEPTION here?
> Source/WebCore/html/HTMLDetailsElement.cpp:127
> ExceptionCode ec = 0;
Could you get rid of |ec| using ASSERT_NO_EXCEPTION?
> Source/WebCore/html/HTMLDetailsElement.cpp:139
> + m_mainSummary = findMainSummaryFor(this);
It looks we are now able to get rid of m_mainSummary at all. Could you
investigate it?
More information about the webkit-reviews
mailing list