Bug 200916

Summary: During resize there sometimes is a gap between the SVG and the embedding/containing element
Product: WebKit Reporter: Tobi Reif <tobi>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ahmad.saleem792, bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: Safari 12   
Hardware: Unspecified   
OS: All   

Tobi Reif
Reported Tuesday, August 20, 2019 10:30:48 AM UTC
Open https://tobireif.com/non_site_stuff/for_bug_report_grid_object_svg_gap/example_nested_grid.html in Safari (desktop and mobile). On load respectively during resize there sometimes is a gap (a white line) between an SVG and the embedding/containing element. One example: object-element width: 458.31px SVG width: only 458px (although the CSS requests width:100%) Please always ensure precision, so that there won't be any gaps in the design. I think that precision is feasible - I think that performance will be sufficient on modern hardware.
Attachments
Simon Fraser (smfr)
Comment 1 Tuesday, August 20, 2019 6:58:50 PM UTC
I see the white line when not resizing. I think this about pixel rounding, not "lag".
Tobi Reif
Comment 2 Wednesday, September 18, 2019 4:12:54 PM UTC
> I think this about pixel rounding I think so too. I hope the issue can get fixed :) Related bug reports: https://bugs.chromium.org/p/chromium/issues/detail?id=993760 https://bugzilla.mozilla.org/show_bug.cgi?id=1575174
Radar WebKit Bug Importer
Comment 3 Friday, September 20, 2019 12:47:59 PM UTC
Tobi Reif
Comment 4 Thursday, July 1, 2021 10:47:32 AM UTC
I hope the issue can get fixed.
Ahmad Saleem
Comment 5 Sunday, January 22, 2023 9:45:30 PM UTC
I am still able to reproduce this issue using test case from Comment 0 on WebKit Trunk, Safari Technology 161 and Safari 16.2 and it does show "whiteline" and on resize, it changes as well. It is reproducible on other browsers as well.
Ahmad Saleem
Comment 6 Thursday, June 22, 2023 12:01:32 AM UTC
(In reply to Ahmad Saleem from comment #5) > I am still able to reproduce this issue using test case from Comment 0 on > WebKit Trunk, Safari Technology 161 and Safari 16.2 and it does show > "whiteline" and on resize, it changes as well. > > It is reproducible on other browsers as well. Just to add this also exist in LBSE layer (tested using WebKit ToT (265374@main)).
Tobi Reif
Comment 7 Friday, November 8, 2024 10:41:04 AM UTC
I hope that this issue can get fixed.
Note You need to log in before you can comment on or make changes to this bug.