Closed Bug 3671 Opened 26 years ago Closed 26 years ago

backgrounds don't scroll horizontally hidden areas

Categories

(Core :: Layout, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED WONTFIX

People

(Reporter: karnaze, Assigned: troy)

References

()

Details

If you make the viewer narrower than the test case below and scroll it horizontally, the background color is missing. <html> <head> <STYLE> BODY { background-color: orange; } </STYLE> </head> <body> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa </body> </html>
Assignee: michaelp → troy
since the text renders, but the background does not and the layout code renders *both*, i'm beginning to believe that somehow this is a problem in layout.
*** Bug 4000 has been marked as a duplicate of this bug. ***
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WONTFIX
No one is going to be too thrilled about this, but that's the way it's supposed to work with CSS2. The reason is that the computed 'width' is determined by the display width of the window as computed top-down. Depending on the overflow policy, the content that doesn't fit is either hidden, scrolled, or visible sticking outside its parent's box. However, the background is only displayed inside of the parent's box and hence doesn't include the content that extends beyond the parent's box This rule also applies to a background specified on the BODY element
*** Bug 4207 has been marked as a duplicate of this bug. ***
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.