Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /html/rendering/non-replaced-elements/tables/table-cell-nowrap-with-fixed-width.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="match" href="table-cell-nowrap-with-fixed-width-ref.html">
<title>A td element with the nowrap attribute should unconditionally apply white-space:nowrap</title>
<style>
table { border-spacing: 0; }
td { width: 10px; padding: 0; }
div { display: inline-block; background: green; width: 50px; height: 100px; }
</style>
<table>
<td nowrap>
<div></div><div></div>
</td>
</table>