WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
256003
Clipped element edges in certain scenarios
https://bugs.webkit.org/show_bug.cgi?id=256003
Summary
Clipped element edges in certain scenarios
samuel
Reported
2023-04-26 12:12:46 PDT
Created
attachment 466106
[details]
HTML file demonstrating the issue Elements are rendered incorrectly under some obscure scenarios, the bottom and right edges get clipped. This is most clearly seen on elements with rounded corners because it is most visible where the rounded edge is cut off. As demonstrated by the attached HTML file, I have found that several criteria need to be fulfilled: * The element is inside a container that overflows. * Part of the overflow needs to be caused by a resizable sibling element (like a textarea) which also overflows in itself. * The element is positioned on half pixels (by margin, padding or whatever), in practice, this happened when using a padding of 0.5em with a font-size of 15px. * The element has some type of linear-gradient background-image.
Attachments
HTML file demonstrating the issue
(745 bytes, text/html)
2023-04-26 12:12 PDT
,
samuel
no flags
Details
Screenshot of the issue in the test-HTML from Safari 16
(1.02 MB, image/png)
2023-04-26 12:13 PDT
,
samuel
no flags
Details
Screenshot of the issue in ThinLinc Web Administration
(745.26 KB, image/png)
2023-04-26 12:15 PDT
,
samuel
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
samuel
Comment 1
2023-04-26 12:13:30 PDT
Created
attachment 466107
[details]
Screenshot of the issue in the test-HTML from Safari 16
samuel
Comment 2
2023-04-26 12:15:03 PDT
Created
attachment 466108
[details]
Screenshot of the issue in ThinLinc Web Administration This is a screenshot demonstrating the issue in the "wild".
samuel
Comment 3
2023-04-26 12:16:06 PDT
In the latter screenshot, note the bug in the rendering of the toggle switch and the unchecked radio button.
samuel
Comment 4
2023-04-26 12:18:08 PDT
Note that the element also seems to need the property "position: relative" for the bug to occur. Removing that property or any of the 4 criteria from
comment 0
causes the rendering issue to disappear. Adding an outline also causes the issue to go away, a transparent one also does the trick.
Radar WebKit Bug Importer
Comment 5
2023-04-26 13:38:12 PDT
<
rdar://problem/108573001
>
samuel
Comment 6
2023-05-03 06:00:35 PDT
Note that he issue happens more often in windowed mode. It seems to also happen more on certain window sizes.
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