[reflow branch] Right padding is missing in the scroll view

NEW
Unassigned

Status

()

Core
Layout: Block and Inline
11 years ago
4 years ago

People

(Reporter: mats, Unassigned)

Tracking

({dev-doc-needed, regression, testcase})

Trunk
x86
Linux
dev-doc-needed, regression, testcase
Points:
---
Dependency tree / graph
Bug Flags:
wanted1.9.1 +
blocking1.9.0.1 -
wanted1.9.0.x +

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

11 years ago
Created attachment 257150 [details]
Testcase #1

Right padding is missing in the scroll view.

STEPS TO REPRODUCE
1. load the attached testcase

ACTUAL RESULT
In the scroll view there is a yellow box surrounded by 30px padding (white)
on all sides except on the right side where it is missing.

EXPECTED RESULT
In the scroll view there is a yellow box surrounded by 30px padding (white)
on all sides.

PLATFORMS AND BUILDS TESTED
Bug occurs in a SeaMonkey 20070303 nightly build on Linux
Bug does not occur in SeaMonkey 2006120701 (pre reflow branch) on Linux.
Bug occurs in SeaMonkey 2006120801 (post reflow branch) on Linux.

Comment 1

10 years ago
Our behavior in terms of the right padding actually agrees with Safari.  The justification is that the width of the child block is greater than the width of the parent, so it overflows, covering the right padding.

Our behavior is arguably wrong in terms of the bottom padding, though.  The child block should also overlap the bottom padding.  We aren't calulating the computed height of the scrolled frame correctly, at least according to the Safari model.  And I think the Safari model is the only one that can really make sense in the long run.

Comment 2

9 years ago
Also see:

http://www.macridesweb.com/oltest/BugFx_overflow_padding.html

and:

http://groups.google.com/group/mozilla.dev.apps.firefox/browse_thread/thread/56714cc038193d59?hl=en#

Updated

9 years ago
Flags: blocking1.9.0.1?
Flags: wanted1.9.0.x?
Flags: blocking1.9.0.1?
Flags: blocking1.9.0.1-
Since this is a regression from the reflow branch, let's try and get this into 1.9.0.x/1.9.1.
Flags: wanted1.9.1?
Flags: wanted1.9.0.x?
Flags: wanted1.9.0.x+
Flags: blocking1.9.1?
Flags: wanted1.9.1?
Flags: wanted1.9.1+
Flags: blocking1.9.1?

Updated

9 years ago
Duplicate of this bug: 446601

Comment 5

9 years ago
The testcase renders the same in Gecko 1.9.x, IE8b2 and Safari 3.1.2. Only Opera 9.5.2 differs and shows a white bottom padding and a twice as wide right padding.

Updated

9 years ago
Assignee: nobody → zweinberg
I no longer work for Mozilla, I am deassigning myself from bugs I have no intention of working on as a volunteer.
Assignee: zackw → nobody
(Reporter)

Comment 7

6 years ago
Created attachment 581691 [details]
Testcase #2
(Reporter)

Comment 8

6 years ago
With the patches in bug 665597, the scroll box accounts for margin/padding on the
right and bottom sides (so that yellow/blue boxes have an equal gap on all sides)
Depends on: 665597
Keywords: dev-doc-needed
(Reporter)

Comment 9

6 years ago
The original issue is invalid, and as Eli says in comment 1 we should also
overflow the bottom padding.  Bug 665597 will fix that, and also the margin case.
You need to log in before you can comment on or make changes to this bug.