[Webkit-unassigned] [Bug 82034] New: [Forms] Move numeric related methods in HTMLInputElement class to another place

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 23 01:34:38 PDT 2012


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

           Summary: [Forms] Move numeric related methods in
                    HTMLInputElement class to another place
           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


For ease of maintenance and reduce dependency, we should move following numeric value related methods to another place for number, range, date, and local datetime  input type:
 * rangeUnderflow
 * rangeOverflow
 * minimum
 * maximum
 * getAllowedValueStep
 * stepMismatch
 * minimumString
 * maximumString
 * stepBBaseString
 * stepString
 * stepUp - should call m_inputType->stepUp
 * stepDown - should call m_inputType->stepUp
 * isSteppable - should be removed

This list is based on the HTML5 specification[1] having max/min/step content attributes and valuesAsDate/valueAsNumber/stepDown/stepUp methods, may not be exhaustive and contain extra methods.

[1] http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#the-input-element

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