[Webkit-unassigned] [Bug 249771] New: Fix Decimal.floor() + Decimal.ceiling() for many non-integral values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 22 06:32:35 PST 2022


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

            Bug ID: 249771
           Summary: Fix Decimal.floor() + Decimal.ceiling() for many
                    non-integral values
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: cdumez at apple.com, wenson_hsieh at apple.com

Hi Team,

While going through Blink's commit, I came across another failing test case:

Test Case - <input type="number" min="1.3" value="1.51" step="0.2"/>

^ Try to do step-up in Safari, it will first go from 1.51 to 1.5 and then 1.7 while Chrome Canary 111 and Firefox Nightly 110 works perfectly fine.

Blink Commit - https://src.chromium.org/viewvc/blink?view=revision&revision=162197

WebKit GitHub Source - https://github.com/WebKit/WebKit/blob/dced9d40e0ba387b976739efb45a6513be9bcd4a/Source/WebCore/platform/Decimal.cpp#L622

Just wanted to raise it so we can fix it later.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221222/70b90188/attachment.htm>


More information about the webkit-unassigned mailing list