Closed Bug 290290 Opened 19 years ago Closed 19 years ago

nsObjectFrame's PaintSelf call does the wrong thing for paint layers

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME
mozilla1.8beta2

People

(Reporter: dbaron, Assigned: dbaron)

References

Details

(Keywords: css1, Whiteboard: [patch])

Attachments

(2 files, 2 obsolete files)

nsObjectFrame's PaintSelf call does the wrong thing for paint layers.

Testcase to come later, but patch now, so I don't lose it.
Attached patch patch (obsolete) — Splinter Review
This obviously isn't tested very well yet.

Perhaps we should put this display check inside of PaintSelf itself.  It'll
mean calling it more, but I maybe that's OK.
Status: NEW → ASSIGNED
Whiteboard: [patch]
Target Milestone: --- → mozilla1.8beta2
Actually, we may want to drop the PaintSelf completely due to the shared style
contexts.  And I don't think this has much to do with Acid2.
No longer blocks: acid2
(In reply to comment #1)
> Perhaps we should put this display check inside of PaintSelf itself.  It'll
> mean calling it more, but I maybe that's OK.

Actually, probably not, since we need it for bug 78087.
Attached file testcase (draft)
Attachment #181393 - Attachment is obsolete: true
Hmm, this patch doesn't actually seem to help any of the testcases.
Attached patch patchSplinter Review
This is cleaned up a little, but it doesn't actually work.
Attachment #180687 - Attachment is obsolete: true
the code that's patch here will go away in bug 309521
Depends on: 309521
So is this still an issue now that bug 309521 is fixed?  That is, is there a bug when rendering a plug-in in an nsObjectFrame?
This is completely fixed in the latest trunk build of Firefox, possibly because bug 317375 have been fixed.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
The testcase seems to have regressed badly in Firefox 4.0b8. Should this bug be reopened?
Sorry, not really a regression - I was referring to red visible in the testcase, which is apparently the correct rendering - IE8 and Chrome render the same (though Chrome shows some additional rendering issues).
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

Created:
Updated:
Size: