Closed
Bug 98261
Opened 23 years ago
Closed 23 years ago
WRMB:the bullets continue past the text
Categories
(Core :: Layout, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla0.9.5
People
(Reporter: stummala, Assigned: harishd)
References
()
Details
(Keywords: topembed, Whiteboard: PDT+,[fixed on the trunk and branch])
Attachments
(4 files)
81.38 KB,
text/html
|
Details | |
1.01 KB,
patch
|
hjtoi-bugzilla
:
review+
|
Details | Diff | Splinter Review |
2.16 KB,
patch
|
Details | Diff | Splinter Review | |
1.45 KB,
patch
|
hjtoi-bugzilla
:
review+
attinasi
:
superreview+
|
Details | Diff | Splinter Review |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010726 Netscape6/6.1 BuildID: 2001-08-27-06 The bullets for the press releases continue past the text in Netscape at url: http://www.state.ny.us/governor/press/year01/press01.html. Reproducible: Always Steps to Reproduce: load the above url and scroll down to the end of the page.u will see the bullets which are not supposed to be shown. Actual Results: the bullets appear even after the end of the text Expected Results: the bullets should not appear
Comment 1•23 years ago
|
||
Sivakiran, why is this assigned to the Evangelism product? It looks like it should be assigned to the browser product, not sure which component. (Assigning bugs to components is not my strength, but it certainly does not belong to evangelism.)
Reporter | ||
Comment 2•23 years ago
|
||
adding myself and mdunn to the cc list, keyword topembed
Keywords: topembed
Comment 3•23 years ago
|
||
I noticed that the month links (i.e. January) in this page navigate to the blank bullets. Looks like the monthly content isn't being displayed (the content displays fine in IE5.5). Maybe this is a page loading issue? cc'ing gagan for help who this should be assigned to.
Comment 4•23 years ago
|
||
If you look at the content on the page (http://www.state.ny.us/governor/press/year01/press01.html) we see that the bullets break at June 13, 2001, at the exact point where a <br> appears inside the <ul></ul>. There appears to be a problem in the way Netscape handles this HTML - we should see if we can build a reduced testcase. Setting product to the Browser.
Updated•23 years ago
|
Component: US English → Layout
Product: Tech Evangelism → Browser
Version: unspecified → other
Reporter | ||
Comment 5•23 years ago
|
||
it has nothing to do with <BR> because i removed all the <BR>'s and tried to load the page. it is a page loading issue (layout).
Comment 6•23 years ago
|
||
Get rid of the WRMB, reassign to default owner and qa. When you move bugs into a new component, you will almost always want to reassign the bug.
Assignee: bclary → attinasi
QA Contact: zach → petersen
Summary: WRMB:the bullets continue past the text → the bullets continue past the text
Comment 7•23 years ago
|
||
Sorry, I spoke too soon on the WRMB bit.
Summary: the bullets continue past the text → WRMB:the bullets continue past the text
Comment 8•23 years ago
|
||
sivakiran, could you attach the testcase you made with the BR tags removed? That would help alot. Thanks.
Status: NEW → ASSIGNED
Comment 9•23 years ago
|
||
Comment 10•23 years ago
|
||
The problem with the dropped content is an old one: there are *loads* of FONT tags that are never closed, so we end up with incredibly deeply nested content. After some nesting level, we just throw the content away. This is a feature, I believe ;) Over to harishd for confirmation. Just dump the content and look how deep it gets at the end (it takes a while!).
Assignee: attinasi → harishd
Status: ASSIGNED → NEW
Assignee | ||
Comment 11•23 years ago
|
||
The parser does limit nesting level ( 200 to be precise ). However, the problem we're seeing here may not be related to it. FYI: I am able to reproduce the problem even after increasing the nesting level limit ( 300 ).
Comment 12•23 years ago
|
||
One obvious problem is that the layout code uses the HTMLContentSink's constant MAX_REFLOW_DEPTH, but that doesn't work because the ContentSink's notion of 'depth' is not the same as layouts. A content node 20 levels deep will actually be more like 24 levels deep in frame land, because we have some frames before anything representing the document: Viewport, GfxScroll, ScrollPortFrame, and Canvas. I have a trivial fix that takes into account the non-document-related frames by setting layout's MAX_REFLOW_DEPTH to the contentSink's MAX_REFLOW_DEPTH+5. It causes the entire page to be rendered, but we lose the anchors everywhere that we used to lose the text (from June 15 on in the attached version of the URL). Harish has some ideas on how to fix that...
Comment 13•23 years ago
|
||
Assignee | ||
Comment 14•23 years ago
|
||
Assignee | ||
Comment 15•23 years ago
|
||
Comment 16•23 years ago
|
||
Your patch makes sense, but it will, of course, change the document. It is better than dropping the content though, I guess. Have you tested it much, and are you ready for reviews?
Assignee | ||
Comment 17•23 years ago
|
||
>Your patch makes sense, but it will, of course, change the document. The document will change but it will atleast try it's best to maintain the structure. >Have you tested it much? I ran my patch ( along with Marc's patch ) against testcases in bugs 98261, 49678, 55095, 55980, and 58917 ( huge pengin page ). Other than a few style differences ( which was expected ) they all seem to render "fine" <-- not correctly. >and are you ready for reviews? I guess :-/. Marc, can you r=?
Status: NEW → ASSIGNED
Comment 18•23 years ago
|
||
Comment on attachment 49146 [details] [diff] [review] patch v1.1 sr=attinasi (also good for r=attinasi if you prefer)
Attachment #49146 -
Flags: superreview+
Comment 19•23 years ago
|
||
Harish, if you decide not to check in my portion of the patch, please let me know and I'll do it. I don't think it is critical to the fix, but it is more correct.
Assignee | ||
Comment 20•23 years ago
|
||
Marc: IMO, your fix should go in. Please check it in if you can or let me know if you want me to land along with my changes.
Updated•23 years ago
|
Attachment #48958 -
Flags: review+
Updated•23 years ago
|
Attachment #49146 -
Flags: review+
Seems like a safe fix with high return (fix topembed), therefore nsbranch+.
Comment 23•23 years ago
|
||
+ check this in today per PDT.
Whiteboard: [fixed on the trunk] → PDT+,[fixed on the trunk]
Assignee | ||
Comment 24•23 years ago
|
||
fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: PDT+,[fixed on the trunk] → PDT+,[fixed on the trunk and branch]
Comment 25•23 years ago
|
||
Verified on branch builds Mac OS X (2001-09-24-04) and Windows ME (2001-09-25-05).
Keywords: vtrunk
Comment 26•23 years ago
|
||
Verified on the Sept 25th Linux branch build (2001-09-25-04)
You need to log in
before you can comment on or make changes to this bug.
Description
•