1 The problem seems to have to do with the { block pagestyle } thing
2 below. If that is removed then the freezing does not happen.
4 <style type="text/css">
9 Try the files kubica-080516-freezing-i.html and dito j. The former
10 freezes Emacs, but the latter does not.