Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(827)

Unified Diff: Source/core/html/HTMLTableElement.cpp

Issue 690993003: Remove the hspace/vspace attributes on table (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « LayoutTests/platform/win/fast/table/table-hspace-align-center-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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")) {
« no previous file with comments | « LayoutTests/platform/win/fast/table/table-hspace-align-center-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698