Marker box erratum

Marker box erratum
---------------
12.6.1 states:
If the principal box contains no text, the top outer edge of the marker
box will be aligned with the top outer edge of the principal box. For
the :after pseudo-element, the baseline of text in the marker box will
be vertically aligned with the baseline of text in the last line of
content in the principal box. If the principal box contains no text, the
bottom outer edge of the marker box will be aligned with the bottom
outer edge of the principal box.

This doesn't seem correct. This states that the marker box should be
aligned with the top of the margin, which would mean:

1. ---------- Margin edge

  +--------+ Border 
  |        |
  |        | 
  +--------+

and the content of the element is above its own border! I think that it
would be correct to change that to 'top content edge'.

Whereas if the element had had textual content, the rendering would be:

  ---------- Margin edge

  +--------+ Border 
1.|        |
  |        | 
  +--------+

In addition, on a related subject, I am having major difficulties
deciding where the 'margin edge' or 'outer edge' of an element is. Given
that the top border edge is the top of the top border, therefore the top
margin edge is the top of the top margin. Since vertical margins
collapse, the top margin edge is therefore usually the bottom border
edge of the previous element - I don't think top or bottom margin edges
make much sense.

----------------------------------------
Please visit http://www.richinstyle.com
Featuring:  CSS bug guides (more than 1000 CSS bugs) CSS Masterclass
HTML 4 guide    CSS 1 guide    CSS 2 guide   Web-safe colorizer 
CSS bug table     More than 300 CSS test pages

Received on Thursday, 16 March 2000 10:10:16 UTC