diff --git a/mozilla/layout/html/document/src/ua.css b/mozilla/layout/html/document/src/ua.css
index 885a5801adb..5741c37e59b 100644
--- a/mozilla/layout/html/document/src/ua.css
+++ b/mozilla/layout/html/document/src/ua.css
@@ -288,6 +288,13 @@ NOBR {
display: inline;
white-space: nowrap;
}
+LEGEND {
+ display: none;
+}
+FIELDSET {
+ display: inline;
+ border: inset 2px white;
+}
// Lists
diff --git a/mozilla/layout/style/ua.css b/mozilla/layout/style/ua.css
index 885a5801adb..5741c37e59b 100644
--- a/mozilla/layout/style/ua.css
+++ b/mozilla/layout/style/ua.css
@@ -288,6 +288,13 @@ NOBR {
display: inline;
white-space: nowrap;
}
+LEGEND {
+ display: none;
+}
+FIELDSET {
+ display: inline;
+ border: inset 2px white;
+}
// Lists