1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/801681-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,17 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 + <head> 1.7 + <!-- 1.8 + please do NOT add a newline at the end of this file. The buggy behaviour 1.9 + that it exhibits depends on the ">" of "</script>" being the last character 1.10 + in the file. 1.11 + --> 1.12 + <meta charset="hz-gb-2312"> 1.13 + <style type="text/css"> 1.14 + p#p { color: red; } 1.15 + </style> 1.16 + <title>Bug 801681</title> 1.17 + </head> 1.18 + <body> 1.19 + <p id="p">~ This line should be green</p> 1.20 + <script>document.getElementById("p").style.color="green";</script> 1.21 \ No newline at end of file