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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user