WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
151995
Overflowing SVG is sometimes clipped at tile boundaries
https://bugs.webkit.org/show_bug.cgi?id=151995
Summary
Overflowing SVG is sometimes clipped at tile boundaries
Simon Fraser (smfr)
Reported
2015-12-08 09:53:33 PST
Created
attachment 266901
[details]
Testcase Attached testcase shows a bug where overflowing SVG is clipped sometimes. The bug is that we treat the RenderSVGRoot as a layout boundary, but when it has overflow, we need to propagate layout to the containers, so that the inline boxes compute the correct overflow.
Attachments
Testcase
(547 bytes, text/html)
2015-12-08 09:53 PST
,
Simon Fraser (smfr)
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2019-01-08 11:40:45 PST
<
rdar://problem/47122527
>
Ahmad Saleem
Comment 2
2022-09-03 11:10:32 PDT
I am able to reproduce this bug in Safari 15.6.1 and Safari Technology Preview 152 using attached test css and when the green tile goes to bottom right corner, it clips and does not show full box immediately and sometime it shows and sometime clipped. All other browsers (Chrome Canary 107 and Firefox Nightly 106) work fine. Thanks!
Ahmad Saleem
Comment 3
2023-04-14 21:34:55 PDT
When I merge Blink's patch as part of
bug 199364
, this also get fixed. Tested locally. Last time, I did the PR here -
https://github.com/WebKit/WebKit/pull/9138
We can't merge Blink's patch (test cases) since they can be flaky.
Ahmad Saleem
Comment 4
2023-12-13 01:16:03 PST
@Karl - is it reproducible for you. It isn't reproducible to me anymore.
Karl Dubost
Comment 5
2023-12-13 03:26:38 PST
Ahmad, Simon, I have two different behaviors: Scenario A 1. Load the test case 2. stay on the window Result: The green box after moving is not clipped Scenario B 1. Load the test case 2. Go to the Finder Result: The green box after moving is clipped
Karl Dubost
Comment 6
2023-12-13 03:27:36 PST
but if in Scenario B if I click on the window the box gets unclipped again.
Karl Dubost
Comment 7
2023-12-13 03:29:01 PST
Firefox and Chrome never clips the green box.
Simon Fraser (smfr)
Comment 8
2023-12-13 12:42:24 PST
You need to put the Safari window into the background to see the bug. It still reproduces.
Simon Fraser (smfr)
Comment 9
2023-12-13 15:23:44 PST
Turn on layer borders in web inspector to see the tiling change in background windows.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug