Re: [bug-tests][html-tests] Some HTML5 i18n tests missing (#274)

Ignoring for now the fact that test 30 was accidentally pushed, these are the additional tests I have in the i18n html5 test suite for character encoding (http://www.w3.org/International/tests/repository/html5-i18n/results/results-basics#basics). 

the-input-byte-stream-006
XML declaration  
[Exploratory] Setting the encoding in the XML declaration will NOT affect the encoding of a page served as text/html.

the-input-byte-stream-022
HTTP vs XML declaration
[Exploratory] The HTTP header has a higher precedence than an XML declaration. 

the-input-byte-stream-024
XML declaration vs meta content
[Exploratory] The XML declaration has a lower precedence than an encoding declaration in a meta content attribute.

the-input-byte-stream-026
XML declaration vs meta charset
[Exploratory] The XML declaration has a lower precedence than an encoding declaration in a meta charset attribute.

the-input-byte-stream-027
meta content, then meta charset
[Exploratory] An encoding declaration in a meta content attribute has a higher precedence than a following encoding declaration in a meta charset attribute.

the-input-byte-stream-030
meta charset, then meta content
[Exploratory] An encoding declaration in a meta charset attribute has a higher precedence than a following encoding declaration in a meta charset attribute.

Tests 006, 022, 024, and 026 are marked as exploratory because section 8.2.2 doesn't mention the XML declaration. (There's a note at the top of the section that says: "For XML documents, the algorithm user agents must use to determine the character encoding is given by the XML specification. This section does not apply to XML documents.", and these tests are for text/html docs.)

Tests 027 and 030 are relevant, since they check that the algorithm stops on encountering the first of the two.

I am happy to push 027 alongside 030.

I'm not sure whether to push the other tests to the repository. Please advise.

View on GitHub: https://github.com/w3c/web-platform-tests/issues/274#issuecomment-34055129

Received on Tuesday, 4 February 2014 12:37:56 UTC