Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-flexbox/text-overflow-on-flexbox-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>CSS Flexbox: text-overflow in flexbox</title>
<link rel="match" href="reference/text-overflow-on-flexbox-001-ref.html">
<meta name="assert" content="This test ensures that the text-overflow on flexbox should have no effect"/>
<style>
div.flex {
display: flex;
width: 100px;
overflow: hidden;
text-overflow: ellipsis;
}
</style>
</head>
<body>
<div class="flex">
AAAAAAAAAAAAAAAAAAAA
</div>
<div class="flex">
<b>bbbbbbbbbbbbbbbbbbbb</b>
</div>
<div class="flex">
<div>cccccccccccccccccccc</div>
</div>
<div class="flex">
DDDDDDDDDDDDDDDDDDDD<b>ee</b>FFFFFFFFFFFFFFFFFFFF
</div>
</body>
</html>