Bug 188836 - overflow: hidden on fieldset can hide the legend
Summary: overflow: hidden on fieldset can hide the legend
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: FromImplementor
Depends on:
Blocks: 188643
  Show dependency treegraph
Reported: 2018-08-22 04:45 PDT by Simon Pieters (:zcorpan)
Modified: 2022-06-21 14:53 PDT (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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