spelling-error-002-manual.html (897B)
1 <!DOCTYPE html> 2 3 <html lang="en"> 4 5 <meta charset="UTF-8"> 6 7 <title>CSS Pseudo-Elements Test: highlighting of spelling error</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 13 14 <style> 15 input 16 { 17 font-size: 300%; 18 } 19 20 input::spelling-error 21 { 22 color: maroon; 23 text-decoration: underline dotted red; 24 } 25 </style> 26 27 <p>PREREQUISITE: User agent needs to have an enabled and capable spelling error module. If it does not, then this test does not apply to such user agent. 28 29 <p>Test passes if each glyph of "txet" is maroon and if "txet" is underlined with a red dotted line. 30 31 <div><input type="text" value="A txet sample"></div>