cascade-highlight-001-ref.html (536B)
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: green; 14 color: yellow; 15 display: inline; 16 font-size: 300%; 17 } 18 </style> 19 20 <p>Test passes if background color of "Text sample" is green and <strong>not red</strong>. 21 22 <div class="highlight_reftest">Text sample</div>