What's the contract for invalidating during reflow? nsIFrame seems to be silent on the matter... In particular, who is responsible for calling Invalidate() on which rects in the following situations:

1)  Frame is resized (eg "width" attr of image changed)
2)  Frame is repositioned (eg "align" attr of <legend> changed)
3)  Both

The options here are "the frame affected" and "the parent of the affected frame (possibly via a proxy such as nsLineBox)", I think. Are there other options? Are there other cases of reflow-related invalidates needing to happen?

How is this related to the changehint for various attributes? Should the hint for cases that require reflow be just ReflowFrame, or include a paint hint? If the latter, is that paint expected to happen before or after the reflow?

-Boris
_______________________________________________
mozilla-layout mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-layout

Reply via email to