Consider the following testcase:
<div style="white-space:-moz-pre-wrap; font-size:200px;"><span
style="background:yellow;">Hello Kitty</span></div>

When the line breaks, how should the space be treated? Should it be
displayed in yellow at the end of the line? Or should it collapse away
to nothing?

Right now on trunk it is displayed --- until you make the window
narrow enough that the space overflows on the right, then it
disappears. This seems clearly wrong.

Consider also the variant with two spaces. Currently they are both
displayed, and then both disappear.

I kinda lean towards always displaying the spaces, just on the grounds
that preformatted spaces should always be displayed.

Rob

_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to