gecko-dev/testing/web-platform/tests/css/css-pseudo/spelling-error-003-manual.html
Gérard Talbot 95a4fe9c02 Bug 1593074 [wpt PR 20033] - Added 2 CSS4Pseudo tests and 1 reference, a=testonly
Automatic update from web-platform-tests
Added 2 CSS4Pseudo tests and 1 reference

--

wpt-commits: b048002b012a8290b7dbdb0f0d685454e8837b6f
wpt-pr: 20033
2020-01-03 11:35:59 +00:00

32 lines
948 B
HTML

<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>CSS Pseudo-Elements Test: highlighting of spelling error</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="help" href="https://www.w3.org/TR/css-pseudo-4/#highlight-selectors">
<link rel="help" href="https://www.w3.org/TR/css-pseudo-4/#highlight-styling">
<meta content="" name="flags">
<style>
textarea
{
font-size: 300%;
}
textarea::spelling-error
{
color: maroon;
text-decoration: underline dotted red;
}
</style>
<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.
<p>Test passes if each glyph of "txet" is maroon and if "txet" is underlined with a red dotted line.
<div><textarea rows="2" cols="20">A txet sample</textarea></div>