summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-width/min-width.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/table-width/min-width.html')
-rw-r--r--layout/reftests/table-width/min-width.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/reftests/table-width/min-width.html b/layout/reftests/table-width/min-width.html
new file mode 100644
index 000000000..8b1551001
--- /dev/null
+++ b/layout/reftests/table-width/min-width.html
@@ -0,0 +1,19 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+<title>Test that cellpadding, cellspacing, border, etc., don't break table sizing.</title>
+<style type="text/css">
+
+table, td {
+ border: none;
+ margin: 0;
+ padding: 0;
+ border-spacing: 0;
+}
+
+</style>
+</head>
+<body>
+<table width="1"><tr><td>This is some text.</td></tr></table>
+</body>
+</html>