[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 131366] Padding-bottom and padding-top not applied to inline
From: Germain Garand <germain () ebooksfrance ! com>
Date: 2006-07-31 21:30:35
Message-ID: 20060731213035.10773.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.kde.org/show_bug.cgi?id=131366
------- Additional Comments From germain ebooksfrance com 2006-07-31 23:30 -------
re: #3/#4
mmh, after investigation the bug report looks valid to me. There's no provision in \
CSS against padding being applied to inline flow elements, so it definetly should be \
applied to the line boxes.
> The really silly thing here is that the padding of the DIV and that of SPAN
> is "collapsing".
It isn't silly if you consider it doesn't affect the line boxes' line-height, so \
doesn't add up to the line spacing.
This is clearly stated in 10.8.1 (emphasis is mine):
"Although margins, borders, *and padding* of non-replaced elements do not enter into \
the line box calculation, *they are still rendered around inline boxes*. This means \
that if the height specified by 'line-height' is less than the content height of \
contained boxes, backgrounds and colors of padding and borders may "bleed" into \
adjoining line boxes. User agents should render the boxes in document order. This \
will cause the borders on subsequent lines to paint over the borders and text of \
previous lines. "
Since it has no spacing effect it went mostly unnoticed, but it does look like an \
inline model screw up in khtml.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic