diff --git a/mozilla/layout/html/document/src/html.css b/mozilla/layout/html/document/src/html.css
index 1942b5a05b8..8421e0cdaaa 100644
--- a/mozilla/layout/html/document/src/html.css
+++ b/mozilla/layout/html/document/src/html.css
@@ -39,7 +39,7 @@
/* blocks */
-html, div, map, dt, isindex, :-moz-anonymous-block, :cell-content {
+html, div, map, dt, isindex, *|*:-moz-anonymous-block, *|*:cell-content {
display: block;
}
diff --git a/mozilla/layout/style/html.css b/mozilla/layout/style/html.css
index 1942b5a05b8..8421e0cdaaa 100644
--- a/mozilla/layout/style/html.css
+++ b/mozilla/layout/style/html.css
@@ -39,7 +39,7 @@
/* blocks */
-html, div, map, dt, isindex, :-moz-anonymous-block, :cell-content {
+html, div, map, dt, isindex, *|*:-moz-anonymous-block, *|*:cell-content {
display: block;
}