blob: 469f87f4aef1a76bb05c417ffe2c2f7183f178d2 [file] [log] [blame]
<html>
<head>
<script>
function test()
{
if (window.layoutTestController)
layoutTestController.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>