blob: 84bd632fe512022b4d95226a617b830c83e0c738 [file] [log] [blame]
<html>
<head>
<script>
function test()
{
if (window.testRunner)
testRunner.dumpAsText();
var markup = document.getElementById("specimen").outerHTML;
if (markup == '<a id="specimen" href="http://groups.yahoo.com/group/BATN/message/34500">http://groups.<wbr>yahoo.com/<wbr>group/BATN/<wbr>message/34500</a>')
result = "TEST PASSED: Markup was correct";
else
result = "TEST FAILED: Markup was " + markup;
document.getElementById("result").firstChild.data = result;
}
</script>
</head>
<body onload="test()">
<p>The following is a real-world example of use of the wbr element. This test checks that we parse it properly.</p>
<p id="result">TEST DID NOT RUN</p>
<a id="specimen" href="http://groups.yahoo.com/group/BATN/message/34500">http://groups.<wbr>yahoo.com/<wbr>group/BATN/<wbr>message/34500</a>
</body>
</html>