|Summary:||AX: CSS outline clipping when elements are resized in CSS|
|Product:||WebKit||Reporter:||Dave House <davehouse>|
|Component:||Layout and Rendering||Assignee:||Nobody <webkit-unassigned>|
|Severity:||Normal||CC:||bfulgham, simon.fraser, webkit-bug-importer, zalan|
Description Dave House 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
Comment 2 Sam Sneddon [:gsnedders] 2021-07-23 04:35:52 PDT
Some layout/paint invalidation bug?