summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text-decor/text-emphasis-style-001.html
blob: d2a7b0f97eb23f95ef8200c7967e6e0c3e506555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<!DOCTYPE html>
<html>

  <head>
    <meta charset="utf-8">
    <title>CSS Text Decoration Test - text-emphasis</title>
    <link rel="author" title="Koroki Takanori" href="mailto:tak.koroki@gmail.com">
    <link rel="help" href="http://www.w3.org/TR/css-text-decor-3/#text-emphasis-style-property" title="3.1. Emphasis Mark Style: the 'text-emphasis-style' property">
    <link rel="match" href="reference/text-emphasis-style-001-ref.html">
    <meta name="assert" content="Test checks that 'text-emphasis-style: none' shows no emphasis marks.">
    <style>

span {
  /* This style definition will be overwritten by "text-emphasis-style: none;"
     If the dots appears above the text as emphasis marks, it means "text-emphasis-style: none" is not working. */
  text-emphasis-style: dot;
}

#test > .test {
  text-emphasis-style: none;
}
    </style>
  </head>
  <body>
    <p>Test passes if there is no dots above the text of "Text sample".</p>
    <p id="test">
      <span class="test">Text</span> <span class="test">sample</span>
    </p>
  </body>
</html>