summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/compat/webkit-text-fill-color-property-006.html
blob: 4eb37e9e9519ad4ed7aab6bc5d45a2a6023b9ec5 (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
<!DOCTYPE html>
<meta charset="utf-8">
<title>webkit-text-fill-color should take effect while rendering text-overflow ellipsis</title>
<link rel="author" title="Jeremy Chen" href="jeremychen@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://compat.spec.whatwg.org/#the-webkit-text-fill-color">
<meta name="assert" content="The color of text-overflow ellipsis should be green">
<link rel="match" href="webkit-text-fill-color-property-006-ref.html">
<style>
div {
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 150px;
  color: red;
  -webkit-text-fill-color: green;
}
span {
  font-family: Ahem;
  font-size: 30px;
}
</style>
<body>
<p>Test passes if there is a <strong>green ellipsis</strong> after "TestChecks".</p>
<div>
  <span>TestChecksThatTextColorAndEllipsisColorShouldBeTheSame</span>
</div>
</body>