Bug 208101 - SVG background image with a non-integer width and background-position: right displayed wrong
Summary: SVG background image with a non-integer width and background-position: right ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac macOS 10.15
: P2 Normal
Assignee: Nobody
URL:
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2020-02-22 23:04 PST by Alexander Presber
Modified: 2020-02-27 15:36 PST (History)
5 users (show)

See Also:


Attachments
Same CodePen rendered in Firefox (50.60 KB, image/png)
2020-02-22 23:04 PST, Alexander Presber
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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>