[bug] Parent border painted under full-width children (overflow:hidden frame) #19
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Expected: A frame with
border:1px solid; border-radius:14px; overflow:hiddenshows its border on all sides, like CSS (border sits outside the content box).Actual: Children with
align-self:stretchand a background fill the whole box and cover the parent's side and bottom borders; only the edges with no child fill stay visible.Repro: write_html
<div style="display:flex;flex-direction:column;border:1px solid #ccc;border-radius:14px;overflow:hidden;width:300px"><div style="align-self:stretch;height:40px;background:#eee"></div><div style="align-self:stretch;height:40px;background:#fff"></div></div>then get_screenshot: left/right/bottom borders hidden.Workaround:
padding:1pxon the parent, which lint then flags as off the 4px grid.Impact: Every bordered table/card with filled rows looks open-ended.
Filed from PaperCraft 0.7.2 (macos).