diff --git a/mozilla/layout/html/document/src/quirk.css b/mozilla/layout/html/document/src/quirk.css
index fc5fd523b24..d0501fc2a0b 100644
--- a/mozilla/layout/html/document/src/quirk.css
+++ b/mozilla/layout/html/document/src/quirk.css
@@ -237,7 +237,7 @@ pre[wrap], pre[cols], pre[width] {
font-size: 1px;
line-height: 0;
content: "\A ";
- margin-right: 40px;
+ -moz-margin-end: 40px;
}
@@ -245,7 +245,7 @@ pre[wrap], pre[cols], pre[width] {
dl > dl {
display: block;
- margin-left: 40px;
+ -moz-margin-start: 40px;
}
diff --git a/mozilla/layout/style/quirk.css b/mozilla/layout/style/quirk.css
index fc5fd523b24..d0501fc2a0b 100644
--- a/mozilla/layout/style/quirk.css
+++ b/mozilla/layout/style/quirk.css
@@ -237,7 +237,7 @@ pre[wrap], pre[cols], pre[width] {
font-size: 1px;
line-height: 0;
content: "\A ";
- margin-right: 40px;
+ -moz-margin-end: 40px;
}
@@ -245,7 +245,7 @@ pre[wrap], pre[cols], pre[width] {
dl > dl {
display: block;
- margin-left: 40px;
+ -moz-margin-start: 40px;
}