Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Issue 7792032: Merge 94045 - REGRESSION(r88115): Disabling a file upload control causes an endless busyloop. (Closed)

Created:
9 years, 3 months ago by tkent
Modified:
9 years, 3 months ago
Reviewers:
tkent
CC:
chromium-reviews
Base URL:
http://svn.webkit.org/repository/webkit/branches/chromium/835/
Visibility:
Public.

Description

Merge 94045 - REGRESSION(r88115): Disabling a file upload control causes an endless busyloop. https://bugs.webkit.org/show_bug.cgi?id=66659 Reviewed by Darin Adler. Source/WebCore: Test: fast/forms/file/disabling-file-busy-loop.html * rendering/RenderFileUploadControl.cpp: (WebCore::RenderFileUploadControl::updateFromElement): Don't call setDisabled() if the disabled status is not changed. setDisabled() causes styleRecalc(), and HTMLFormControlElement::styleRecalc() causes updateFromElement(). updateFromElement() should not call setDisabled() again. LayoutTests: * fast/forms/file/disabling-file-busy-loop-expected.txt: Added. * fast/forms/file/disabling-file-busy-loop.html: Added. TBR=tkent@chromium.org BUG=94710 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=94059

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M Source/WebCore/rendering/RenderFileUploadControl.cpp View 1 chunk +9 lines, -2 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
tkent
9 years, 3 months ago (2011-08-30 08:05:35 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698