Closed Bug 261547 Opened 21 years ago Closed 21 years ago

non-enclosed text underlined on hover with shortform a-tags

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: md2perpe, Assigned: bugzilla)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10 The example web page (http://snow.nl/dist/xhtmlc/ch13s07.html) contains tags of the form <a id="id2728833" class="indexterm"/>. Though these tags are closed, the text segments between them get underlined when hovering on them. Reproducible: Always Steps to Reproduce: 1. 2. 3. Expected Results: The text should not have been underlined.
That page is served as text/html, so the page is parsed as HTML not XML. Since it is HTML, the tags are not closed because you can't use that closing syntax on that tag.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
So Gecko doesn't care about declarations like <?xml version="1.0" encoding="ISO-8859-1"?> <html xmlns="http://www.w3.org/1999/xhtml"> ? Is the only thing that cares what MIME type it is served as?
You need to log in before you can comment on or make changes to this bug.