cascade-highlight-004-ref.html (526B)
1 <!DOCTYPE html> 2 3 <meta charset="UTF-8"> 4 5 <title>CSS Reftest Reference</title> 6 7 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> 8 9 <link rel="stylesheet" href="../support/highlights.css"> 10 <style> 11 div 12 { 13 background-color: yellow; 14 color: green; 15 display: inline; 16 font-size: 300%; 17 } 18 </style> 19 20 <p>Test passes if "Text sample" is green and if its background color is yellow. 21 22 <div class="highlight_reftest">Text sample</div>