border-width-009.xht (976B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: CSS Parsing: Negative Border Widths</title> 5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2012-08-21 --> 7 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/parsing/003.xml" type="application/xhtml+xml"/> 8 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#length-units" /> 9 <link rel="match" href="border-width-009-ref.xht" /> 10 11 <meta name="flags" content="invalid"/> 12 <style type="text/css"> 13 p { color: green; border-color: red; border-width: 0; border-width: -10px; border-style: solid; display: block; } 14 </style> 15 </head> 16 <body> 17 <p> 18 Test passes if this sentence has <strong>no border</strong>. 19 </p> 20 </body> 21 </html>