In the days of Windows 95, recursive algorithms in layout used to
overrun the call stack on Windows unless the depth of the DOM tree was
limited. The HTML parser still enforces the limit, and people complain
about it from time to time. (Most of the time, the Web pages that hit
the limit are doing something wrong, but that's normal.)

Does layout still use recursive algorithms that require a depth limit?

If the depth limit is still needed, can now be increased?

(The limit is defined at
https://mxr.mozilla.org/mozilla-central/source/layout/generic/nsIFrame.h#16
)

-- 
Henri Sivonen
hsivo...@hsivonen.fi
https://hsivonen.fi/
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to