Commit 6c3030b2 authored by ddkilzer's avatar ddkilzer
Browse files

LayoutTests:

        Reviewed by Darin.

        - http://bugzilla.opendarwin.org/show_bug.cgi?id=9797
          Make description() in fast/js/resources/js-test-pre.js work with MSIE 6

        * fast/js/resources/js-test-pre.js: Change description() to work with MSIE 6.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 494ede16
2006-07-09 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Darin.
- http://bugzilla.opendarwin.org/show_bug.cgi?id=9797
Make description() in fast/js/resources/js-test-pre.js work with MSIE 6
* fast/js/resources/js-test-pre.js: Change description() to work with MSIE 6.
2006-07-08 Timothy Hatcher <timothy@apple.com>
 
Reviewed by Maciej.
......@@ -3,7 +3,14 @@ if (window.layoutTestController)
function description(msg)
{
document.getElementById("description").innerHTML = '<p>' + msg + '</p><p>On success, you will see a series of "<span class="pass">PASS</span>" messages, followed by "<span class="pass">TEST COMPLETE</span>".</p>';
// For MSIE 6 compatibility
var span = document.createElement("span");
span.innerHTML = '<p>' + msg + '</p><p>On success, you will see a series of "<span class="pass">PASS</span>" messages, followed by "<span class="pass">TEST COMPLETE</span>".</p>';
var description = document.getElementById("description");
if (description.firstChild)
description.replaceChild(span, description.firstChild);
else
description.appendChild(span);
}
function debug(msg)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment