#!/usr/bin/env python3 import os import sys host = os.environ.get('HTTP_HOST', '') sys.stdout.write( 'Content-Type: text/html\r\n\r\n' '\n' '
\n' 'Test for bug 11141: \n' ' CSS \'@import\' doesn\'t respect HTML Base element.
\n' 'This text should be green.
\n' 'If it is red, the css has been loaded relative to the document.\n' ' If it is black, no stylesheet has been rendered, if it is rendered green,\n' ' the stylesheet has been rendered correctly from the HREF attribute of the\n' ' Base element in the HEAD section of this document.
\n' 'This text should also be green.
\n' ' \n' '\n'.format(host) )