Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!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">
<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">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<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>