Closed
Bug 197075
Opened 22 years ago
Closed 15 years ago
entitites give two newlines in the DOM (CRLF gives two line breaks)
Categories
(Core :: Layout: Text and Fonts, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: ken2006, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030303
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4a) Gecko/20030303
Inside of <PRE>, if CR-LFs pairs were converted by the webserver to their HTML
meta characters ( ), Mozilla renders them as two lines. Other browsers
render a single line.
Reproducible: Always
Steps to Reproduce:
1. Open http://www.onnet.cc/mozzNewlines.html in Moz.
2. Open same URL in NS4 or IE.
Actual Results:
NS4 and IE render a single newline per pair. Moz renders two. Note that the same
string inside the sample TEXTAREA does render okay.
Expected Results:
Should render the one line, similar to a raw CRLF does already inside of
<PRE></PRE>.
Some server-side rawtext-to-html char translators convert (char)10 and (char)13,
and (char)9 among others, to their HTML meta equivs to effect html-obfuscation
or perhaps some level of cross-site scripting or form safety.
Comment 1•22 years ago
|
||
Parser. We're ending up with two newlines in the content model....
Assignee: other → harishd
Component: Layout → Parser
QA Contact: ian → dsirnapalli
Updated•21 years ago
|
Summary: Serial HTML meta CRLFs rendered as two line breaks → entitites give two newlines in the DOM (CRLF gives two line breaks)
Whiteboard: DUPEME
Updated•16 years ago
|
Assignee: harishd → nobody
QA Contact: dsirnapalli → parser
Comment 3•16 years ago
|
||
Not a parser bug. Maybe a layout bug or not a bug at all.
Component: HTML: Parser → Layout: Text
QA Contact: parser → layout.fonts-and-text
Comment 4•15 years ago
|
||
I'm claiming this is not a bug, but see bug 557197.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
Whiteboard: DUPEME
You need to log in
before you can comment on or make changes to this bug.
Description
•