+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>CSS Test: font-family</title>
- <link rel="help" href="http://www.w3.org/TR/REC-CSS1#font-family"/>
- <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html"/>
- <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
- <style type="text/css"><![CDATA[
- p { margin: 0; color: navy; }
- div.a {font-family: serif;}
- div.b {font-family: monospace;}
- .one {font-family: serif;}
- .two {font-family: sans-serif;}
- .three {font-family: cursive;}
- .four {font-family: fantasy;}
- .five {font-family: monospace;}
- .six {font-family: sans-serif,cursive;}
- .seven {font-family: monospace,serif;}
- ]]></style>
- <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-family-prop" title="15.3 Font family: the 'font-family' property"/>
- <link rel="help" href="http://www.w3.org/TR/css3-fonts/#font-family-prop"/>
- </head>
- <body>
- <div class="a">
- <p> This sentence should be in a serif font. </p>
- <p class="one"> This sentence should be in a serif font. </p>
- <p class="two"> This sentence should be in a sans-serif font. </p>
- <p class="three"> This sentence should be in a cursive font. </p>
- <p class="four"> This sentence should be in a fantasy font. </p>
- <p class="five"> This sentence should be in a monospace font. </p>
- </div>
- <p class="six"> This sentence should be in a sans-serif font. </p>
- <p class="seven"> This sentence should be in a monospace font. </p>
- <div class="b">
- <p> This sentence should be in a monospace font. </p>
- <p class="one"> This sentence should be in a serif font. </p>
- <p class="two"> This sentence should be in a sans-serif font. </p>
- <p class="three"> This sentence should be in a cursive font. </p>
- <p class="four"> This sentence should be in a fantasy font. </p>
- <p class="five"> This sentence should be in a monospace font. </p>
- </div>
- </body>
-</html>
<test_definition>
<suite name="tct-fonts-css3-tests" launcher="WRTLauncher" category="W3C/HTML5 APIs">
<set name="DownloadableFonts">
- <testcase purpose="Check if the 'font-family' property has correct visual rendering" type="compliance" status="approved" component="WebAPI/DOM, Forms and Styles/CSS Fonts Module Level 3 (Partial)" execution_type="manual" priority="P2" id="c522-font-family-000">
- <description>
- <pre_condition/>
- <post_condition/>
- <steps>
- <step order="1">
- <step_desc>Check if the 'font-family' property has correct visual rendering</step_desc>
- <expected>These texts have correct font family</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-fonts-css3-tests/fonts/csswg/c522-font-family-000.xht</test_script_entry>
- </description>
- <specs>
- <spec>
- <spec_assertion element_type="property" element_name="font-family" interface="CSS" specification="CSS Fonts Module Level 3 (Partial)" section="DOM, Forms and Styles" category="Tizen W3C API Specifications"/>
- <spec_url>http://www.w3.org/TR/2012/WD-css3-fonts-20120823/#font-family-prop</spec_url>
- <spec_statement/>
- </spec>
- </specs>
- </testcase>
<testcase purpose="Check if the 'font-style' property has correct visual rendering" type="compliance" status="approved" component="WebAPI/DOM, Forms and Styles/CSS Fonts Module Level 3 (Partial)" execution_type="manual" priority="P2" id="c523-font-style-000">
<description>
<pre_condition/>
<test_definition>
<suite launcher="WRTLauncher" name="tct-fonts-css3-tests" category="W3C/HTML5 APIs">
<set name="DownloadableFonts">
- <testcase component="WebAPI/DOM, Forms and Styles/CSS Fonts Module Level 3 (Partial)" execution_type="manual" id="c522-font-family-000" purpose="Check if the 'font-family' property has correct visual rendering">
- <description>
- <pre_condition />
- <steps>
- <step order="1">
- <step_desc>Check if the 'font-family' property has correct visual rendering</step_desc>
- <expected>These texts have correct font family</expected>
- </step>
- </steps>
- <test_script_entry>/opt/tct-fonts-css3-tests/fonts/csswg/c522-font-family-000.xht</test_script_entry>
- </description>
- </testcase>
<testcase component="WebAPI/DOM, Forms and Styles/CSS Fonts Module Level 3 (Partial)" execution_type="manual" id="c523-font-style-000" purpose="Check if the 'font-style' property has correct visual rendering">
<description>
<pre_condition />
</testcase>
</set>
</suite>
-</test_definition>
\ No newline at end of file
+</test_definition>