Bug 208101

Summary: SVG background image with a non-integer width and background-position: right displayed wrong
Product: WebKit Reporter: Alexander Presber <alexander>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, sabouhallawa, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Mac   
OS: macOS 10.15   
Attachments:
Description Flags
Same CodePen rendered in Firefox none

Description Alexander Presber 2020-02-22 23:04:10 PST
Created attachment 391480 [details]
Same CodePen rendered in Firefox

When defining a repeating background sag image with a float width (e.g. 31.234), positioning the background at 'top right' does not work correctly.
The background appears shifted.

Reduced test case:
https://codepen.io/MoMolog/pen/eYNBPNv

Also I am attaching a rendering of a recent firefox to illustrate the expected rendering.
Comment 1 Alexander Presber 2020-02-22 23:06:00 PST
Sorry, this should be "SVG image", not "sag image".
Comment 2 Radar WebKit Bug Importer 2020-02-27 15:36:59 PST
<rdar://problem/59865881>