summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/reference/no_red_bold_italic_small-caps_ahem.html
blob: 39305e4430973e69442b420862324f79a5cd8573 (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
29
30
31
32
33
34
35
36
37
<!doctype html>
<html>
<head>
   <title>Reference rendering - no red, bold italic small-caps Ahem</title>
   <link rel="author" title="Opera Software" href="https://opera.com">
   <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
   <style type="text/css">
      #outer {
         position: relative;
      }
      #inner1, #inner2 {
         position: absolute;
         top: 0px;
         left: 0px;
         font-family: "Ahem";
         font-size: 96px;
         font-style: italic;
         font-variant: small-caps;
         font-weight: bold;
      }
      #inner1 {
         color: red;
      }
      #inner2 {
         color: black;
      }
   </style>
</head>
<body>
   <p>Test passes if there is no red visible on the page except for
   antialiasing.</p>
   <div id="outer">
      <div id="inner1">a</div>
      <div id="inner2">b</div>
   </div>
</body>
</html>