summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/css1/c5516-brdr-c-000.xht
blob: a21c5ea39c642ef518689908a78ce69b3b6a597a (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 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: border-color</title>
  <link rel="help" href="http://www.w3.org/TR/REC-CSS1#border-color"/>
  <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"/>
  <link rel="match" href="c5516-brdr-c-000-ref.xht" />

  <style type="text/css"><![CDATA[
   .one {border-color: green; border-style: solid;}
   .two {border-color: green; border-width: medium; border-style: solid;}
   .three {border-color: purple green blue yellow; border-width: 2em; border-style: solid;}
  ]]></style>
  <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-properties" title="8.5 Border properties"/>
 </head>
 <body>
  <p class="one">
   This box should have a green border.
  </p>
  <p class="two">
   This box should have an identical green border.
  </p>
  <p class="three">
   Clockwise from top, the borders should be: PURPLE, GREEN, BLUE, YELLOW.
  </p>
 </body>
</html>