Open Bug 841877 Opened 12 years ago Updated 2 years ago

<button> elements don't clip their contents (contents overflow)

Categories

(Core :: Layout: Form Controls, defect)

x86_64
Linux
defect

Tracking

()

People

(Reporter: Biesinger, Unassigned)

References

()

Details

Consider: https://bug-13443-attachments.webkit.org/attachment.cgi?id=14136

Both IE 9 and Webkit trunk clip the contents to the button; Opera 12.14 and Firefox trunk do not.

However, neither Opera, Firefox or Webkit clip relative positioned elements in the button (see also bug 491180 and attachment 389956 [details])


I'm not sure what the right thing here is, but maybe Gecko should also clip non-positioned children in a button?
Looks like we used to clip things here in Firefox 3.5, but stopped in Firefox 3.6.

I wonder whether that was a purposeful change or just an accident..
Sounds like a question for www-style.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.