Closed
Bug 1489908
Opened 7 years ago
Closed 7 years ago
body.outerHTML setter creates superfluous empty <head> nodes
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
INVALID
| Tracking | Status | |
|---|---|---|
| firefox64 | --- | affected |
People
(Reporter: myf, Unassigned)
Details
Attachments
(2 files)
Setting document.body.outerHTML has quite harmless but definitely unwanted side effect: creates extra <head></head> before body on each call. Try the testcase.
Observed in all (as far as memory serves) desktop versions of Firefox, including latest Nightly 20180909100234.
| Reporter | ||
Updated•7 years ago
|
Attachment #9007632 -
Attachment mime type: text/plain → text/html
| Reporter | ||
Comment 1•7 years ago
|
||
Updated•7 years ago
|
Flags: needinfo?(hsivonen)
Comment 2•7 years ago
|
||
Resolving as INVALID in the sense that the behavior is according to spec. (Chrome has the same behavior, FWIW.)
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(hsivonen)
Resolution: --- → INVALID
| Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•