[Webkit-unassigned] [Bug 265098] New: Elements should avoid floats even if they are as high as LayoutUnit::max()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 18 17:22:56 PST 2023


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

            Bug ID: 265098
           Summary: Elements should avoid floats even if they are as high
                    as LayoutUnit::max()
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Hi Team,

While going through Blink's commit, I came across another failing test but I don't know whether it is applicable as much since it seems to be edge case:

Blink Commit: https://chromium.googlesource.com/chromium/blink/+/af76e7423374640fa2aa5e5c550709e9a7fd39c4

Test Case: https://jsfiddle.net/01r2ez5f/show

^ Chrome Canary 121 - Passes & Firefox show below error:

Elements should avoid floats even if they are as high as LayoutUnit::max()
a

FAIL:
Expected 33554431 for offsetTop, but got 27. 

<table data-offset-y="33554431" id="table">
<tbody><tr><td>a</td>
</tr></tbody></table>

While WebKit ToT running via 'run-webkit-tests' have following output:


Elements should avoid floats even if they are as high as LayoutUnit::max()
a
FAIL:
Expected 33554432 for offsetTop, but got 33554431.

<table data-offset-y="33554432" id="table">
<tbody><tr><td>a</td>
</tr></tbody></table>

__

Since it is failing with 1 px, I just wanted to raise to get input whether it is worth fixing or we can just ignore.

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/20231119/401ce43b/attachment.htm>


More information about the webkit-unassigned mailing list