Closed
Bug 176115
Opened 23 years ago
Closed 23 years ago
document.writeln, document.cookie fail in XHTML11
Categories
(Core :: DOM: Events, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 111514
People
(Reporter: nikd, Assigned: joki)
Details
Attachments
(1 file)
|
621 bytes,
application/xhtml+xml
|
Details |
document.write and document.cookie (possibly other methods as well) do not work
in files served as application/xhtml+xml. I can't find any information about
obsoleting these methods in DOM2 HTML (which is targeted at XHTML 1.0 and thus
should work fine with XHTML 1.1); they are listed in the HTMLDocument section.
The JS Console says there are no such functions.
| Reporter | ||
Comment 1•23 years ago
|
||
This file's javascript works in a text/html framework, but not in
application/xhtml+xml.
Comment 2•23 years ago
|
||
That's because we don't even create an HTMLDocument for application/xhtml+xml.
We create a normal Document.
*** This bug has been marked as a duplicate of 111514 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•