Closed Bug 481769 Opened 16 years ago Closed 16 years ago

[FIX]Duplicate background image on msnbc.com

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sylvain.pasche, Assigned: bzbarsky)

References

Details

(Keywords: regression, testcase)

Attachments

(2 files)

Attached file testcase
This is from bug 481719. The "msn" background image on the right of the header on http://www.msnbc.msn.com/ appears twice. Regression from bug 480979.
Sorry, was from bug 480323 instead.
Blocks: 480323
No longer blocks: 480979
Please cc me on regressions I cause, or comment in the relevant bugs or something? I don't see changes to just depends fields. This is definitely a bug (which webkit trunk also has, but Opera does not, though it looks like Opera has other bugs here). And note that just putting an 'x' in the testcase after the <div> makes the problem appear in builds from before bug 480323 as well. We should be treating the ib-special-siblings as continuations for purposes of background painting. I'll look into this tomorrow. Testcase URIs for now so I can keep track of them (in addition to the attached testcase, which is very much appreciated!): data:text/html,<!DOCTYPE html><div style="width: 65px"><span style='background: no-repeat url("http://msnbcmedia3.msn.com/i/msnbc/Components/CSS/img/hdr-msn-logo.png")'>a a a a a a a a a a a a a a a</span></div> data:text/html,<!DOCTYPE html><span style='padding: 11px 0 10px 66px; background: url("http://msnbcmedia3.msn.com/i/msnbc/Components/CSS/img/hdr-msn-logo.png")'><div></div></span>
Assignee: nobody → bzbarsky
Oh, and: data:text/html,<!DOCTYPE html><span style='padding: 11px 0 10px 66px; background: url("http://msnbcmedia3.msn.com/i/msnbc/Components/CSS/img/hdr-msn-logo.png")' <div></div>x</span>
And: data:text/html,<!DOCTYPE html><span style='padding: 11px 0 10px 66px; background: no-repeat url("http://msnbcmedia3.msn.com/i/msnbc/Components/CSS/img/hdr-msn-logo.png")' <div></div>x</span>
(In reply to comment #2) > Please cc me on regressions I cause, or comment in the relevant bugs or > something? I don't see changes to just depends fields. Ok sorry, I thought the depends field change was visible enough. I'll do that in the future.
I think it depends on one's mail preferences in bugzilla. I have mine set pretty restrictively, because otherwise I'd be getting 1000+ emails per day from bugzilla alone...
I'd love to test the bidi stuff too, but have no idea how.
Attachment #365938 - Flags: superreview?(roc)
Attachment #365938 - Flags: review?(roc)
Summary: Duplicate background image on msnbc.com → [FIX]Duplicate background image on msnbc.com
Attachment #365938 - Flags: superreview?(roc)
Attachment #365938 - Flags: superreview+
Attachment #365938 - Flags: review?(roc)
Attachment #365938 - Flags: review+
Status: NEW → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
The testcase is fixed, but how come it's still messed up on msbnc.com? It's not duplicated but seems to be misaligned and split
That can be reproduced when the background is centered: data:text/html,<!DOCTYPE html><span style='padding: 11px 0 10px 66px; background: url("http://msnbcmedia3.msn.com/i/msnbc/Components/CSS/img/hdr-msn-logo.png") center'><div></div></span>
Good point. Looks like the webkit trunk also mishandles the URL posted in comment 10. however, Google Chrome 2(beta) displays the msn logo properly on the msnbc.com, unlike minefield.
> Looks like the webkit trunk also mishandles the URL posted in comment 10. You need a newer webkit trunk. They fixed some bugs around this stuff a few days back. Comment 10 basically shows the effects of bug 480452. I should up the priority on that, I guess.
Pushed http://hg.mozilla.org/mozilla-central/rev/a55ed9d7328a to fix the fact that I was using &&, not &, to test for the NS_FRAME_IS_SPECIAL bit. So we were doing extraneous property gets and GetFirstContinuation() calls here. No functional difference, of course.
Blocks: 390653
Product: Core → Core Graveyard
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: