WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
228143
AX: CSS outline clipping when elements are resized in CSS
https://bugs.webkit.org/show_bug.cgi?id=228143
Summary
AX: CSS outline clipping when elements are resized in CSS
Dave House
Reported
2021-07-21 02:27:18 PDT
When an element such as a link has an outline defined in CSS (for example as a :focus state) and that element has also been resized through bolding or increasing the font size the outline seems to clip based on the original font size. If you zoom the browser 2-3 times it triggers some kind of repaint and the outline appears. The only way I have managed to get an outline to render properly in Safari is to add `overflow: auto` to the element which seems to force the outline to render correctly. Simplified test case here:
https://codepen.io/iknowdavehouse/pen/wvdqdba
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-07-21 02:27:29 PDT
<
rdar://problem/80887280
>
Sam Sneddon [:gsnedders]
Comment 2
2021-07-23 04:35:52 PDT
Some layout/paint invalidation bug?
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