<html>
  <head>
	<script>function test(){var r="lorem ipsum";return r}</script>
	<style>.classname{color:red}</style>
  </head>
  <body>
  </body>
</html>
<html>
  <head>
	<script>function test(){var r="lorem ipsum";return r}</script>
	<style type="text/css" media="screen">.classname{color:red}</style>
  </head>
  <body>
  </body>
</html>
Fix type and media attributes test
Fix type and media attributes test
