Since 140a3b84cc8fea6861ca70b8451d399de2149d3d (T28449) the headers have overflow: hidden:
h1, h2, h3, h4, h5, h6 { overflow: hidden }
This was added because of two reasons:
- The edit section buttons were on the right margin and they floated away when there are floating elements at the right side.
- The lines under h1 and h2 have always full width even when there is a floating object and the lines are visible though transparent floating objects.
The overflow: hidden has some disadvantages:
- Very large letters that overflows out of the box gets cut. See T37430.
- Long words that are wider than the space beside of a floating element get cut instead of putting under the floating element.
- The headers do not float around floating objects. The text is in a rectangle.
- It prohibits further development like T18691.
Edit section buttons are no floating elements anymore. This reason is gone.
Header border bottoms that are visible though transparent floating elements can still exist. Test case:
{| class="floatright" |- ! Header text !! Header text !! Header text |- | Example || Example || Example |- | Example || Example || Example |- | Example || Example || Example |} Text before the header. == Header == Text after the header.
Maybe there is an other solution to avoid the overlapping that do not have this disadvantages.