diff --git a/mozilla/layout/html/document/src/ua.css b/mozilla/layout/html/document/src/ua.css
index e8c389df07a..200ea05d9d9 100644
--- a/mozilla/layout/html/document/src/ua.css
+++ b/mozilla/layout/html/document/src/ua.css
@@ -25,8 +25,12 @@ BODY {
cursor: default;
display: block;
line-height: normal;
+
+//XXX Note: see the code in nsHTMLBodyElement that hacks away at the padding
+//XXX when body margin attributes are used
//XXX not yet... margin: 8px;
padding: 8px;
+
overflow: auto;
}
diff --git a/mozilla/layout/style/ua.css b/mozilla/layout/style/ua.css
index e8c389df07a..200ea05d9d9 100644
--- a/mozilla/layout/style/ua.css
+++ b/mozilla/layout/style/ua.css
@@ -25,8 +25,12 @@ BODY {
cursor: default;
display: block;
line-height: normal;
+
+//XXX Note: see the code in nsHTMLBodyElement that hacks away at the padding
+//XXX when body margin attributes are used
//XXX not yet... margin: 8px;
padding: 8px;
+
overflow: auto;
}