summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-speech/age-declarations-001.html
blob: a1437d8a227b082720d66e0d8d0c965e9f4131e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
    <title>CSS Test: voice-family age keywords</title>
    <link rel="author" title="John Foliot" href="mailto:john@foliot.ca">
    <link rel="author" title="Katherine Mancuso" href="mailto:kmancuso@gmail.com">
    <link rel="author" title="Ryan Eilders" href="mailto:ryaneilders@gmail.com">
    <link rel="help" href="http://www.w3.org/TR/css3-speech/#voice-props-voice-family">
    <meta name="flags" content="speech">
    <meta name="assert" content="The child, young, and old values of voice-family render the text in child, young, and old voices, respectively.">


    <style>
    p.child  { voice-family: child; }
    p.young  { voice-family: young; }
    p.old  { voice-family: old; }

    </style>

</head>
<body>

    <p class="child">This sentence should be read in a child's voice.</p>
    <p class="young">This sentence should be read in a young voice.</p>
    <p class="old">This sentence should be read in a old voice.</p>

</body>
</html>