diff --git a/mozilla/layout/html/document/src/html.css b/mozilla/layout/html/document/src/html.css
index 050245a43be..fef63276eeb 100644
--- a/mozilla/layout/html/document/src/html.css
+++ b/mozilla/layout/html/document/src/html.css
@@ -1227,6 +1227,13 @@ sourcetext { /* XXX should not be in HTML namespace */
padding: 0px;
float: inherit;
position: inherit;
+ top: inherit;
+ right: inherit;
+ bottom: inherit;
+ left: inherit;
+ z-index: inherit;
+ clip: inherit;
+ opacity: inherit;
width: 0px; /* hack for boxes */
height: 0px; /* hack for boxes */
}
diff --git a/mozilla/layout/style/html.css b/mozilla/layout/style/html.css
index 050245a43be..fef63276eeb 100644
--- a/mozilla/layout/style/html.css
+++ b/mozilla/layout/style/html.css
@@ -1227,6 +1227,13 @@ sourcetext { /* XXX should not be in HTML namespace */
padding: 0px;
float: inherit;
position: inherit;
+ top: inherit;
+ right: inherit;
+ bottom: inherit;
+ left: inherit;
+ z-index: inherit;
+ clip: inherit;
+ opacity: inherit;
width: 0px; /* hack for boxes */
height: 0px; /* hack for boxes */
}