W3C home > Mailing lists > Public > public-css-testsuite@w3.org > February 2011

[RC5, pre-RC6] font-family-rule-003: pass conditions, invalid flag and assert text

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Sat, 26 Feb 2011 10:51:08 -0800
Message-ID: <d1003991673267fdd6f87328952932ee.squirrel@cp3.shieldhost.com>
To: "Arron Eicholz" <Arron.Eicholz@microsoft.com>
Cc: "Public CSS test suite mailing list" <public-css-testsuite@w3.org>





        <meta name="flags" content="font" />
        <meta name="assert" content="Font names containing any special
characters can be quoted. Otherwise the special character need
to be escaped." />
        <style type="text/css">

                font-family: Ahem!;
                font-family: "ahem!";
        <p>PREREQUISITE: Operating system needs to have the '<a
href="../support/AHEM_ahem!.ttf">ahem!</a>' font installed.</p>
        <p>Post Test: Remove test font after running the test.</p>
<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>

font-family: Ahem!;
is not a valid declaration. Therefore, an "X" must be rendered. Pass
conditions should be updated accordingly.

Proposed replacement

        <meta name="flags" content="font invalid" />
        <meta name="assert" content="An unquoted font name containing
special characters (including punctuation characters like !, #,
/, -, @, ?, $, etc.) must be escaped, otherwise such font name
is invalid." />
        <p>Test passes if there is one letter "X" and if a filled black
square is vertically lined up below such letter "X".</p>


Addendum: font-family-rule-007 should have

<meta name="flags" content="font invalid" />


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:51:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:17 UTC