414638-ref.html (887B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 2 <html> 3 <head> 4 <title>CSS Test: clip: Missing commas in rect()</title> 5 <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/"> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/visufx.html#clipping"> 7 <meta name="flags" content="invalid may"> 8 <meta name="assert" content="User agents may support separation of values within rect() by whitespace instead of commas, but not a combination of whitespace and commas."> 9 <style type="text/css"> 10 div { 11 background: red; 12 width: 100px; height: 100px; 13 } 14 .inner { 15 position: absolute; 16 background: green; 17 } 18 </style> 19 20 </head> 21 <body> 22 <p>There must be a green box below and no red.</p> 23 <div class="outer"> 24 <div class="inner"></div> 25 </div> 26 </body> 27 </html>