[webkit-reviews] review canceled: [Bug 31716] Cache the validation result of a form control : [Attachment 44211] Proposed patch (rev.2)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 3 19:58:59 PST 2009


TAMURA, Kent <tkent at chromium.org> has canceled TAMURA, Kent
<tkent at chromium.org>'s request for review:
Bug 31716: Cache the validation result of a form control
https://bugs.webkit.org/show_bug.cgi?id=31716

Attachment 44211: Proposed patch (rev.2)
https://bugs.webkit.org/attachment.cgi?id=44211&action=review

------- Additional Comments from TAMURA, Kent <tkent at chromium.org>
(In reply to comment #10)
> But aren't you also replacing some setNeedsStyleRecalc calls in code paths
that
> previously had them for other reasons?

Ah, yes.  min/max attributes for type=range require setNeedsStyleRecalc()
regardless validity status. Thank you for pointing out.

I split and renamed the method:
  updateValidityAndStyle() - should be called when validity status can be
changed and the appearance should be changed regardless the validity
  updateValidityAndStyleIfNeeded() - should be called when validity status can
be changed.  setNeedsStyleRecalc() is called only if the validity status is
changed.


More information about the webkit-reviews mailing list