Bug 188836

Summary: overflow: hidden on fieldset can hide the legend
Product: WebKit Reporter: Simon Pieters (:zcorpan) <zcorpan>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Severity: Normal CC: bfulgham, simon.fraser, zalan
Priority: P2 Keywords: FromImplementor
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 188643    

Description Simon Pieters (:zcorpan) 2018-08-22 04:45:45 PDT
See http://software.hixie.ch/utilities/js/live-dom-viewer/saved/6137

<!DOCTYPE html>
<title>fieldset and overflow</title>
fieldset { margin:0; padding: 0; overflow: hidden; border: none; border-top: 1em solid transparent; }
legend { padding: 0; }
<p>It should say PASS below.</p>

(Changing the border thickness to 0.5em clips half of the legend.)
Comment 1 Simon Pieters (:zcorpan) 2018-08-22 04:55:28 PDT