Closed
Bug 1580
Opened 26 years ago
Closed 26 years ago
scrollbars and margins on BODY
Categories
(Core :: Layout, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: dbaron, Assigned: troy)
References
()
Details
The scrollbar should be placed on the HTML element, not the BODY (when BODY has
margins). The margins of BODY (they only exist on top and bottom - the
document's STYLE elemnt changes the sides to padding) should be blue and within
the scrolling area. For some reason, only the side margins are being applied
on http://www.fas.harvard.edu/~dbaron/links/Internet.html even though it has
all 4 margins - that is, only the side margins are getting extra "white." The
top and bottom margins seem to be being handled correctly. This white area
should also be blue, because when HTML doesn't have a background it should
"inherit" from BODY. (11/23 build)
Now you have a bug to hang that stuff we've been talking about.
dbaron: we have been planning to fix this and move the scrollbar to the HTML
element and make the HTML element a child of a "root frame" that is outside the
document. This meshes well with XML. We have just deferred the work until after
the current stability push. I have several open bugs of my own that will get
fixed as soon as this is fixed....
Reporter | ||
Comment 2•26 years ago
|
||
Perhaps it would be nice to implement the CSS2 overflow property to handle this
(and of course do everything else that it does). See
http://www.w3.org/TR/REC-CSS2/visufx.html .
Reporter | ||
Comment 3•26 years ago
|
||
You are no longer painting all of BODY's margin with HTML's background color.
You seem to be only painting a rectangle the size of BODY, thus ignoring the
right and bottom margins. However, this improves if I switch to another window
(Alt+Tab) and then back again.
I made a separate bug (bug #2016) for the part about no longer painting the
BODY's margin with the HTML's background color, because they're different
problems
The scrollbar is now placed on the HTML element, and not on the BODY element
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 7•26 years ago
|
||
I think your fix for this caused margin-top to get the color of BODY intead of
the color of HTML. (or maybe it made it go away entirely...)
See http://www.w3.org/Style/CSS/Test/current/sec45.htm
Should this bug be reopened or does this go on 2016?
Reporter | ||
Comment 8•26 years ago
|
||
Actually, the margin-top is now ignored. See
http://style.verso.com/boxacidtest/vd/
Reporter | ||
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 9•26 years ago
|
||
Verified as fixed.
You need to log in
before you can comment on or make changes to this bug.
Description
•