diff --git a/layout/html/document/src/html.css b/layout/html/document/src/html.css
index 5ec44b9ff7c1..a000c7b7be3d 100644
--- a/layout/html/document/src/html.css
+++ b/layout/html/document/src/html.css
@@ -358,6 +358,10 @@ img[usemap], object[usemap] {
-moz-user-focus: normal;
}
+object, embed, applet {
+ -moz-user-focus: normal;
+}
+
frameset {
display: block ! important;
overflow: hidden;
diff --git a/layout/style/html.css b/layout/style/html.css
index 5ec44b9ff7c1..a000c7b7be3d 100644
--- a/layout/style/html.css
+++ b/layout/style/html.css
@@ -358,6 +358,10 @@ img[usemap], object[usemap] {
-moz-user-focus: normal;
}
+object, embed, applet {
+ -moz-user-focus: normal;
+}
+
frameset {
display: block ! important;
overflow: hidden;