Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-overflow/line-clamp/line-clamp-043-crash.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Line clamped containers do not crash when font-size: 0 is used</title>
<link rel="author" title="Seva Alipov" href="mailto:salipov@mozilla.com">
<style>
.clamp {
line-clamp: auto 1;
font-size: 0;
}
</style>
<div class="clamp">
<br>
<br>
</div>