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
This commit is contained in:
waterson%netscape.com
1998-09-10 01:04:40 +00:00
parent 6eff3c1884
commit 4e1c527b82

View File

@@ -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;
};