diff --git a/layout/html/document/src/html.css b/layout/html/document/src/html.css
index d68491b8d140..4298843244e6 100644
--- a/layout/html/document/src/html.css
+++ b/layout/html/document/src/html.css
@@ -151,12 +151,6 @@ table {
margin-bottom: 0;
box-sizing: border-box;
}
-table[align=left] {
- margin-right: 4px;
-}
-table[align=right] {
- margin-left: 4px;
-}
/* must never set padding in td, th */
td, th {
@@ -417,13 +411,6 @@ br {
img {
display: inline;
}
-/* note: not exactly 4.x compatible; 4.x has 3px for *both* margins */
-img[align=left] {
- margin-right: 4px;
-}
-img[align=right] {
- margin-left: 4px;
-}
:link img, :visited img, :out-of-date img,
:link:active img, :visited:active img, :out-of-date:active img,
img[usemap], object[usemap] {
diff --git a/layout/style/html.css b/layout/style/html.css
index d68491b8d140..4298843244e6 100644
--- a/layout/style/html.css
+++ b/layout/style/html.css
@@ -151,12 +151,6 @@ table {
margin-bottom: 0;
box-sizing: border-box;
}
-table[align=left] {
- margin-right: 4px;
-}
-table[align=right] {
- margin-left: 4px;
-}
/* must never set padding in td, th */
td, th {
@@ -417,13 +411,6 @@ br {
img {
display: inline;
}
-/* note: not exactly 4.x compatible; 4.x has 3px for *both* margins */
-img[align=left] {
- margin-right: 4px;
-}
-img[align=right] {
- margin-left: 4px;
-}
:link img, :visited img, :out-of-date img,
:link:active img, :visited:active img, :out-of-date:active img,
img[usemap], object[usemap] {