Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Fx3 padding problem in divs with overflow: auto or scroll

8 views
Skip to first unread message

Foteos Macrides

unread,
Jun 22, 2008, 11:45:25 AM6/22/08
to
Fx3 (the final release and the most recent Gran Paradiso and
Minefield builds) does not add right and bottom padding for wide
and/or tall content in divs with overflow:auto or overflow:scroll.
Fx2 does not have his problem. See:

http://www.macridesweb.com/oltest/BugFx_overflow_padding.html

for a simple test case.

That test case just uses long lines with no spaces for the wide and tall
content, but this normally comes up in AJAX implementations for
which the content is markup such as tables with specified widths
and/or rendered heights which exceed the specified dimensions for
the receiving div. The absence of right and bottom padding in Fx3
versus earlier versions and other browsers looks awful.

I didn't find an existing bug for this problem, but if there is one, please
post its number. Otherwise, are Product: "Core" and Component:
"Layout: Block and Inline" where it should be filed? Also, since Fx2
does add the right and bottom padding, can this be marked as a
regression to be handled (hopefully quickly) in the Gran Paradiso
branch?

Also note in that test case, which has an example with overflow: visible;
(the normal default) at the bottom, that there is neither padding nor the
body's margin visible at the bottom or on the right (use a narrow widow
to check the latter). My understanding of the CSS specs is that the
padding and margin should be "collapsed" to yield the larger of the two
for actual use. That's how IE7 handles it (adds the larger of the two to
the right and bottom beyond the visible overflow). However, neither
Fx3 -- nor Fx2 -- do in that test case, so perhaps this is a different bug
than the one described above (Or do I misunderstand the CSS specs?).

Fote
--


Mats Palmgren

unread,
Jun 22, 2008, 1:36:29 PM6/22/08
to

Martijn

unread,
Jun 22, 2008, 1:37:35 PM6/22/08
to Foteos Macrides, dev-apps...@lists.mozilla.org
0 new messages