Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text-decor/text-decoration-thickness-from-zero-sized-font.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>text-decoration-thickness: from-font with zero sized font</title>
<meta name="assert" content="text-decoration-thickness: from-font with a zero size font does not crash">
<link rel="author" title="Stephen Chenney" href="mailto:schenney@chromium.org">
<link rel="match" href="../reference/blank.html">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style>
span {
font-size: 0px;
text-decoration: line-through;
text-decoration-thickness: from-font;
}
</style>
</head>
<body>
<span>This line has a zero sized font.</span>
</body>
</html>