- From: Gérard Talbot <css21testsuite@gtalbot.org>
- Date: Sat, 26 Feb 2011 10:50:05 -0800
- To: "Arron Eicholz" <Arron.Eicholz@microsoft.com>
- Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>
Arron, http://test.csswg.org/suites/css2.1/20110111/html4/font-family-rule-002.htm http://test.csswg.org/suites/css2.1/nightly-unstable/html4/font-family-rule-002.htm http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_15/font-family-rule-002.htm http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_15/font-family-rule-002.xht <meta name="assert" content="Font names containing any white space need to be quoted. It is also recognized if it is not quoted."> <style type="text/css"> #div1 { font-family: "White Space"; } #div2 { font-family: White Space; } </style> <p>Test passes if there is at least one box below. It is ok to have one letter "X".</p> <div id="div1">X</div> <div id="div2">X</div> It is *not* ok to have one letter "X". The rule for converting an unquoted font-family with one or many blank white spaces separating its strings are defined in the spec (although maybe not in the most easy+clear way to understand, IMO). font-family: White Space; should be parsed and converted into font-family: "White Space"; font-family: White Space; should be parsed and converted into font-family: "White Space"; In the test, there should be 2 small filled black squares vertically lined up and there can be a tiny white line separating them as line-height has not been specified explicitly. We know that 'line-height: normal' can be and could be rendered as 1.1 or 1.2 ... which is the case (1.2) in Firefox 3.6+. Gérard -- Contributions to the CSS 2.1 test suite: http://www.gtalbot.org/BrowserBugsSection/css21testsuite/ CSS 2.1 test suite (RC5; January 11th 2011): http://test.csswg.org/suites/css2.1/20110111/html4/toc.html CSS 2.1 test suite contributors: http://test.csswg.org/source/contributors/
Received on Saturday, 26 February 2011 18:50:43 UTC