before-after-images-001

generated content

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Source

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