Closed Bug 40494 Opened 25 years ago Closed 25 years ago

Outer borders of absolute positioned layers are wrong

Categories

(Core :: XUL, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: cap, Assigned: eric)

References

()

Details

(Keywords: regression, Whiteboard: [nsbeta2+])

When using the "padding" property for layers, the outer borders are positioned wrong. It looks as if the padding size is added to the position given by the CSS declarations. For example, I have a layer with right: 10px and padding: 5px. It's right border however is positioned zero pixels from the right. (width - 10px + (2 * 5px)). Check http://capsi.cx/ with both M11 and a recent nightly build to compare. (there are a lot of rendering issues that have been broken since droppping native toolkits after M11, however this problem seems to have been introduced later, it was not in M12-14 IIRC). Screenshot comparision: http://capsi.cx/tmp/capsi-mozilla-m11.jpg http://capsi.cx/tmp/capsi-mozilla-2000052208.jpg
It looks like it is yet another problem with gfx scrollbars and absolutely positioned elements. We have 2 symptoms here: - Make the window small enough: the vertical scrollbar from the center block touches the right edge of the window. There should be a 10px border. - The bottom block overlays the center block. There should be a 5px border between them. It's probably a dup of bug 23806 and it could be related to bug 21899. Reassigned to trudelle, marked dependency on the meta bug 38639 and proposed for nsbeta2. I think that the problems with gfx scrollbars and absolutely positioned elements really should be fixed for the next milestone. It's been a nasty regression since M15/beta1 for many well-formed CSS pages.
Assignee: pierre → trudelle
Blocks: 38639
Status: UNCONFIRMED → NEW
Component: Style System → XP Toolkit/Widgets
Ever confirmed: true
Keywords: nsbeta2
reassigning to evaughan
Assignee: trudelle → evaughan
[nsbeta2+]
Keywords: regression
Whiteboard: [nsbeta2+]
Target Milestone: --- → M18
fixed
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Marking VERIFIED FIXED on: - MacOS9 2000-06-30-09-M17 Commercial - Linux6 2000-06-30-08-M17 Commercial - Win98 2000-06-30-09-M17 Commercial
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.