after-content-display-018.xht (875B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 5 <head> 6 7 <title>CSS Test: :after generated content - initial value of display </title> 8 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 10 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#before-after-content" /> 11 <link rel="match" href="after-content-display-001-ref.xht" /> 12 <meta content="The initial value of the 'display' for generated content property is 'inline'." name="assert" /> 13 14 <style type="text/css"><![CDATA[ 15 div:after 16 { 17 content: " Filler text"; 18 } 19 ]]></style> 20 21 </head> 22 23 <body> 24 25 <p>Test passes if the 2 "Filler text" are both <strong>on the same line</strong>.</p> 26 27 <div>Filler text</div> 28 29 </body> 30 </html>