Bug 188836
Summary: | overflow: hidden on fieldset can hide the legend | ||
---|---|---|---|
Product: | WebKit | Reporter: | Simon Pieters (:zcorpan) <zcorpan> |
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
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 |
Simon Pieters (:zcorpan)
See http://software.hixie.ch/utilities/js/live-dom-viewer/saved/6137
<!DOCTYPE html>
<title>fieldset and overflow</title>
<style>
fieldset { margin:0; padding: 0; overflow: hidden; border: none; border-top: 1em solid transparent; }
legend { padding: 0; }
</style>
<p>It should say PASS below.</p>
<fieldset>
<legend>PASS</legend>
</fieldset>
(Changing the border thickness to 0.5em clips half of the legend.)
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Simon Pieters (:zcorpan)
https://github.com/web-platform-tests/wpt/pull/12619
Sam Sneddon [:gsnedders]
We seem to pass this now: https://wpt.fyi/results/html/rendering/non-replaced-elements/the-fieldset-and-legend-elements/fieldset-overflow-hidden.html?label=master&label=experimental&aligned