wcss_syntax tests

Hello,

Here is the results of review of wcss_syntax 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax.html> 
tests.

45.15.01 Unknown Property 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/un_property.xhtml> 
OK
45.15.02 Unknown Value 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/un_value.xhtml> 
OK
45.15.03 Invalid Keyword 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/invalid_keyword.xhtml> 
OK
45.15.04 Invalid at-keyword 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/invalid_at_key.xhtml> 
OK
45.15.05 CSS Comments 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/css_comments.xhtml> 
OK
45.15.06 Double Quotes 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/dquotes.xhtml>
    Test uses -wap-input-format and should be rewritten.
45.15.06 Double Quotes 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/dquotes.xhtml>
    Test uses -wap-input-format and should be rewritten.

45.15.08 Nested Quotes 1 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/nested_quotes1.xhtml>
    Test looks a little strange.
        1. It checks following assertion "A string value for a property 
can contain unescaped single quotes, if the value itself is enclosed in 
double quotes." But declares: "If the user-agent supports the attribute 
selectors of the form "E [att=val]", then verify that Para-1 below 
appears in all bold."  If text "Para-1" is not drawn in bold, what does 
it mean, user agent is incorrect, or attribute selector is not supported.
       2. Mozilla does not parse xhtml correctly because style contains 
following:
<style type="text/css">
    p [title="not 'my' title"] {font-weight: bold}
</style>
p and [ are separated by space. I did not dig the spec deeply, but the 
examples in CSS 2 spec does not contain this space.
For me, this test should be rewritten with motre simple string checks or 
the description should be changed.

45.15.09 Nested Quotes 2 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/nested_quotes2.xhtml>
    See comment for Nested Quotes 1 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/nested_quotes1.xhtml>
45.15.10 Escape Sequence 1 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/esc_char1.xhtml>
    See comment for Nested Quotes 1 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/nested_quotes1.xhtml>
45.15.11 Escape Sequence 2 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/esc_char2.xhtml>
    See comment for Nested Quotes 1 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/nested_quotes1.xhtml>
45.15.12 New Line 1 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/new_line1.xhtml>
    See comment for Nested Quotes 1 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/nested_quotes1.xhtml>
    Besides, the numbe of the spaces in the "my title" should be the 
same for

	p [title="my  \
		title"] {font-weight: bold}

and

<p title="my title">Para-1: All bold </p>

45.15.13 New Line 2 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/new_line2.xhtml>
    See comment for Nested Quotes 1 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/nested_quotes1.xhtml>
45.15.14 Parsing 1 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/parsing1.xhtml> 
OK
45.15.15 Parsing 2 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/parsing2.xhtml> 
OK
45.15.16 Parsing 3 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/parsing3.xhtml>
Test is not well formed xhtml. It seems the css data should be separated 
into the .css file. Besides, the incorrect elements for under test "Para 
1","Para 2", "Para 3" should be removed or adopted into the separated 
test for non-existent class. I've used http://validator.w3.org/ to 
validate this test.
45.15.17 Parsing 4 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/parsing4.xhtml>
Test is not well formed xhtml. See comment for Parsing 4 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/parsing4.xhtml>.
45.15.18 SGML Comments 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/sgml_comments.xhtml> 
OK
45.15.19 Mime Media Type 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/mime_type.xhtml> 
OK
45.15.20 HTTP Charset Latin1 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/httpcharset_latin1.xhtml> 
OK
45.15.21 HTTP Charset UTF-8 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/httpcharset_utf8.xhtml> 
OK
45.15.22 At Charset Latin1 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/atcharset_latin1.xhtml> 
OK
45.15.23 At Charset UCS-2 BE 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/atcharset_ucs2_be.xhtml> 
OK
45.15.24 At Charset UCS-2 LE 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/atcharset_ucs2_le.xhtml> 
OK
45.15.25 At Charset UTF-8 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/atcharset_utf8.xhtml> 
OK
45.15.26 Link Charset Latin1 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/linkcharset_latin1.xhtml> 
OK
45.15.27 Link Charset UCS-2 BE 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/linkcharset_ucs2_be.xhtml> 
OK
45.15.28 Link Charset UCS-2 LE 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/linkcharset_ucs2_le.xhtml> 
OK
45.15.29 Link Charset UTF-8 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/linkcharset_utf8.xhtml> 
OK
45.15.30 Encoding Priority 1 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/enc_priority1.xhtml> 
OK
45.15.31 Encoding Priority 2 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/enc_priority2.xhtml>
45.15.32 Multi atCharset 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/atcharset_multi.xhtml> 
OK
45.15.33 Embedded atCharset 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/atcharset_embed.xhtml> 
OK
45.15.34 atCharset After 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/atcharset_after.xhtml> 
OK
45.15.35 Unrepresented Chars 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/enc_unrep_chars.xhtml> 
OK
45.15.36 Invalid Escaping 
<http://testfest.openmobilealliance.org/CSS_Content/wcss_syntax/enc_invalid_escape.xhtml> 
OK


Thanks,
    Dima.

Received on Monday, 12 November 2007 07:17:17 UTC