Closed
Bug 40741
Opened 25 years ago
Closed 25 years ago
HTML file with no markup doesn't display
Categories
(Core :: DOM: HTML Parser, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: vidur, Assigned: harishd)
References
Details
(Keywords: testcase, Whiteboard: [nsbeta2+] [6/15] Fix in hand)
Attachments
(4 files)
19 bytes,
text/html
|
Details | |
135 bytes,
text/html
|
Details | |
5.08 KB,
patch
|
Details | Diff | Splinter Review | |
1.20 KB,
patch
|
Details | Diff | Splinter Review |
A file with a text/html mimetype but containing just plain text doesn't display
in Gecko. Expected behavior would be for the text to display in the default
font.
Comment 1•25 years ago
|
||
I'm seeing this also with 52608 winme. this a regression?
Keywords: testcase
Comment 2•25 years ago
|
||
Comment 3•25 years ago
|
||
Comment 4•25 years ago
|
||
Ack! this is the opposite to the problem Rick fixed very recently, in bug 40060,
where text/plain only displayed if it /did/ have HTML markup!
Actually, if a file is sent via HTTP with the content-type "text/html",
Mozilla has no option but to believe and honour that. The unknown content
type autodetection only comes into play if the content type is not specified.
The second attachment has five lines of alpha chars and whitespace;
rendered as HTML the line breaks should not be honoured. NN 4.7 does this right.
This problem will be rare except, perhaps, for webservers configured
to send files as text/html by default, with "README" files or the like,
but it does ammount to a loss of function, so upping severity to Major.
Severity: normal → major
Keywords: 4xp
Comment 5•25 years ago
|
||
Should have checked before clicking on [Submit], but this problem *was* present
in the 2000-05-22-08-M16 nightly binary on WinNT, so it can't be due to the
fix for 40060.
Sounds like a serious problem and has to be addressed for beta2. Nominating for
nsbeta2.
Note: javascript:"text" would display blank ( pointed out by vidur ).
Status: NEW → ASSIGNED
Keywords: nsbeta2
Assignee | ||
Comment 10•25 years ago
|
||
FIXED.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Comment 11•25 years ago
|
||
Verified
2000-07-12-11-M17 : Linux
2000-07-12-09-M17 : WinNT & Win98
2000-07-12-13-M17 : Mac
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•