Closed
Bug 224310
Opened 22 years ago
Closed 22 years ago
<a name=""> recognised as anchor
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: mozilla, Assigned: bugzilla)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.6a) Gecko/20031029 Firebird/0.7+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.6a) Gecko/20031029 Firebird/0.7+
XHTML 1.1 does not include the name attribute for <a>; it is deprecated in
favour of id. (see http://www.w3.org/TR/xhtml11/changes.html#a_changes )
When an XHTML 1.1 page is rendered in standards-compliance mode, <a name="">
anchors are still recognised.
Reproducible: Always
Steps to Reproduce:
1. Visit http://texturizer.net/firebird/extensions/#ctc
Actual Results:
Firebird shows the page with the "anchor" at the top of the screen
Expected Results:
Firebird should show the top of the page
I've emailed David Tenser to point out his (incorrect) use of name=, so the page
may soon use id= instead.
Comment 1•22 years ago
|
||
The page is being served as text/html, which means it goes through the regular
HTML parser, which of course accepts "name."
The page is being served invalidly is the heart of the problem. XHTML 1.1
should only be served as application/xhtml+xml.
->Invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•