Test <base href>. Use blank.py instead of about:blank since the latter uses utf-8. Specify encoding in resource.py for types that would inherit.