In the nsImageFrame.cpp source code, there is this logic in the
Paint() method:

I would like to know under what situation the painting is suppressed
in PresShell?

// If painting is suppressed, we need to stop image painting.  We
// have to cover <img> here because of input image controls.
    PRBool paintingSuppressed = PR_FALSE;
    aPresContext->PresShell()-
>IsPaintingSuppressed(&paintingSuppressed);
    if (paintingSuppressed) {
      return NS_OK;
    }
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to