<!DOCTYPE html>
<title>Test ellipsis style</title>
<link rel="match" href="reference/text-overflow-change-color-ref.html">
<link rel="help" href="https://drafts.csswg.org/css-ui-3/#ellipsing-details">
<link rel="author" href="kojii@chromium.org">
<meta name="assert" content="Changing the color of the container should also change the color of ellipsis">
<style>
div {
  color: red;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: pre;
  font-size: 50px;
  width: 5ch;
}
</style>
<body>
<div id=container>123456789</div>
<script>
document.body.offsetTop;
container.style.color = 'lime';
</script>
</body>
