Closed
Bug 307111
Opened 19 years ago
Closed 19 years ago
[FIX]nsSimplePageSequenceFrame::Paint does not override nsIFrame::Paint
Categories
(Core :: Layout, defect, P3)
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: Biesinger, Assigned: bzbarsky)
References
()
Details
Attachments
(1 file)
3.37 KB,
patch
|
roc
:
review+
roc
:
superreview+
|
Details | Diff | Splinter Review |
Instead it shadows it, because it's missing a flags parameter. I suspect that
this is not what was intended. This is probably not too important, although this
may mean that the white background isn't painted.
It also sets the color of the rendering context twice:
982 aRenderingContext.SetColor(NS_RGB(255,255,255));
983
984
985 if (NS_FRAME_PAINT_LAYER_BACKGROUND == aWhichLayer) {
986 nsRect rect = mRect;
987 aRenderingContext.SetColor(NS_RGB(255,255,255));
Assignee | ||
Comment 1•19 years ago
|
||
Yeah, this is odd... it's also been this way forever, so maybe this method is
not even needed?
Let's delete it. We can resurrect it if we ever decide we want it.
Assignee | ||
Comment 3•19 years ago
|
||
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #205465 -
Flags: superreview?(roc)
Attachment #205465 -
Flags: review?(roc)
Assignee | ||
Updated•19 years ago
|
Priority: -- → P3
Summary: nsSimplePageSequenceFrame::Paint does not override nsIFrame::Paint → [FIX]nsSimplePageSequenceFrame::Paint does not override nsIFrame::Paint
Target Milestone: --- → mozilla1.9alpha
Attachment #205465 -
Flags: superreview?(roc)
Attachment #205465 -
Flags: superreview+
Attachment #205465 -
Flags: review?(roc)
Attachment #205465 -
Flags: review+
Assignee | ||
Comment 4•19 years ago
|
||
Fixed
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
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.
Description
•