| 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"; |
| result = "TEST FAILED: Markup was " + markup; |
| document.getElementById("result").firstChild.data = result; |
| <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> |