[Webkit-unassigned] [Bug 244179] New: Background-size incorrectly gets rounded to device pixel

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 21 20:22:04 PDT 2022


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

            Bug ID: 244179
           Summary: Background-size incorrectly gets rounded to device
                    pixel
           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: xidorn-webkit at upsuper.org
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 461783

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

testcase

See the attached testcase.

Expected result:

The container is 98x98, and background-size is 12.25x12.25, so it should have just 8x8 dots in the container, and since its position is center, it should have half dots on all edges. Seemingly it's rounding to 12.5px for me.

Actual result:

The dots on right and bottom are much smaller than half.

Both Firefox and Chrome have the right result.

-- 
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/20220822/635ee26b/attachment.htm>


More information about the webkit-unassigned mailing list