On Sunday 2003-01-05 11:18 -0500, Matt Jones wrote: > My proposed fix would actually surpass the performance of MSIE, however, > it requires a leap of fail where the developer would have to assume > (cringe) that the screen size could never be bigger than XbyY and thusly > we could assume Z amount of content above/below the current viewable > area would be needed. Given that assumption we would only resize that > much content while the windows is being resized and the would redraw all > content when the resize is complete. While I am a developer, I am not > experienced with 2D layout, and so, if my logic is flawed, please let me > know.
Given positioning, floating, etc., I think it could be difficult to figure out what content will be in the top part of the screen without actually laying it out (although there probably are some optimizations that could be done). However, there are other problems. How would you figure out the correct length to draw the scrollbar? Are there Windows APIs for determining what resizing state a window is in, and how would those be connected to the layout engine? -David -- L. David Baron <URL: http://dbaron.org/ >
