> It's true if the layout has changed since last size read
For elements that don't yet exist in screen and want to be "custom-rendered" this will be a change in size.
And while there's no element, you can't pre-calculate its size because there are no useful browser APIs for that. And you can't effectively control layout behaviour in the browser when you dump an element into it. And...
> > you can't batch-render anything
> Not sure what this means? Why can't you batch-render on the web?
There is no good way of telling a browser "pause rendering on this particular set of elements" and then "render these particular elements in one go". Any change you do to an element is immediately passed to the renderer.
For elements that don't yet exist in screen and want to be "custom-rendered" this will be a change in size.
And while there's no element, you can't pre-calculate its size because there are no useful browser APIs for that. And you can't effectively control layout behaviour in the browser when you dump an element into it. And...
> > you can't batch-render anything
> Not sure what this means? Why can't you batch-render on the web?
There is no good way of telling a browser "pause rendering on this particular set of elements" and then "render these particular elements in one go". Any change you do to an element is immediately passed to the renderer.