content-177.xht (1060B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: Generated Content: Entities</title> 5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> 6 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/content/007.html" type="text/html"/> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content" /> 8 <link rel="match" href="content-177-ref.xht" /> 9 10 <style type="text/css"><![CDATA[ 11 div { position: relative; font: 3em sans-serif; color: red; } 12 span { position: absolute; top: 0; left: 0; } 13 .control { color: green; } 14 .test:before { content: 'TEST FAIL'; } 15 ]]></style> 16 </head> 17 <body> 18 <p>Test passes if there is a jumble of green letters and symbols that makes no sense and if there is <strong>no red</strong>.</p> 19 <div><span class="test">ED</span><span class="control">TEST &#x46;&#x41;&#x49;&#x4c;ED</span></div> 20 </body> 21 </html>