summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/borders/border-shorthands-003.xht
blob: c88673000fc330f4668d64f22eb270bddbb0bf6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>CSS Test: border-color shorthand (basic)</title>
  <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
  <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/border/color/003.html" type="text/html"/>
  <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties"/>
  <link rel="match" href="border-shorthands-003-ref.xht" />

  <style type="text/css">
   .test { border-top: solid 1em; }
   div { color: green; border-color: red; }
  </style>
 </head>
 <body>
  <p>There should be a green bar below.</p>
  <div class="test"></div>


</body>
</html>