- From: Alan Harder <Alan.Harder@Sun.COM>
- Date: Sun, 13 Mar 2005 11:24:59 -0800
- To: <public-css-testsuite@w3.org>
Here is a test case that exposes yet another deficiency of IE. I grant all copyright,etc of this test to w3c if you wish to use it or an improved version of it (if you need something more formal let me know). Enjoy, - Alan test-inh-explicit.htm <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <html> <head> <title>CSS 2.1 Test Suite: Explicit Inheritance</title> <style type="text/css"> .a { border: 0 solid lime; } .b { border-width: thin; border-style: inherit; border-color: inherit; } .c { padding: 10px 0; background-color: red; } .d { padding: inherit; background-color: lime; } </style> <link title="6.2 Inheritance" href="http://www.w3.org/TR/CSS21/cascade.html#inheritance" rel="help"> <link title="8.4 Padding properties" href="http://www.w3.org/TR/CSS21/box.html#padding-properties" rel="help"> <link title="8.5 Border properties" href="http://www.w3.org/TR/CSS21/box.html#border-properties" rel="help"> </head> <body> <p class="a"> This sentence should have no border, except for <span class="b">this part which has a green border</span> but not here. </p> <p> The green background for <span class="c"><span class="d">this part </span></span> should extend above and below, with no red area showing. </p> </body> </html>
Received on Tuesday, 15 March 2005 04:11:24 UTC