CL 8889473: Keep background-repeat: space tiles at fractional zoom [chromium/src : main]

0 views
Skip to first unread message

Helmut Januschka (Gerrit)

unread,
1:30 PM (1 hour ago) 1:30 PM
to Chris Harrelson, Chromium LUCI CQ, chromium...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, mschillaci...@google.com
Attention needed from Chris Harrelson

Helmut Januschka added 1 comment on change 8889473

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Helmut Januschka . resolved

hi @chri...@chromium.org, PTAL! thanks in advance.

tl;dr: at 110% zoom `background-repeat: space` drops a row/column because tile counting divides the device-pixel-snapped area by the zoom-scaled (fractional) tile size, so `3 * 35.1875 > 105` floors to 2. Counting against the unsnapped area and clamping the remainder to >= 0 keeps the grid intact.


firefox behaves same, as chromium with this patch, webkit also has pre-CL bug (i am filing bug there too)
sampler: https://static.januschka.com/i-589817018/

Open in Gerrit

Related details

Attention is currently required from:
  • Chris Harrelson
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I88750040158c5ec5aa591fd69b3f99322591e393
Gerrit-Change-Number: 8889473
Gerrit-PatchSet: 2
Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
Gerrit-Reviewer: Chris Harrelson <chri...@chromium.org>
Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
Gerrit-Attention: Chris Harrelson <chri...@chromium.org>
Gerrit-Comment-Date: Sun, 06 Dec 2026 18:30:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages