Invalid Port Number in href Attribute Breaks DOM

This test case relates to IE 7.0.6000.16386 on Windows Vista Ultimate RTM.

When an href attribute contains an invalid port number, it can not be read via the DOM.

This is an example of a link that exhibits this behaviour:

    <a id="link" href="http://host:xyz/">http://host:xyz/</a>

There is a broken test case and a working test case.

The working test case correctly shows an alert window containing the href attrbiute of the anchor.