shand-border-001.xht (2080B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 5 <head> 6 7 <title>CSS test: Shorthand Properties (border) - maximum of 3 border subproperties</title> 8 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 10 <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties" title="8.5.4 Border shorthand properties" /> 11 <link rel="help" href="http://www.w3.org/TR/CSS21/about.html#shorthand" title="1.4.3 Shorthand properties" /> 12 <link rel="match" href="../reference/ref-if-there-is-no-red.xht" /> 13 14 <meta content="invalid" name="flags" /> 15 <meta content="The 'border' shorthand property, 'border-top' shorthand property and 'border-bottom' shorthand property accept a maximum of 3 border subproperties." name="assert" /> 16 17 <style type="text/css"><![CDATA[ 18 div#first-test {border: red solid 16px red;} 19 20 div#second-test {border-top: red solid 16px red;} 21 22 div#third-test {border-bottom: red solid 16px red;} 23 24 div#fourth-test {border: red 16px solid red;} 25 26 div#fifth-test {border-top: red 16px solid red;} 27 28 div#sixth-test {border-bottom: red 16px solid red;} 29 30 div#seventh-test {border: red solid thick red;} 31 32 div#eightth-test {border-top: red solid thick red;} 33 34 div#ninth-test {border-bottom: red solid thick red;} 35 36 div#tenth-test {border: red thick solid red;} 37 38 div#eleventh-test {border-top: red thick solid red;} 39 40 div#twelveth-test {border-bottom: red thick solid red;} 41 ]]></style> 42 43 </head> 44 45 <body> 46 47 <p>Test passes if there is <strong>no red</strong>.</p> 48 49 <div id="first-test"></div> 50 51 <div id="second-test"></div> 52 53 <div id="third-test"></div> 54 55 <div id="fourth-test"></div> 56 57 <div id="fifth-test"></div> 58 59 <div id="sixth-test"></div> 60 61 <div id="seventh-test"></div> 62 63 <div id="eightth-test"></div> 64 65 <div id="ninth-test"></div> 66 67 <div id="tenth-test"></div> 68 69 <div id="eleventh-test"></div> 70 71 <div id="twelveth-test"></div> 72 73 </body> 74 </html>