From 4e1c527b82bcbaaff5a6679ad47bd0369f54f58f Mon Sep 17 00:00:00 2001 From: "waterson%netscape.com" Date: Thu, 10 Sep 1998 01:04:40 +0000 Subject: [PATCH] Added a slot to MWContext that indicates whether or not the context requires reflow because an image without width or height was layed out with a default size. git-svn-id: svn://10.0.0.236/trunk@9693 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/include/structs.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/mozilla/include/structs.h b/mozilla/include/structs.h index 51cc5e5447c..728de79aa3d 100644 --- a/mozilla/include/structs.h +++ b/mozilla/include/structs.h @@ -335,6 +335,14 @@ struct MWContext_ { #ifdef MODULAR_NETLIB URL_Struct* modular_data; #endif + + /* This gets set to `true' when layout encounters an image with no + width or height: layout will proceed to place the image, but + the FE will have to do a reflow once all the netlib connections + terminate for the page to be correctly displayed. The idea is + to get visible content to the user ASAP, even if it means that + stuff looks funny for a couple seconds. */ + PRPackedBool requires_reflow; };