shinyobjectz
aef305429a
#18: what an element paints at an offset of its own is placed in its own axes, so it turns with a rotated ancestor. blitz-paint added background-position, a background's tiles (image and gradient), box-shadow offsets (outer and inset), text-shadow offsets, the scroll offset, an inline SVG's and a custom widget's content-box origin after the element's transform (then_translate), in the page's axes; they now go before it (pre_translate), as an <img>'s already did. One image split across stacked divs by background-position stopped lining up under a -4deg parent, and an inset shadow's band came out uneven. The inset shadow's offset also takes the page's scale now, as the outer one's does. bench/rotated-paint/check.sh draws the same picture twice under -4deg (three background slices of one image and of one gradient, and a box shadow, against one div each and a box behind): 7,811 pixels differ by more than 10% on the raea before this, 37 after (the slices' antialiased seams); it passes at 200. Eight unrotated parity cases (background-image, background-shorthand, gradient-tiles, shadow, shadow-forms, overflow-scroll, repeating-gradient, conic-gradient) are pixel-identical before and after.
(closes #18)
2026-11-07 16:22:49 -08:00