[RC5, pre-RC6] font-family-rule-002: pass conditions, line-height and assert text






        <meta name="assert" content="Font names containing any white
space need to be quoted. It is also recognized if it is not
        <style type="text/css">
                font-family: "White Space";
                font-family: White Space;

<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+.

Contributions to the CSS 2.1 test suite:

CSS 2.1 test suite (RC5; January 11th 2011):

CSS 2.1 test suite contributors:

Received on Saturday, 26 February 2011 18:50:43 UTC