Wrapping PREs

Prerequisites
Browsers that are subjected to this test should support the CSS box model and the HTML PRE element.

1. Smashing Through The Narrow Division

Below, the PRE should stick out of the green bordered DIV because its text is much longer than the DIV. It should not wrap!!! Nor should it wrap if printed, or at the viewport edge: it should only be one line, and no more! Ever!

I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. I should not wrap. 

Note. The DIV should NOT grow to contain the PRE! See the Horizontal Growth Test.

Submit Results

How does your browser fare on this test?


Up to the Evil Tests Page.

Bugzilla: Bug 2780 (fixed)

Last updated in January 1999.