[webkit-dev] Fwd: Re: Painting Phases

Alex Danilo alex at legrope.com
Tue May 10 04:53:17 PDT 2011

-- Forwarded Message: --
Hello Sergiy,

	You should look at the CSS specifications. That defines the order
of painting the various layers in each block stacking context. The code
in WebKit follows each of the layers in the stack with one render pass
for each of them.

	There is a good video somewhere that Eric Seidel describes the
rendering inside WebKit that covers this.

Best regards,

--Original Message--:
>Good time of the day,
>In RenderObject.h there are 12 phases of painting. Please explain what do these mean and in which sequence they are called. If there is some documentation already (either in code or on the website), please give me a link. Thank you.
>enum PaintPhase {
>    PaintPhaseBlockBackground,
>    PaintPhaseChildBlockBackground,
>    PaintPhaseChildBlockBackgrounds,
>    PaintPhaseFloat,
>    PaintPhaseForeground,
>    PaintPhaseOutline,
>    PaintPhaseChildOutlines,
>    PaintPhaseSelfOutline,
>    PaintPhaseSelection,
>    PaintPhaseCollapsedTableBorders,
>    PaintPhaseTextClip,
>    PaintPhaseMask
>Sergiy Byelozyorov
>Computer Graphics Chair
>Universitat des Saarlandes
>Tel.: +49 (681) 302-3837
>Web: http://graphics.cs.uni-saarland.de/sbyelozyorov/
>webkit-dev mailing list
>webkit-dev at lists.webkit.org

More information about the webkit-dev mailing list