Closed Bug 263843 Opened 20 years ago Closed 11 years ago

scrollbars appear if browser window resized (soutez.lupa.cz)

Categories

(Core :: Layout, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: aha, Unassigned)

Details

(Keywords: testcase)

Attachments

(4 files)

2004101006/trunk/W2K

If I open this page in Mozilla for first time, table in the middle of page will
probably look okay (without surrounding scrollbars). When I resize browser
window, scrollbars will appear surround table, although layout of content isn't
based on window size.

Repro:
1. open http://soutez.lupa.cz/ (see attached screenshot #1)
2. resize browser window (see attached screenshot #2)
3. change font size with Ctrl++ and back Ctrl+- (attached screenshot #3)

Expected:
Same rendering as Opera 7.60 P1 or MSIE 6

Note
problematic part is this code:
<div>
  <table>
    <caption></caption>
    ...
  </table>
</div>

div: overflow:auto;width:51em;height:auto
table: border-collapse:collapse; border-spacing:0; 
       margin-left:auto; margin-right:auto;
       border:2px solid #000;width:auto
Attached image shot #1 - correct
Related to bug 261897 ?
I see these scrollbars with Mozilla 1.8a4. It also seems that a vertical
scrollbar appears when I just focus the table, this scrollbar only disappears
after reloading the page.
Attached file Testcase
Testcase derived from site.

This only happens in Standards Compliance mode.
In Mozilla1.7 I see the scrollbars directly with the testcase. 
With:
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a4) Gecko/20040920
Firefox/0.9.1+
I only see the scrollbars with the testcase, after a window resize.
Keywords: testcase
What's the right rendering here?  Scrollbars or no scrollbars?
this is an overlap of several issues:
1. border collapse in standards mode has half of the border outside the table,
the css working group did not wish to decide what should happen with that
border. I am too stupid to use that opportunity to make a browser vendor choice.
2. we currently put that outside border in the overflow area.
3. mozilla is currently not able to make negative overflow area accesible for
the scrolling.
wrt 1, see bug 155955 comment 27
The url doesn't show the bug anymore (tested with a 2004-10-11 build).
URL is no longer valid.
Attached testcase doesn't show the bug anymore in SeaMonkey 2.11 (rv:14.0 - Gecko/20120715).
(In reply to Adam Hauner from comment #13)
> Attached testcase doesn't show the bug anymore in SeaMonkey 2.11 (rv:14.0 -
> Gecko/20120715).

agreed.

In such cases, you should close your bug report :)
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: