[EMAIL PROTECTED] wrote:
I'm assuming that white-space isn't treated correctly in 1.7.x and has
now been rectified.

Actually, sizing of absolutely positioned boxes isn't treated correctly in 1.7.x and has been rectified. A minimal testcase based on that page is:


<body>
  <div style="float: left; position: relative">
    <div style="position: absolute;">
      This should not wrap
    </div>
  </div>
</body>

Now the float has no in-flow kids, so its shrink-wrap width is 0. Then the shrink-wrap width of the absolutely positioned block inside is, per CSS spec:

  min(max(0, longest word), total length of words)

which comes out to "longest word".  And then we have to wrap.

-Boris
_______________________________________________
mozilla-layout mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-layout

Reply via email to