Closed
Bug 13067
Opened 26 years ago
Closed 26 years ago
No html written for empty content
Categories
(Core :: DOM: Editor, defect, P3)
Tracking
()
VERIFIED
FIXED
M11
People
(Reporter: akkzilla, Assigned: mozeditor)
Details
Simon noticed this:
Run apprunner. Do New->Blank Page to bring up an empty editor window. Now save
this, or do Debug->Output HTML, and observe that nothing at all is written. We
should at least be writing something like
<html><head></head><body></body></html>, which represents the actual document
structure at that point.
The reason we're not writing anything is that at the beginning of
nsHTMLEditor::OutputToString(), the rules WillDoAction sets cancel to PR_TRUE.
Why are we checking the rules at all for output? Shouldn't we just write
whatever we have?
Comment 1•26 years ago
|
||
btw, we should also have <title></title> in the <head> :-)
| Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 2•26 years ago
|
||
steve fixed this
| Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → REOPENED
| Reporter | ||
Comment 3•26 years ago
|
||
Steve's fix left us outputting the editor's bogus node, which isn't right; it's
supposed to be invisible. Reopening.
| Assignee | ||
Updated•26 years ago
|
Status: REOPENED → ASSIGNED
Target Milestone: M11
| Assignee | ||
Comment 4•26 years ago
|
||
yeah - i'll fix this in my usual weekend checkin. I'll make it behave and
provide a debugging ifdef for doing the wrong thing, which is sometimes useful.
| Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 6•26 years ago
|
||
someone else fixed this already...
You need to log in
before you can comment on or make changes to this bug.
Description
•