[Webkit-unassigned] [Bug 79754] New: [Forms] Spin button sometimes ignores Indeterminate of m_upDownState

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 27 23:46:39 PST 2012


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

           Summary: [Forms] Spin button sometimes ignores Indeterminate of
                    m_upDownState
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yosin at chromium.org


SpinButton implementation contains code like below:
  input->stepUpFromRenderer(m_upDownState == Up ? 1 : -1);

Member variable m_upDownState is type of enum UpDownState which has three values, Indeterminate, Down, and Up.
Above code can pass -1 to input->setUpFromRenderer if m_upDownState is Down or Indeterminate. We should not call input->setUpFromRenderer if m_upDownState is Indeterminate.

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