Make test_bug417255.html use <div> instead of <p> because HTML5 parser closes <p> earlier than the test needs

This commit is contained in:
Henri Sivonen 2009-06-24 09:56:37 +03:00
parent c2f88d2327
commit ed38c9a3c6

View File

@ -15,20 +15,20 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=417255
<body> <body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=417255">Mozilla Bug 417255</a> <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=417255">Mozilla Bug 417255</a>
<p id="display" style="width:800px"></p> <div id="display" style="width:800px"></div>
<p><span id="s1" style="border:2px dotted red;"><span class="spacer" style="width:100px"></span> <div><span id="s1" style="border:2px dotted red;"><span class="spacer" style="width:100px"></span>
<div style="width:500px; height:100px; background:yellow;"></div> <div style="width:500px; height:100px; background:yellow;"></div>
<span class="spacer" style="width:200px"></span></span> <span class="spacer" style="width:200px"></span></span></div>
<p><span id="s2" style="border:2px dotted red;"><span class="spacer" style="width:100px"></span> <div><span id="s2" style="border:2px dotted red;"><span class="spacer" style="width:100px"></span>
<div style="width:150px; height:100px; background:yellow;"></div> <div style="width:150px; height:100px; background:yellow;"></div>
<span class="spacer" style="width:200px"></span></span> <span class="spacer" style="width:200px"></span></span></div>
<!-- test nested spans around the IB split --> <!-- test nested spans around the IB split -->
<p><span id="s3" style="border:2px dotted red;"><span><span class="spacer" style="width:100px"></span> <div><span id="s3" style="border:2px dotted red;"><span><span class="spacer" style="width:100px"></span>
<div style="width:500px; height:100px; background:yellow;"></div> <div style="width:500px; height:100px; background:yellow;"></div>
<span class="spacer" style="width:200px"></span></span></span> <span class="spacer" style="width:200px"></span></span></span></div>
<div id="content" style="display: none"> <div id="content" style="display: none">