blob: fb2846a1ab6cd6228174c38875cfecd4734189d5 [file] [log] [blame]
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Basic User Interface Test: text-overflow - string</title>
<link rel="author" title="Minseong Kim" href="mailto:jja08111@gmail.com">
<link rel="help" href="https://drafts.csswg.org/css-overflow-4">
<link rel="match" href="reference/text-overflow-string-001-ref.html">
<meta name="assert" content="Test checks that an string is shown instead of overflowing textual content">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
div {
font-size: 10px;
overflow: hidden;
text-overflow: "123";
width: 150px;
}
span {
font-family: Ahem;
font-size: 30px;
}
</style>
<body>
<p>Test passes if there is an <strong>123</strong> after a black rectangle below.</p>
<div>
<span>TestChecksThatTheBrokenContentRepalcedBy123</span>
</div>
</body>