[webkit-help] Painting Phases

sunny shah sunnysunilshah at gmail.com
Tue Aug 17 09:09:20 PDT 2010


 In RenderObject.h I can see 12 phases of painting, I want to know that in
which order they gets called?

If it is in sequence than why PaintPhaseFloat is performed 3rd, logically it
should be performed before PaintPhaseMask?

enum PaintPhase {
    PaintPhaseBlockBackground,
    PaintPhaseChildBlockBackground,
    PaintPhaseChildBlockBackgrounds,
    PaintPhaseFloat,
    PaintPhaseForeground,
    PaintPhaseOutline,
    PaintPhaseChildOutlines,
    PaintPhaseSelfOutline,
    PaintPhaseSelection,
    PaintPhaseCollapsedTableBorders,
    PaintPhaseTextClip,
    PaintPhaseMask
};
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20100817/127ced8d/attachment.html>


More information about the webkit-help mailing list