[Webkit-unassigned] [Bug 89736] New: [REGRESSION:117738][Forms] validationMessage IDL attribute should not have range overflow message if value isn't range overflow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 21 22:30:09 PDT 2012


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

           Summary: [REGRESSION:117738][Forms] validationMessage IDL
                    attribute should not have range overflow message if
                    value isn't range overflow
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://jsfiddle.net/5rGQX/
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yosin at chromium.org


= Step to Re-Produce =
1. Visit http://jsfiddle.net/5rGQX/
2. Click "Run" on top of the page
3. See output
  * Expected result: only "1"
  * Actual result: "1 1 Value must be less than or equal to 3."

Note: Imported from http://crbugs.com/134096

This is regression of r117738 in WebCore/html/InputType.cpp

String InputType::validationMessage() 
{
...
   if (doubleValue < stepRange.maximum()) // ** BUG **
       return validationMessageRangeOverflowText(serialize(stepRange.maximum())); 
...
}

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