summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/selectors/first-letter-selector-027.xht
blob: 1f51e182458014604f53b9903edc23a6ef13b51b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS Test: First-Letter: Basic Test</title>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
  <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/selectors/first-letter/006.html" type="text/html"/>
  <link rel="help" href="http://www.w3.org/TR/CSS21/selector.html#first-letter" />
  <style type="text/css">
   p:first-letter { border: solid; padding: 0.1em; color: lime; background: green; }
  </style>
 </head>
 <body>
  <p>The first letter of this paragraph should be green.</p>
 </body>
</html>