Index: Source/core/html/HTMLTableElement.cpp |
diff --git a/Source/core/html/HTMLTableElement.cpp b/Source/core/html/HTMLTableElement.cpp |
index f5cb2e53a56cf65a0cceb49c975f05bd6c1a73bd..3f224d6bff8197a26b02790803fd6debf4aad32d 100644 |
--- a/Source/core/html/HTMLTableElement.cpp |
+++ b/Source/core/html/HTMLTableElement.cpp |
@@ -304,12 +304,8 @@ void HTMLTableElement::collectStyleForPresentationAttribute(const QualifiedName& |
addHTMLLengthToStyle(style, CSSPropertyBorderSpacing, value); |
} else if (name == vspaceAttr) { |
UseCounter::countDeprecation(document(), UseCounter::HTMLTableElementVspace); |
- addHTMLLengthToStyle(style, CSSPropertyMarginTop, value); |
- addHTMLLengthToStyle(style, CSSPropertyMarginBottom, value); |
} else if (name == hspaceAttr) { |
UseCounter::countDeprecation(document(), UseCounter::HTMLTableElementHspace); |
- addHTMLLengthToStyle(style, CSSPropertyMarginLeft, value); |
- addHTMLLengthToStyle(style, CSSPropertyMarginRight, value); |
} else if (name == alignAttr) { |
if (!value.isEmpty()) { |
if (equalIgnoringCase(value, "center")) { |