Closed Bug 280018 Opened 21 years ago Closed 21 years ago

when using <a id="abc" /> the following text gets css-attributes of a link

Categories

(Core :: DOM: HTML Parser, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 225323

People

(Reporter: mozilla, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041124 Firefox/1.0 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041124 Firefox/1.0 When using the short form <a id="abc" /> the following text gets the css attributes of the link. When using the longer form <a id="abc"></a> does not trigger this misbehaviour. See the URL for a complete example. Tested on Linux and Windows, both behave exactly the same. Not sure if this is a parser or css problem. Reproducible: Always Steps to Reproduce: 1. open the example page for a full xhtml example Actual Results: after the short form of <a> the following text gets wrong attributes Expected Results: it should have used the right css attributes
Send your XHTML with the correct Content-Type and this will work. *** This bug has been marked as a duplicate of 225323 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.