https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 43fb02d8f7895c551a4274c54e7dc0cc777537a2 authored by Domenic Denicola on 27 June 2017, 16:07:06 UTC
Remove redundant statements per code review
Tip revision: 43fb02d
webkit-text-fill-color-property-006.html
<!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>
back to top