Closed
Bug 377056
Opened 17 years ago
Closed 17 years ago
very deeply nested <font> tags are ignored
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 256180
People
(Reporter: j, Assigned: mrbkap)
Details
Attachments
(1 file)
51.72 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty) Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty) When there are more than 156 font tags, each with individual colors set by using CSS, embeded within each other, the font tags after the 156th do not render the set color style. short example: <font color=111111>something<font color=222222>something ... or <font style="color:#111">something<font style="color:#222">something ... ... repeated many times, the tags after the 156th do not render the proper colors. Reproducible: Always Steps to Reproduce: 1. load the html. 2. 3. Actual Results: Rendered incorrectly. Expected Results: Every font tag to be rendered correctly.
Reporter | ||
Comment 1•17 years ago
|
||
Comment 2•17 years ago
|
||
That's the expected result of bug 58917 and bug 18480, but I'm not sure whether bug 256180 is the one true "find some way to tolerate infinite nesting" bug or not.
Assignee: nobody → mrbkap
Component: General → HTML: Parser
Product: Firefox → Core
QA Contact: general → parser
Version: unspecified → 1.8 Branch
Updated•17 years ago
|
Summary: html font tags not being displayed incorrectly → very deeply nested <font> tags are ignored
Comment 3•17 years ago
|
||
Don't do that? (Close the font tags.)
Reporter | ||
Comment 4•17 years ago
|
||
LOL. This is not something that I practice regularly (or at all). This bug was something that I ran across accidentally, and figured that since Konqueror and IE7 both render it correctly, that I would file the bug.
Reporter | ||
Comment 5•17 years ago
|
||
I have tested this on a few other machines and am therefore changing the _hardware_ and _version_ of this bug, since it renders the same regardless of the OS and arch.
OS: Linux → All
Hardware: PC → All
Reporter | ||
Comment 6•17 years ago
|
||
This bug may be a duplicate of bug 256180. Both bugs are a result of MAX_REFLOW_DEPTH in parser/htmlparser/public/nsIHTMLContentSink.h being set to 200 (75 on classic macs). I believe this hard coded limit is a bad idea, since it limits what the user can render in the browser. I understand that not having a limit might cause a browser crash or even a buffer overflow, but there has to be another way to fix this bug.
Updated•17 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•