MartijnW wrote:
Well, that's my question.

One allows scrolling via keyboard or mouse-dragging, the other does not.

On a technical level, one creates a scrollframe, and the other does not. So the actual implementation is quite different.

This one does freeze/hang:
http://martijn.heelveel.info/test/mozilla/xblmarquee/freeze.htm

overflow:hidden, having a scrollframe, does multipass layout to figure out its size. If you have them nested, the number of times the innermost one is laid out will be N^D where N is the number of passes each does and D is the depth.


In this case, D = 37 and N > 1, so you get at least 2^37 (about 200*10^9) reflows on the innermost text.

-Boris
_______________________________________________
mozilla-layout mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-layout

Reply via email to