Closed
Bug 204200
Opened 21 years ago
Closed 20 years ago
cannot scroll to the bottom of the page
Categories
(Core :: Layout: Positioned, defect, P3)
Tracking
()
RESOLVED
FIXED
Future
People
(Reporter: jnareb, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(1 file, 2 obsolete files)
850 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3; MultiZilla v1.4.0.2) Gecko/20030314 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3; MultiZilla v1.4.0.2) Gecko/20030314 In the page http://www.devastation.pl and subsequent pages, when the page is tall enough that it requires scrolling (you can make tha page tall enough by enlarging the font size) I cannot scroll to the bottom of the page. When I scroll to the bottom there is some text which is below the bottom of the window and is not visible. This can be seen by looking at the source of the page or by lessening the font size. I dont know if it is the Mozilla bug or the erron in the page, but even if the page is not coded right the Mozilla should "work around" this error. Reproducible: Always Steps to Reproduce: 1.Open the page 2.Enlarge font until scrollbar appears, if needed 3.Scroll to the bottom of the page Actual Results: The bottom of the page is not visible and flows from the Mozilla window. Expected Results: The bottom of page should be visible.
Comment 1•21 years ago
|
||
This is because of the invalid and probably only tested in IE CSS: #maindiv { position: absolute; left: 130; top: 107; width: 583; height: 100; visibility: visible; } Height 100 what? And setting height to 100 anything means if the content is larger, you don't see it. ->TE
Assignee: other → nikolai
Status: UNCONFIRMED → NEW
Component: Layout → Europe: East
Ever confirmed: true
OS: Linux → All
Priority: -- → P3
Product: Browser → Tech Evangelism
QA Contact: ian → momoi
Summary: Cannot see the bottom of the page when scrolling → devastation.pl - cannot see full page content with invalid CSS
Whiteboard: [SYNTAX-CSS]
Version: Trunk → unspecified
No, this is a real bug.
Assignee: nikolai → position
Component: Europe: East → Layout: R & A Pos
Product: Tech Evangelism → Browser
QA Contact: momoi → ian
Version: unspecified → Trunk
Summary: devastation.pl - cannot see full page content with invalid CSS → devastation.pl - cannot scroll to the bottom of the page
Whiteboard: [SYNTAX-CSS]
Please note that just because a page contains invalid CSS that we correct in quirks mode doesn't mean the bug is invalid.
Reporter | ||
Comment 4•21 years ago
|
||
Even if the CSS of the mentioned page is wrong, Mozilla must have made some assumptions and tried to correct it to display this page. Something like using pixels when units are not specified. For absolute positioning 'overflow: visible' is default (according to CSS2.1 specification). It looks like Mozilla in calculating the width of the page takes into account only calculated or given in CSS height of the box, and does not take into consideration the situation where text height is larger than height of the box, and there should be provided place to render it outside the block box. I.e. Mozilla should [almost] always use the max of the height of the text and the height of the box in calculating the height of the page (used in scrolling). I tried to make simplified testcase with absolutely positioned div box with height smaller than height of its contents, and scrolling works O.K.
Comment 5•21 years ago
|
||
I don't think that this is really a Mozilla bug. Exactly the same problem occurs in Konqueror 3.1 and Opera 7.11/Linux. This should be simply Tech Evangelism -> Central Europe.
Reporter | ||
Comment 6•21 years ago
|
||
Has anyone tried to reproduce this bug with simple testcase? I tried and failed, as described in comment #4.
If the page is using 'overflow: hidden' then it *could* be correct behavior. If it's not using 'overflow: hidden', then Mozilla's behavior is incorrect.
Comment 8•21 years ago
|
||
Simplified testcase of ugly HTML used in devastation.pl
Comment 9•21 years ago
|
||
What devastation.pl does, is that they have an absolutely positioned div ("maindiv") in an relatively positioned one ("tlo"), which is put into a table. This is really weird, but I think (I am nearly sure) that what Mozilla, Konqueror and Opera do is CORRECT, and what IE does - is WRONG. This really should be TE->Europe: Central.
Comment 10•21 years ago
|
||
Um... that would a dup of the "tables do not propagate overflow area" bug, no?
Yes, which is a known, real, bug. (Although bug 173277 is the only bug report on it that I can find right now.)
Reporter | ||
Comment 12•21 years ago
|
||
This is the simplified testcase of the layout used in http://devastation.pl, which is rendered incorrectly in Mozilla, i.e. absolutely positioned div with given size inside relative positioned div (which may be not important), inside table with given size. All elements have color borders to let one see the block structure. This file uses valid CSS (inline) and is valid HTML.
Updated•21 years ago
|
Target Milestone: --- → Future
Comment 13•21 years ago
|
||
Attachment #122411 -
Attachment is obsolete: true
Attachment #122426 -
Attachment is obsolete: true
Comment 14•21 years ago
|
||
This was mostly fixed by bug 173277. There is still a scrollbar problem though as can be seen in "Testcase #3"
Keywords: testcase
Summary: devastation.pl - cannot scroll to the bottom of the page → cannot scroll to the bottom of the page
Comment 15•21 years ago
|
||
duplicate/related: bug 194822?
Comment 17•20 years ago
|
||
fixed by the patch in231275
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•