Safari 1.0 PRE width bug

As noted in my blog, in certain cases Safari will miscalculate the width of a PRE element. I think I've found the trigger. If a nested container element is preceded by uncontained text and a blank line, and there are "too many" characters contained in the nested element, the PRE width will be too wide. In the examples below, the nested element is a SPAN whose content is the days-of-week line, as follows:
    <SPAN CLASS=dow> D  M  T  W  J  F  S</SPAN>

Example 1

        2003

 D  M  T  W  J  F  S

      September
    1  2  3  4  5  6
 7  8  9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
The blank line between '2003' and the nested element triggers the width bug.

Example 2

        2003

 D  M  TWJFS

      September
    1  2  3  4  5  6
 7  8  9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
The blank line between '2003' and the nested element triggers the width bug.

Here, the excess whitespace is reduced by reducing the number of characters contained by the nested element.


Example 3

        2003
 D  M  T  W  J  F  S

      September
    1  2  3  4  5  6
 7  8  9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
The blank line between '2003' and the nested element has been removed, so the bug is not triggered.

Example 4

        2003

 D  M  T  W  J  F  S

      September
    1  2  3  4  5  6
 7  8  9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
The blank line between '2003' and the nested element no longer triggers the width bug, because now the '2003' is itself contained by a nested element (in this case, another SPAN).