<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <title>CSS Test: Border-top-width using 'em' units with a minimum plus one value, 1em</title> <link rel="author" title="Microsoft" href="http://www.microsoft.com/"> <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2012-06-24 --> <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border-top-width"> <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-width-properties"> <link rel="match" href="reference/border-bottom-width-069-ref.htm"> <meta name="flags" content="ahem"> <meta name="assert" content="The 'border-top-width' property supports a minimum plus one length value in 'em' units that sets the width of the top border."> <style type="text/css"> div { font: 20px/1 Ahem; } #wrapper { background: red; height: 1em; } #test { border-top-style: solid; border-top-width: 1em; height: 0; } </style> </head> <body> <p>Test passes if there is a wide black stripe and <strong>no red</strong>.</p> <div id="wrapper"> <div id="test"></div> </div> </body> </html>