summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-width/shrink-wrap-avail-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/table-width/shrink-wrap-avail-ref.html')
-rw-r--r--layout/reftests/table-width/shrink-wrap-avail-ref.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/layout/reftests/table-width/shrink-wrap-avail-ref.html b/layout/reftests/table-width/shrink-wrap-avail-ref.html
new file mode 100644
index 000000000..c1ae41e95
--- /dev/null
+++ b/layout/reftests/table-width/shrink-wrap-avail-ref.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>
+
+<table><tr>
+<td style="background:aqua;color:aqua;width:100px"><span>x</span>&#x200b;<span>x</span>&#x200b;<span>x</span>&#x200b;<span>x</span></td>
+</tr></table>
+
+</body>
+</html>