summaryrefslogtreecommitdiffstats
path: root/layout/reftests/table-width/pref-width.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/table-width/pref-width.html')
-rw-r--r--layout/reftests/table-width/pref-width.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/reftests/table-width/pref-width.html b/layout/reftests/table-width/pref-width.html
new file mode 100644
index 0000000000..738ffe973c
--- /dev/null
+++ b/layout/reftests/table-width/pref-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><tr><td>This is some text.</td></tr></table>
+</body>
+</html>