In response to blip #133897

dba_afish said:
trying to see if I can recreate the problems you've got.

I downloaded a WebKit-based browser, Dolphin Browser, so that I could compare Firefox (which I normally use), Chromium, and WebKit.

aaand... I'm not able to recreate any of the problems that you're experiencing, unfortunately.

I am, however, seeing an entirely different weird bug with the drop-shadow filter, so that's great. these were all the same settings (4 drop-shadows, offset diagonally by .33x.33px in each direction), zoomed in as far as the browsers would allow. both Chrome and Dolphin have a weird additional -.33px offset in the x and y directions for some strange reason. (text shadows and borders both render fine on all three.)

huh interesting

Responses

In response to blip #133898

SNPtheCat said:
huh interesting

okay, going back and double checking this now, I am seeing what appears to be it rounding down like what you described, but not to nearest whole pixel, but to the lowest adjacent half-pixel, a floor function (so .33px rounds to 0, .66px rounds to .5px, and -.33px rounds to -.5px).

that behavior would actually explain what I was seeing in my screenshots. the drop shadows are all offset slightly to the top left, because all of the values I used were floored, half to 0, half to -.5px.

(body[data-th-main="<theme>"] makes testing these little things across browsers much easier.)