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-decorating-box-002.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>A propagated underline is not repeated by a vertical-align'd child that is itself a decorating box</title>
<link rel="match" href="reference/text-decoration-decorating-box-002-ref.html">
<style>
div {
font-family: Monospace;
font-size: 100px;
text-decoration: underline green;
}
span {
vertical-align: top;
text-decoration: overline transparent;
font-size: 50px;
}
</style>
<div>
x<span>x</span>
</div>