grammar-error-001.html (967B)
1 <!DOCTYPE html> 2 3 <html lang="en"> 4 5 <meta charset="UTF-8"> 6 7 <title>CSS Pseudo-Elements Test: highlighting of grammar error (basic)</title> 8 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> 10 <link rel="help" href="https://www.w3.org/TR/css-pseudo-4/#highlight-selectors"> 11 <link rel="help" href="https://www.w3.org/TR/css-pseudo-4/#highlight-styling"> 12 <link rel="match" href="grammar-error-001-ref.html"> 13 14 15 <style> 16 div 17 { 18 font-size: 300%; 19 } 20 21 div::grammar-error 22 { 23 color: maroon; 24 text-decoration: underline dotted fuchsia; 25 } 26 </style> 27 28 <p>PREREQUISITE: User agent needs to have an enabled and capable grammar error module. If it does not, then this test does not apply to such user agent. 29 30 <p>Test passes if each glyph of "thing" is maroon and if "thing" is underlined with a fuchsia dotted line. 31 32 <div contenteditable="true">Many thing can happen.</div>