- From: Gérard Talbot <css21testsuite@gtalbot.org>
- Date: Sat, 26 Feb 2011 10:51:08 -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-003.htm
http://test.csswg.org/suites/css2.1/nightly-unstable/html4/font-family-rule-003.htm
http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_15/font-family-rule-003.htm
http://test.csswg.org/source/contributors/microsoft/submitted/Chapter_15/font-family-rule-003.xht
<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">
#div1
{
font-family: Ahem!;
}
#div2
{
font-family: "ahem!";
}
</style>
</head>
<body>
<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" />
too.
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:51:45 UTC