summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/css1/c5516-ibrdr-c-000.xht
blob: c2001cb2b51022c26eaca8fb9f795f0412b2fd0f (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
<!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-ibrdr-c-000-ref.xht" />

  <style type="text/css"><![CDATA[
   p { margin: 3em; }
   .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;
           line-height: 6em;}
  ]]></style>
  <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-properties" title="8.5 Border properties"/>
 </head>
 <body>
  <p>
   <span class="one">This box should have a green border.</span>
  </p>
  <p>
   <span class="two">This box should have a green border.</span>
  </p>
  <p>
    Clockwise from top, the borders around
   <span class="three">THIS&nbsp;PHRASE</span>
    should be: PURPLE, GREEN, BLUE, YELLOW.
  </p>
 </body>
</html>