Closed Bug 114035 Opened 24 years ago Closed 24 years ago

No nested HREF allowed

Categories

(SeaMonkey :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: svb, Assigned: asa)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011012 BuildID: 2001101202 I am trying to cater for browsers that do not deal with OBJECTS correctly, by writing: <A NAME="label"><OBJECT DATA="file.html"> Warning: file could not be opened. Instead, open the <A HREF="file.html">file</A> directly. </OBJECT></A> as suggested by the W3C documentation. This should embed the file, otherwise give the warning. Instead, the file will be opened and displayed (in a very small window), with the words "file directly" adjacent. Reproducible: Always Steps to Reproduce: 1.use the URL above. "http://www.doc.ic.ac.uk/~svb/test.html" 2. 3. Actual Results: The file will be opened and displayed (in a very small window), with the words "file directly" adjacent. Expected Results: This should embed the file, otherwise give the warning. Running Netscape 4.77, the message "Warning: file could not be opened. Instead, open the file directly." appears nicely. <A NAME="label"><OBJECT DATA="file.html"> Warning: file could not be opened. Instead, open the <A HREF="file.html">file</A> directly. </OBJECT></A>
Nested <a> tags are prohibited by the HTML specification. Close the <a name> before starting the <object>....
Boris: So... -> INVALID?
Reporter: It would be interesting if you could give us a pointer to the W3C document that suggests this horrible construct. I know that Sun suggests something similar for their Java plugin, but W3C ???
Use <span name="label"> instead. INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.