horizontal scrollbar always visible with 100%-width left-floated table followed by <br> in 0-margin body

NEW
Unassigned

Status

()

P4
minor
17 years ago
12 years ago

People

(Reporter: thorgal, Unassigned)

Tracking

({testcase})

Trunk
Future
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

17 years ago
Mozilla 2002041709/Linux-i686, but I remember seeing it before.

Problem: no matter how wide you make the page at http://www.bellstream.de/, it
always has horizontal scroller visible. The same happens at
http://www.bellstream.com/.

Repro.: always.
Step: just visit and see.
(Reporter)

Updated

17 years ago
Severity: normal → minor
Summary: horizontal scroller always visible. → horizontal scrollbar always visible.

Comment 1

17 years ago
I am seeing it on Win2K, 2002041718. What seems to trigger the bug is the
combination of a floating table with marginwidth (not supported in html4.0) set
to zero and width set to 100%, followed by a <br>:
<table width="100%" align="left" border="1">
<tbody>
<tr>
<td>foo1</td>
</tr>
</tbody>
</table>
<br>
foo2
OS: Linux → All

Comment 2

17 years ago
Created attachment 80447 [details]
simplified testcase

Comment 3

17 years ago
Correction: marginwidth=0 is set inside the <body> tag.

Comment 4

17 years ago
Changing QA Contact
QA Contact: petersen → moied

Updated

17 years ago
Priority: -- → P4
Target Milestone: --- → Future

Comment 5

17 years ago
Using the current rc2 2002051506 on Win2000 I see the same... the horizontal
scrollbar on quite a few pages, including mozillazine.  Also see it with a few
framed pages, with a particular frame having a horizontal scrollbar, and also in
the case of frames a vertical one.  About 2 weeks ago maybe more (am pretty sure
rc1 didnt have this problem) this was not happening at all.  With some sites
altering the width of the browser window by moving the sidebar tab (making it
smaller/larger) you can get rid of the horizontal scroll bar. MozillaZine.org is
one site where you can find certain positions where the horizontal scrollbar
disappears.  To me it is one of most annoying bugs around.  I have tried clean
installs, all to no avail.
Looks like the table is rounding width up to the nearest px instead of down....
Assignee: attinasi → table
Component: Layout → Layout: Tables
Priority: P4 → --
QA Contact: moied → madhur
Target Milestone: Future → ---

Updated

15 years ago
Priority: -- → P4
Target Milestone: --- → Future

Comment 7

14 years ago
Adding testcase keyword
Keywords: testcase

Comment 8

14 years ago
The table code is correct. The issue is the 1twips BR hack at
http://lxr.mozilla.org/seamonkey/source/layout/html/base/src/nsBRFrame.cpp#183
this makes the canvas 1 twips to large and then the scroolabr appears which
doesn't do anything as 1twips is then rounded away.  

 canvas 03C8B4CC r=2 a=7344,UC c=7344,3216 cnt=1780
  area 03C98DE0 r=2 a=7344,UC c=7344,UC cnt=1781
   text 03C98EE0 r=2 a=7344,UC c=UC,UC cnt=1782
   text 03C98EE0 d=0,0
   block 03C98FF4 r=2 a=7344,UC c=7344,UC cnt=1783
    text 03C993D0 r=2 a=7344,UC c=UC,UC cnt=1784
    text 03C993D0 d=0,0
    place 03CA790C r=2 a=7344,UC c=UC,UC cnt=1785
    place 03CA790C d=0,0
    tblO 03C995C0 r=2 a=7344,UC c=UC,UC cnt=1786
    tblO 03C995C0 d=7344,360 me=456
    text 03CA7944 r=2 a=0,360 c=UC,UC cnt=1787
    text 03CA7944 d=0,0
    br 03CA79D4 r=2 a=0,360 c=UC,UC cnt=1788
    br 03CA79D4 d=1,240
   block 03C98FF4 d=7344,600 o=(0,0) 7345 x 600
  area 03C98DE0 d=7344,792 o=(0,0) 7345 x 792
 canvas 03C8B4CC d=7345,792 me=0
scroll 03C8B5FC d=7344,3456

Comment 9

14 years ago
moving the bug
Assignee: core.layout.tables → nobody
Component: Layout: Tables → Layout: Block and Inline
QA Contact: madhur → core.layout.block-and-inline

Comment 10

14 years ago
Users interested in this bug may look at ShowImage extension at
http://showimage.mozdev.org/. It is made for Firefox. It didn't work very well
for me (maybe it needs updating) but it seems a good approach (no further
cluttering of the context menu for users with fast connections).

Comment 11

14 years ago
previous comment posted to wrong bug. sorry for spamming.

Comment 12

14 years ago
bug 261402 might be a dupe of this

Updated

14 years ago
Flags: blocking-aviary1.0+

Comment 13

14 years ago
Please don't set blocking +/- flags unless authorised.
Flags: blocking-aviary1.0+

Comment 14

14 years ago
*** Bug 261402 has been marked as a duplicate of this bug. ***
*** Bug 338730 has been marked as a duplicate of this bug. ***
Elaborated on summary to make it easier to find.
Summary: horizontal scrollbar always visible. → horizontal scrollbar always visible with 100%-width left-floated table followed by <br> in 0-margin body
You need to log in before you can comment on or make changes to this bug.