Closed Bug 118560 Opened 24 years ago Closed 24 years ago

Stylesheet switching leaves remnants of old sheet's background [AltSS]

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 63863
Future

People

(Reporter: caillon, Assigned: attinasi)

References

()

Details

Attachments

(1 file)

Using Linux 2002010606 1. Visit URL 2. Select alternate sheet 'Modernist' 3. Select alternate sheet 'Midnight' The background does not fill completely on the left or on the top of the <body> (or <html>) element.
No they seem related possibly, but not a dupe. In bug 47760 the styles don't switch at all. Here they do, but the initial rendering sucks as per my screenshot. If you scroll down the page and then back up, everything looks as expected.
Summary: Stylesheet switching leaves remnants of old sheet's background → Stylesheet switching leaves remnants of old sheet's background [AltSS]
Target Milestone: --- → Future
Also see http://www.dzr-web.com/people/darren/music.html Switching stylesheets back and forth makes a complete mess of the background images. If you resize the browser windw to get a scroll bar scrolling clears it up. Also note (bug 122348) that color and font-family also get messed up. This was working fine in 0.9.7.
dbaron, could this have been caused by your handling-of-canvas-background changes?
It's a duplicate of an existing bug that existed well before my bug 116161 patch, although that patch made the existing bug a bit worse. The correct fix for that bug would probably be to call nsCSSRendering::FindBackground within nsFrameManager::ReResolveStyleContext (in a way similar to the code that stops loads of background images).
*** This bug has been marked as a duplicate of 63863 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: