before-after-images-001.xht (690B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head> 2 <title>CSS Test: generated content</title> 3 <link rel="author" title="Robert O'Callahan" href="mailto:robert@ocallahan.org" /> 4 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> 5 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" /> 6 <link rel="match" href="before-after-images-001-ref.xht"/> 7 <style type="text/css"> 8 div:before { 9 content:url(missing-image.png); 10 } 11 div { border:1px solid green; margin:5px; } 12 </style> 13 </head> 14 <body><div>Inner</div> 15 16 17 </body></html>