[Webkit-unassigned] [Bug 222603] New: 1-pixel diff when rendering inline blocks with heights with decimals

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 2 09:42:29 PST 2021


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

            Bug ID: 222603
           Summary: 1-pixel diff when rendering inline blocks with heights
                    with decimals
           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: svillar at igalia.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 421951

  --> https://bugs.webkit.org/attachment.cgi?id=421951&action=review

Test case

Check the attached example. There is a 1 pixel difference between the second and the other two examples just between the bottom red and green borders. There is no difference in the rendering in both Firefox and Chromium. They render the three "columns" as WebKit renders the second one, i.e, with 1 pixel between the two borders. 

I'm almost sure it's a rounding issue due to using sizes with decimals, because it does not happen when you use natural numbers instead of real ones.

-- 
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/20210302/3b548a14/attachment.htm>


More information about the webkit-unassigned mailing list