3 <title>Pre-Wrap Test Page</title>
4 <script type="text/javascript">
7 var t = document.getElementById('t1').childNodes[0];
8 var u = document.getElementById('t2').childNodes[0];
9 window.getSelection().setBaseAndExtent(u, 7, t, 15);
13 <body onload="test()">
15 This test checks for a regression against
16 <i><a href="https://bugs.webkit.org/show_bug.cgi?id=5619">http://bugzilla.opendarwin.org/show_bug.cgi?id=5619</a>
17 CSS2: pre-wrap has overflow/selection problems</i>.
20 Both boxes should not have scroll bars. The selection should
21 not spill out of the blue box to the right of “text”.
24 <pre id="t2" wrap style="overflow:auto; border:4px solid brown; width:100px">
30 <pre id="t1" wrap style="border:4px solid blue; width:100px">