1 This test suite was converted from http://www.hixie.ch/tests/adhoc/html/parsing/encoding/all.html 2 3 The suite has been broken up to run the tests in smaller batches. 4 5 Expected failures: 6 56, 57, 58, 59 - we do not run scripts during encoding detection phase and parser treats meta inside a script as text, not a tag. 7 60 - parser treats meta inside style as text, not a tag. 8 97, 99, 102 - we do not run scripts during encoding detection. 9 Status: Tests ran. 10 11 Serious failures: 12 13 test 056: expected Windows-1254; used Windows-1252 14 <!DOCTYPE HTML> 15 <script>document.write('<meta charset="ISO-8859-' + '9">')</script> 16 test 057: expected Windows-1254; used Windows-1252 17 <!DOCTYPE HTML> 18 <script>var s = '9">'; document.write('<meta charset="ISO-8859-' + s)</script> 19 test 058: expected Windows-1254; used Windows-1252 20 <!DOCTYPE HTML> 21 <script>document.write('<meta charset="ISO-8859-9">')</script> 22 test 059: expected Windows-1254; used Windows-1252 23 <!DOCTYPE HTML> 24 <script type="text/plain"><meta charset="ISO-8859-9"></script> 25 (Tests are considered to pass even if they treat Win1254 and ISO-8859-4 as separate.) 26 27 28