summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-width/shrink-wrap-avail.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/table-width/shrink-wrap-avail.html')
-rw-r--r--layout/reftests/table-width/shrink-wrap-avail.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/layout/reftests/table-width/shrink-wrap-avail.html b/layout/reftests/table-width/shrink-wrap-avail.html
new file mode 100644
index 0000000000..a979a70326
--- /dev/null
+++ b/layout/reftests/table-width/shrink-wrap-avail.html
@@ -0,0 +1,30 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<title>Shrink-wrapping of tables</title>
+<style type="text/css">
+
+table, td {
+ border: none;
+ margin: 0;
+ padding: 0;
+ border-spacing: 0;
+}
+
+span {
+ display: inline-block;
+ width: 50px;
+ background: yellow;
+ color: black;
+}
+
+</style>
+</head>
+<body>
+
+<div style="width: 100px"><table><tr>
+<td style="background:aqua;color:aqua"><span>x</span>&#x200b;<span>x</span>&#x200b;<span>x</span>&#x200b;<span>x</span></td>
+</tr></table></div>
+
+</body>
+</html>